From d8bc4c117289f3e7692e5bb730ad6b997bc8972b Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 11 Apr 2010 13:28:26 +0000 Subject: [PATCH] Use the extra gst audio conversion on all platforms --- src/engines/gstengine.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/engines/gstengine.cpp b/src/engines/gstengine.cpp index 6ad85fe13..19437243b 100644 --- a/src/engines/gstengine.cpp +++ b/src/engines/gstengine.cpp @@ -806,17 +806,11 @@ bool GstEngine::CreatePipeline() { gst_element_link_filtered(gst_audioconvert_, gst_equalizer_, caps); gst_caps_unref(caps); - /* link elements */ - #ifndef Q_OS_DARWIN - gst_element_link_many( gst_equalizer_, gst_identity_, gst_volume_, - gst_audioscale_, gst_audiosink_, NULL ); - #else // Add an extra audioconvert at the end as osxaudiosink supports only one format. GstElement* convert = CreateElement( "audioconvert", gst_audiobin_, "FFFUUUU" ); if (!convert) { return false; } gst_element_link_many( gst_equalizer_, gst_identity_, gst_volume_, gst_audioscale_, convert, gst_audiosink_, NULL ); - #endif gst_bin_add( GST_BIN(gst_pipeline_), gst_audiobin_);