Volume control in libwasapi doesn't work / crashes VLC on certain files
Using Win7 x64, VLC with default settings and only one settings change: "Always reset audio start level to: 0%" to start silent without hearable audio until I manually move the volume slider up.
Works in 2.0.x
Works in 2.1.x Win32 until vlc-2.1.0-git-20120516-0006-win32
Works in 2.1.x Win64 until vlc-2.1.0-git-20120515-0404-win64
Doesn't work in in 2.1.x Win32 starting with vlc-2.1.0-git-20120517-0004-win32
Doesn't work in in 2.1.x Win64 starting with vlc-2.1.0-git-20120516-0404-win64
Tested Win32 up to vlc-2.1.0-git-20120604-0003-win32
Tested Win64 up to vlc-2.1.0-git-20120530-0402-win64
Always cleared cache and settings between different builds
Issue with the non-working builds: Volume slider in VLC shows 0% on start (as I set this in settings) but sound is fully active and hearable at normal volume. On moving the volume slider or pressing the mute button in front I get a "Microsoft Visual V++ Runtime Library - This application has requested the Runtime to terminate in an unusual way. Please contact ..." crash in libwasapi_plugin.dll immediately.
Screenshot when trying with vlc-2.1.0-git-20120618-0402-win64.exe
http://www.harald-langhammer.de/vlccrash.gif
This happens with various files from different sources (audio stream mostly "mp4a") and with the following example I uploaded, a recorded dvb-s2 .ts transport stream which plays when I don't touch the volume slider. But then volume shows 0% but audio wrongly is fully hearable.
http://www.harald-langhammer.de/vlcsample.ts
When changing output from default (libwasapi) to DirectX volume control works as expected and file starts correctly muted and doesn't crash. It also seems to me that this doesn't happen with WMV or AVI files, only with MP4/H.264 files.
Info about the used system see here (in german): http://www.sysprofile.de/id20064
Must be related to https://trac.videolan.org/vlc/ticket/6858 because this issue appeared exactly at the same time.