819d90e9b0
After the audio provider rework, adjust the audio players to not use the int16 mono downmixed audio unless necessary. Furthermore, the pulseaudio-based player now controls the volume directly through pulseaudio instead of by modifying the buffer. This also reduces latency when changing the volume. The entire set of GetAudio functions is quite messy now. After wangqr's audio rework, it was split into GetAudio and GetInt16MonoAudio functions, but now volume scaling is also necessary. Really, this should go back to a type constructor based system with audio players being allowed to choose what properties out of mono / 16 bytes / int samples / volume they need. |
||
---|---|---|
.. | ||
provider.cpp | ||
provider_convert.cpp | ||
provider_dummy.cpp | ||
provider_hd.cpp | ||
provider_lock.cpp | ||
provider_pcm.cpp | ||
provider_ram.cpp |