obs-studio/plugins/linux-pulseaudio
Tjienta Vara 8f6d048817 linux-pulseaudio: Default sample format float32le
This pull request changes the fallback sample format for pulse-audio
to from PA_SAMPLE_S16LE to PA_SAMPLE_FLOAT32LE.

The pulseaudio plugin can handle the following sample format:
* PA_SAMPlE_U8
* PA_SAMPLE_S16LE
* PA_SAMPLE_S32LE
* PA_SAMPLE_FLOAT32LE

When an audio device advertises itself as another format, the pulseaudio-plugin
will ask pulse audio to convert to the fallback sample format.

The fallback PA_SAMPLE_S16LE is not ideal when your audio interface advertises
as PA_SAMPLE_S24LE since the conversion will lose precision.
With PA_SAMPLE_FLOAT32LE there is no precision loss and it is also equals OBS's
internal format.
2018-01-08 19:31:09 +01:00
..
data/locale Update translations from Crowdin 2017-08-10 16:07:40 +02:00
CMakeLists.txt linux-pulseaudio: Add include directory to cmake 2015-05-04 22:37:17 +02:00
linux-pulseaudio.c Remove macro to free locale 2014-07-27 17:29:10 -07:00
pulse-input.c linux-pulseaudio: Default sample format float32le 2018-01-08 19:31:09 +01:00
pulse-wrapper.c linux-pulseaudio: Use actual sink device names 2017-09-12 04:01:06 -07:00
pulse-wrapper.h linux-pulseaudio: Use actual sink device names 2017-09-12 04:01:06 -07:00