[vlc-commits] [Git][videolan/vlc][master] aout: dec: allow up to 768khz sample rate

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Feb 4 06:16:57 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
2d3c2254 by Tristan Matthews at 2023-02-04T05:59:31+00:00
aout: dec: allow up to 768khz sample rate

Refs #22966

Only tested with sout to wav (playback with pulse does not work here as is).

- - - - -


1 changed file:

- src/audio_output/dec.c


Changes:

=====================================
src/audio_output/dec.c
=====================================
@@ -233,7 +233,7 @@ vlc_aout_stream * vlc_aout_stream_New(audio_output_t *p_aout,
         }
     }
 
-    if( p_format->i_rate > 384000 )
+    if( p_format->i_rate > 768000 )
     {
         msg_Err( p_aout, "excessive audio sample frequency (%u)",
                  p_format->i_rate );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2d3c2254d7202b304096deb8f35757aa73cf0445

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2d3c2254d7202b304096deb8f35757aa73cf0445
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list