mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 08:26:56 +00:00
The mixer frontend code can now make use of a proper system mixer mute toggle, if the audio output driver supports it. The consequence is that, if support is available, mplayer will no longer temporarily set the system volume to 0 if mute is enabled. Generally, the code now deals with the following combinations of available AO features: - software volume control forced by user (--softvol / soft_vol flag) => if enabled, never touch the "hardware" controls - "hardware"/driver volume control available (whether AOCONTROL_GET/SET_VOLUME works) => if not available, enable volume controls by enabling softvol - "hardware"/driver mute control (AOCONTROL_GET/SET_MUTE) => if not available, emulate by setting volume to 0 - whether the volume+mute controls are kept or not when the AO is closed (indicated by ao->no_persistent_volume) => if not persistent, restore the volume/mute next time the AO is opened |
||
---|---|---|
.. | ||
ao_alsa5.c | ||
ao_alsa.c | ||
ao_arts.c | ||
ao_coreaudio.c | ||
ao_dart.c | ||
ao_dsound.c | ||
ao_esd.c | ||
ao_ivtv.c | ||
ao_jack.c | ||
ao_kai.c | ||
ao_mpegpes.c | ||
ao_nas.c | ||
ao_null.c | ||
ao_openal.c | ||
ao_oss.c | ||
ao_pcm.c | ||
ao_pulse.c | ||
ao_rsound.c | ||
ao_sdl.c | ||
ao_sgi.c | ||
ao_sun.c | ||
ao_v4l2.c | ||
ao_win32.c | ||
audio_out_internal.h | ||
audio_out.c | ||
audio_out.h |