From 0f64e733ae16403ba580eefc7fb4f425f4eaa452 Mon Sep 17 00:00:00 2001 From: Denis Charmet <typx@dinauz.org> Date: Sun, 5 May 2013 16:55:58 +0200 Subject: [PATCH] Remove 10 years old limitation of float32 to 2 channels or less in directsound --- modules/audio_output/directx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c index 0bddb20a8bfc..32cdf840e0b1 100644 --- a/modules/audio_output/directx.c +++ b/modules/audio_output/directx.c @@ -619,9 +619,7 @@ static int CreateDSBufferPCM( audio_output_t *p_aout, vlc_fourcc_t *i_format, { unsigned i_nb_channels = popcount( i_channels ); - /* Float32 audio samples are not supported for 5.1 output on the emu101k */ if( !var_GetBool( p_aout, "directx-audio-float32" ) || - i_nb_channels > 2 || CreateDSBuffer( p_aout, VLC_CODEC_FL32, i_channels, i_nb_channels, i_rate, b_probe ) != VLC_SUCCESS ) -- GitLab