* modules/audio_output/portaudio.c: make stereo the default.
authorGildas Bazin <gbazin@videolan.org>
Tue, 2 Nov 2004 09:19:19 +0000 (09:19 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 2 Nov 2004 09:19:19 +0000 (09:19 +0000)
modules/audio_output/portaudio.c

index 5569b9b..8e60415 100644 (file)
@@ -355,6 +355,7 @@ static int PAOpenDevice( aout_instance_t *p_aout )
                         &val, &text );
             var_Change( p_aout, "audio-device", VLC_VAR_SETDEFAULT,
                         &val, NULL );
+            var_Set( p_aout, "audio-device", val );
             msg_Dbg( p_aout, "device supports 2 channels" );
         }
         if( p_sys->deviceInfo->maxOutputChannels >= 4 )