]> git.sesse.net Git - vlc/commit
audio output must be reset if the format or channels mask changes
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Mar 2012 20:02:42 +0000 (22:02 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Mar 2012 20:02:42 +0000 (22:02 +0200)
commit3e98c8e266ed3279970e4d6842f0ea2496a3ce9a
tree763f8913b28f00bb370c840241b7b153a30a9360
parentc8961f3a00b3754fe69ad6267fce06133915b589
audio output must be reset if the format or channels mask changes

The check would only reset the output if the sample rate or the
bandwidth changed. For example a switch from 16-bits stereo to
32-bits mono would be undetected. Fortunately, this probably never
happened in practice.
src/input/decoder.c