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.
This commit is contained in:
parent
1425c46e20
commit
b32ef1d51e
@ -283,6 +283,10 @@ gst_pulsesrc_init (GstPulseSrc * pulsesrc, GstPulseSrcClass * klass)
|
|||||||
pulsesrc->mixer = NULL;
|
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 */
|
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
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user