1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 00:19:32 +00:00

fix examples for ao_alsa options dialog and add example for mixer index.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13444 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-09-23 10:06:37 +00:00
parent 40e88dd7e4
commit 14ab0d65ab

View File

@ -1346,13 +1346,13 @@ GList *appendOSSMixerChannels(GList *l) {
#if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X) #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
GList *appendALSADevices(GList *l) { GList *appendALSADevices(GList *l) {
l = g_list_append(l, (gpointer)"default"); l = g_list_append(l, (gpointer)"default");
l = g_list_append(l, (gpointer)"hw#0.0"); 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.1");
l = g_list_append(l, (gpointer)"hw#0.2"); l = g_list_append(l, (gpointer)"hw=0.2");
l = g_list_append(l, (gpointer)"surround40"); l = g_list_append(l, (gpointer)"surround40");
l = g_list_append(l, (gpointer)"surround51"); l = g_list_append(l, (gpointer)"surround51");
l = g_list_append(l, (gpointer)"plug:surround40"); l = g_list_append(l, (gpointer)"plug=surround40");
l = g_list_append(l, (gpointer)"plug:surround51"); l = g_list_append(l, (gpointer)"plug=surround51");
return l; return l;
} }
@ -1365,6 +1365,7 @@ GList *appendALSAMixerChannels(GList *l) {
l = g_list_append(l, (gpointer)"Master"); l = g_list_append(l, (gpointer)"Master");
l = g_list_append(l, (gpointer)"Line"); l = g_list_append(l, (gpointer)"Line");
l = g_list_append(l, (gpointer)"PCM"); l = g_list_append(l, (gpointer)"PCM");
l = g_list_append(l, (gpointer)"PCM,1");
return l; return l;
} }
#endif #endif