[Bug 797345] New: wasapisrc - does not drain devices of buffers when reading leading to dropped audio

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Oct 27 16:10:48 UTC 2018


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

            Bug ID: 797345
           Summary: wasapisrc - does not drain devices of buffers when
                    reading leading to dropped audio
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: Florian.P.Nierhaus at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 374068
  --> https://bugzilla.gnome.org/attachment.cgi?id=374068&action=edit
patch for wasapi against master

There are a few issues with the buffer handling:

* we sometimes get notified when smaller number of frames are provided by the
driver - in this case we need to buffer and wait so gstreamer gets the expected
size
* we sometimes get multiple buffers with one notification and we need to save
that and return that the next cycle as to not have audio gaps -
https://blogs.msdn.microsoft.com/matthew_van_eerde/2014/11/05/draining-the-wasapi-capture-buffer-fully/
* not clearing the audio buffer on some devices on the notification / partial
sizes confuses some devices

-- 
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