[vlc-commits] Remove 10 years old limitation of float32 to 2 channels or less in directsound

Denis Charmet git at videolan.org
Sun May 5 16:56:43 CEST 2013


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Sun May  5 16:55:58 2013 +0200| [0f64e733ae16403ba580eefc7fb4f425f4eaa452] | committer: Denis Charmet

Remove 10 years old limitation of float32 to 2 channels or less in directsound

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f64e733ae16403ba580eefc7fb4f425f4eaa452
---

 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 0bddb20..32cdf84 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 )



More information about the vlc-commits mailing list