obs-studio/libobs/audio-monitoring
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
..
null libobs: Add Pulseaudio audio monitoring support 2017-09-12 03:37:54 -07:00
osx audio-monitoring: Add ability to monitor Outputs 2017-04-05 18:58:08 -07:00
pulse linux-pulseaudio: Default sample format float32le 2018-01-08 19:31:09 +01:00
win32 libobs/media-io: Replace quad with 4.0 2018-01-05 09:48:52 -08:00