Mercurial > mplayer.hg
changeset 9194:d4df8b78bfc6
again ...
author | pontscho |
---|---|
date | Sat, 01 Feb 2003 09:36:25 +0000 |
parents | 101a844d6995 |
children | bb4ae7a49e33 |
files | Gui/mplayer/gtk/opts.c |
diffstat | 1 files changed, 14 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c Sat Feb 01 09:08:08 2003 +0000 +++ b/Gui/mplayer/gtk/opts.c Sat Feb 01 09:36:25 2003 +0000 @@ -1391,10 +1391,20 @@ CBOssMixer=AddComboBox( NULL ); gtk_table_attach( GTK_TABLE( table2 ),CBOssMixer,1,2,1,2,(GtkAttachOptions)( GTK_EXPAND | GTK_FILL ),(GtkAttachOptions)( 0 ),0,0 ); CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer" ); - CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer0" ); - CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer1" ); - CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer2" ); - CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer3" ); + if ( gtkAOOSSMixer && !strncmp( gtkAOOSSMixer,"/dev/sound",10 ) ) + { + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/sound/mixer0" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/sound/mixer1" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/sound/mixer2" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/sound/mixer3" ); + } + else + { + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer0" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer1" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer2" ); + CBOssMixer_items=g_list_append( CBOssMixer_items,(gpointer)"/dev/mixer3" ); + } gtk_combo_set_popdown_strings( GTK_COMBO( CBOssMixer ),CBOssMixer_items ); g_list_free( CBOssMixer_items );