auto
This commit is contained in:
parent
9d94540d0a
commit
05f0f68b4f
@ -47,7 +47,7 @@ class PMediaPlayer:
|
|||||||
|
|
||||||
def _build_pitch_filter(self, rate: float):
|
def _build_pitch_filter(self, rate: float):
|
||||||
pitch = Gst.ElementFactory.make("pitch", "pitch")
|
pitch = Gst.ElementFactory.make("pitch", "pitch")
|
||||||
pitch.set_property("pitch", 1.0) # Keep pitch constant
|
# pitch.set_property("pitch", 1.0) # Keep pitch constant
|
||||||
pitch.set_property("rate", rate)
|
pitch.set_property("rate", rate)
|
||||||
|
|
||||||
bin = Gst.Bin.new("filter_bin")
|
bin = Gst.Bin.new("filter_bin")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user