aboutsummaryrefslogtreecommitdiffstats
path: root/agl_service_voiceagent/utils/audio_recorder.py
diff options
context:
space:
mode:
Diffstat (limited to 'agl_service_voiceagent/utils/audio_recorder.py')
-rw-r--r--agl_service_voiceagent/utils/audio_recorder.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/agl_service_voiceagent/utils/audio_recorder.py b/agl_service_voiceagent/utils/audio_recorder.py
index 2e8f11d..49716c9 100644
--- a/agl_service_voiceagent/utils/audio_recorder.py
+++ b/agl_service_voiceagent/utils/audio_recorder.py
@@ -66,6 +66,9 @@ class AudioRecorder:
self.pipeline = Gst.Pipeline()
autoaudiosrc = Gst.ElementFactory.make("autoaudiosrc", None)
queue = Gst.ElementFactory.make("queue", None)
+ queue.set_property("max-size-buffers", 0)
+ queue.set_property("max-size-bytes", 0)
+ queue.set_property("max-size-time", 0)
audioconvert = Gst.ElementFactory.make("audioconvert", None)
wavenc = Gst.ElementFactory.make("wavenc", None)