[vlc-devel] [PATCH] mmdevice: use IAudioStreamVolume to change volume

Thomas Guillem thomas at gllm.fr
Fri Apr 6 17:45:00 CEST 2018



On Fri, Apr 6, 2018, at 17:39, Rémi Denis-Courmont wrote:
> Le perjantaina 6. huhtikuuta 2018, 16.48.01 EEST Thomas Guillem a écrit :
> > Since mmdevice doesn't respect the following ISimpleAudioVolume rule, cf 
> [1]:
> > > As an option, an application window can display a volume slider. The
> > > application slider should reflect the state of the corresponding Sndvol
> > > slider at all times.
> > > 
> > > To support this behavior, WASAPI implements the ISimpleAudioVolume
> > > interface. When the user moves the application slider, the application
> > > calls the ISimpleAudioVolume::SetMasterVolume method to adjust the
> > > session volume level accordingly.
> > 
> > We should then use the IAudioStreamVolume API, cf. [2]:
> 
> No effing way. Not the "my VLC is silent" support disaster again.

I already tested it. VLC always start with a session volume set to 100%. Users can still change it from SndVol sliders but it won't be saved for next VLC instance.

Is there an other way to have VLC silent ?

> 
> -- 
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list