Merge pull request #5397 from TheUbuntuGuy/master

Fix pipeline with direct output to ALSA
This commit is contained in:
John Maguire 2016-06-06 12:09:25 +01:00
commit ed26a7fb64
1 changed files with 1 additions and 1 deletions

View File

@ -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) {