changeset 13443:b1b8e4a38520

fix examples for ao_alsa options dialog and add example for mixer index.
author reimar
date Thu, 23 Sep 2004 10:06:37 +0000
parents fe8cd0af90b2
children be6618b65f78
files Gui/mplayer/gtk/opts.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c	Thu Sep 23 07:11:29 2004 +0000
+++ b/Gui/mplayer/gtk/opts.c	Thu Sep 23 10:06:37 2004 +0000
@@ -1346,13 +1346,13 @@
 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
 GList *appendALSADevices(GList *l) {
   l = g_list_append(l, (gpointer)"default");
-  l = g_list_append(l, (gpointer)"hw#0.0");
-  l = g_list_append(l, (gpointer)"hw#0.1");
-  l = g_list_append(l, (gpointer)"hw#0.2");
+  l = g_list_append(l, (gpointer)"hw=0.0");
+  l = g_list_append(l, (gpointer)"hw=0.1");
+  l = g_list_append(l, (gpointer)"hw=0.2");
   l = g_list_append(l, (gpointer)"surround40");
   l = g_list_append(l, (gpointer)"surround51");
-  l = g_list_append(l, (gpointer)"plug:surround40");
-  l = g_list_append(l, (gpointer)"plug:surround51");
+  l = g_list_append(l, (gpointer)"plug=surround40");
+  l = g_list_append(l, (gpointer)"plug=surround51");
   return l;
 }
 
@@ -1365,6 +1365,7 @@
   l = g_list_append(l, (gpointer)"Master");
   l = g_list_append(l, (gpointer)"Line");
   l = g_list_append(l, (gpointer)"PCM");
+  l = g_list_append(l, (gpointer)"PCM,1");
   return l;
 }
 #endif