summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-08-06 13:00:59 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-08-06 13:03:13 +0200
commitb32ef1d51e7b944177554ec46f4509b514a32b95 (patch)
treee4dc398c0bcb74e8c6041522043b2a95422396b1 /ext
parent1425c46e206f7376ca870afddaea66fbf9f076fe (diff)
pulsesrc: set the default slave method to skew
Set the default slave method to the much better skew algorithm. This is the default in the new base class but we override this here as well for the upcomming release.
Diffstat (limited to 'ext')
-rw-r--r--ext/pulse/pulsesrc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c
index af26417f..86864072 100644
--- a/ext/pulse/pulsesrc.c
+++ b/ext/pulse/pulsesrc.c
@@ -283,6 +283,10 @@ gst_pulsesrc_init (GstPulseSrc * pulsesrc, GstPulseSrcClass * klass)
pulsesrc->mixer = NULL;
pulsesrc->probe = gst_pulseprobe_new (G_OBJECT (pulsesrc), G_OBJECT_GET_CLASS (pulsesrc), PROP_DEVICE, pulsesrc->server, FALSE, TRUE); /* FALSE for sinks, TRUE for sources */
+
+ /* this should be the default but it isn't yet */
+ gst_base_audio_src_set_slave_method (GST_BASE_AUDIO_SRC (pulsesrc),
+ GST_BASE_AUDIO_SRC_SLAVE_SKEW);
}
static void