[SOLVED] aout=mmdevice and mmdevice-volume require volume-save=0
Posted: 10 Dec 2019 17:32
Hi,
After many hours of trying and failing to set the audio output (aout) to "mmdevice", and to fix the volume with "mmdevice-volume" via the command line (in VLC 3.0.8 Vetinari, Windows 10), I discovered how to get it to work. If the setting "volume-save" in vlcrc is commented (as seems to be the default), or set to "1", these command-line options are ignored. It has to be uncommented and set to 0. This doesn't happen for any other audio output device or volume setting. I imagine it's related to this ticket:
[url]https://trac.videolan.org/vlc/ticket/19664#comment:1[/url]
I'm not clear whether this behaviour is a bug or "by design".
Using mmdevice seems to fix the bug whereby the last couple of seconds of files get chopped off, so I wanted to ensure that playback always uses that device.
After many hours of trying and failing to set the audio output (aout) to "mmdevice", and to fix the volume with "mmdevice-volume" via the command line (in VLC 3.0.8 Vetinari, Windows 10), I discovered how to get it to work. If the setting "volume-save" in vlcrc is commented (as seems to be the default), or set to "1", these command-line options are ignored. It has to be uncommented and set to 0. This doesn't happen for any other audio output device or volume setting. I imagine it's related to this ticket:
[url]https://trac.videolan.org/vlc/ticket/19664#comment:1[/url]
I'm not clear whether this behaviour is a bug or "by design".
Using mmdevice seems to fix the bug whereby the last couple of seconds of files get chopped off, so I wanted to ensure that playback always uses that device.