changeset 9141:20793317e5ff

nice 10l bug, found by Balatoni Denes <pnis@coder.hu>
author arpi
date Tue, 28 Jan 2003 17:25:53 +0000
parents afd854c74646
children a540a2632da1
files libao2/ao_oss.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_oss.c	Tue Jan 28 17:16:23 2003 +0000
+++ b/libao2/ao_oss.c	Tue Jan 28 17:25:53 2003 +0000
@@ -166,6 +166,7 @@
 	mp_msg(MSGT_AO,MSGL_ERR,"audio_setup: Failed to set audio device to %d channels\n", ao_data.channels);
 	return 0;
       }
+      ao_data.channels=c+1;
     }
     mp_msg(MSGT_AO,MSGL_V,"audio_setup: using %d channels (requested: %d)\n", ao_data.channels, channels);
     // set rate