[vlc-devel] [PATCH]Equalizer, support other sampling rates than 44100 and 48000

Ron Wright logiconcepts819 at gmail.com
Sun Mar 18 13:44:28 CET 2012


Hello.  I have modified the GUI so that instead of using a state change
slot to detect changes in the frequency bands, it uses a callback whenever
the secondary variable "equalizer-using-vlcfreqs" changes.  This variable,
of course, is needed, since the change in frequency bands is not applied
until the next playback, and the variable "equalizer-vlcfreqs" changes
whenever the user changes the bands setting in the preferences.  Thus, the
callback must listen to "equalizer-using-vlcfreqs" and not
"equalizer-vlcfreqs".  If it were to listen to "equalizer-vlcfreqs", we
could have the following situation which will lead to incorrect labels in
the GUI:  1) user opens VLC, 2) user starts playing a file, 3) user changes
the bands setting (while the file is playing), and 4) user opens the
extended controls window (while the file is playing).  Also, the workaround
for a bug requiring the labels to be "00.0 dB" initially has been put back
into the extended panels code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120318/c4561034/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Improve-equalizer-module.patch
Type: text/x-patch
Size: 7605 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120318/c4561034/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Improve-equalizer-gui.patch
Type: text/x-patch
Size: 5101 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120318/c4561034/attachment-0001.bin>


More information about the vlc-devel mailing list