Fix pipeline wit direct output to ALSA
In the new version of gstreamer, alsasink supports floating samples, so it seems to be bypassing audioconvert. Integer samples make downmixing work correctly.
This commit is contained in:
parent
3fc6208248
commit
41d323332a
@ -418,7 +418,7 @@ bool GstEnginePipeline::Init() {
|
||||
|
||||
// Ensure that the audio output of the tee does not autonegotiate to 16 bit
|
||||
GstCaps* caps = gst_caps_new_simple("audio/x-raw", "format", G_TYPE_STRING,
|
||||
"F32LE", NULL);
|
||||
"S32LE", NULL);
|
||||
|
||||
// Add caps for fixed sample rate and mono, but only if requested
|
||||
if (sample_rate_ != GstEngine::kAutoSampleRate && sample_rate_ > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user