[Bug 793289] wasapi: Several improvements to latency and glitch-free playback

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 8 06:34:50 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793289

--- Comment #5 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
Created attachment 368126
  --> https://bugzilla.gnome.org/attachment.cgi?id=368126&action=edit
wasapi: Try to use latency-time and buffer-time

So far, we have been completely discarding the values of latency-time
and buffer-time and trying to always open the device in the lowest
latency mode possible. However, sometimes this is a bad idea:

1. When we want to save power/CPU and don't want low latency
2. When the lowest latency setting causes glitches
3. Other audio-driver bugs

Now we will try to follow the user-set values of latency-time and
buffer-time in shared mode, and only latency-time in exclusive mode (we
have no control over the hardware buffer size, and there is no use in
setting GstAudioRingBuffer size to something larger).

The elements will still try to open the devices in the lowest latency
mode possible if you set the "low-latency" property to "true".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list