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. |
||
|---|---|---|
| .. | ||
| data/locale | ||
| CMakeLists.txt | ||
| linux-pulseaudio.c | ||
| pulse-input.c | ||
| pulse-wrapper.c | ||
| pulse-wrapper.h | ||