added aacp as audio codec and adjusted some window size
This commit is contained in:
parent
8230ba3f37
commit
d2d93a4577
|
@ -277,6 +277,8 @@ gboolean darksnow2darkice_cfg() {
|
||||||
fprintf(f_darkice_cfg, "aac");
|
fprintf(f_darkice_cfg, "aac");
|
||||||
else if (!strcmp( gettext("mp2"), format))
|
else if (!strcmp( gettext("mp2"), format))
|
||||||
fprintf(f_darkice_cfg, "mp2");
|
fprintf(f_darkice_cfg, "mp2");
|
||||||
|
else if (!strcmp( gettext("aacp"), format))
|
||||||
|
fprintf(f_darkice_cfg, "aacp");
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(f_darkice_cfg, "\nbitrate = ");
|
fprintf(f_darkice_cfg, "\nbitrate = ");
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
#define __CONSTANTS_H__
|
#define __CONSTANTS_H__
|
||||||
|
|
||||||
/* the size of main window */
|
/* the size of main window */
|
||||||
#define SIZE_X 450
|
#define SIZE_X 480
|
||||||
#define SIZE_Y 465
|
#define SIZE_Y 505
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,7 @@ int main( int argc, char *argv[], char *envp[]) {
|
||||||
|
|
||||||
/* sets up the about dialog */
|
/* 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 ();
|
dialog_about = gtk_dialog_new ();
|
||||||
label_about = gtk_label_new ( bar );
|
label_about = gtk_label_new ( bar );
|
||||||
button_about = gtk_button_new_with_label ( gettext("Close"));
|
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("ogg/vorbis"));
|
||||||
glist_format = g_list_append (glist_format, gettext("aac"));
|
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("mp2"));
|
||||||
|
glist_format = g_list_append (glist_format, gettext("aacp"));
|
||||||
gtk_combo_set_popdown_strings (GTK_COMBO (combo_format), glist_format);
|
gtk_combo_set_popdown_strings (GTK_COMBO (combo_format), glist_format);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ void dark_start( GtkWidget *widget, gpointer data) {
|
||||||
strcat(command, darkice_verbosity);
|
strcat(command, darkice_verbosity);
|
||||||
strcat(command," -c ");
|
strcat(command," -c ");
|
||||||
strcat(command, darkice_cfg);
|
strcat(command, darkice_cfg);
|
||||||
strcat(command," &> ");
|
strcat(command," > ");
|
||||||
strcat(command, darksnow_temp);
|
strcat(command, darksnow_temp);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue