added aacp as audio codec and adjusted some window size

This commit is contained in:
rafael@riseup.net 2011-04-07 03:55:32 +00:00
parent 8230ba3f37
commit d2d93a4577
4 changed files with 7 additions and 4 deletions

View File

@ -277,6 +277,8 @@ gboolean darksnow2darkice_cfg() {
fprintf(f_darkice_cfg, "aac");
else if (!strcmp( gettext("mp2"), format))
fprintf(f_darkice_cfg, "mp2");
else if (!strcmp( gettext("aacp"), format))
fprintf(f_darkice_cfg, "aacp");
}
fprintf(f_darkice_cfg, "\nbitrate = ");

View File

@ -20,6 +20,6 @@
#define __CONSTANTS_H__
/* the size of main window */
#define SIZE_X 450
#define SIZE_Y 465
#define SIZE_X 480
#define SIZE_Y 505

View File

@ -182,7 +182,7 @@ int main( int argc, char *argv[], char *envp[]) {
/* sets up the about dialog */
sprintf(bar, gettext("DarkSnow version: %s\nSoftware written by Rafael Diniz\nLicense: GNU Public License v2"),VERSION);
sprintf(bar, gettext("DarkSnow version: %s\nSoftware written by Rafael Diniz\nLicense: GNU Public License v3"),VERSION);
dialog_about = gtk_dialog_new ();
label_about = gtk_label_new ( bar );
button_about = gtk_button_new_with_label ( gettext("Close"));
@ -282,6 +282,7 @@ int main( int argc, char *argv[], char *envp[]) {
glist_format = g_list_append (glist_format, gettext("ogg/vorbis"));
glist_format = g_list_append (glist_format, gettext("aac"));
glist_format = g_list_append (glist_format, gettext("mp2"));
glist_format = g_list_append (glist_format, gettext("aacp"));
gtk_combo_set_popdown_strings (GTK_COMBO (combo_format), glist_format);

View File

@ -76,7 +76,7 @@ void dark_start( GtkWidget *widget, gpointer data) {
strcat(command, darkice_verbosity);
strcat(command," -c ");
strcat(command, darkice_cfg);
strcat(command," &> ");
strcat(command," > ");
strcat(command, darksnow_temp);