gstreamer/sys/wasapi
Nirbheek Chauhan 6cbff552fe wasapisrc: Fix capturing from some buggy audio drivers
Some audio drivers return varying amounts of data per ::GetBuffer
call, instead of following the device period that they've told us
about in `src_prepare()`.

Previously, we would just drop those extra buffers hoping that the
extra buffers were temporary (f.ex., a startup 'burst' of audio data).
However, it seems that some audio drivers, particularly on older
Windows versions (such as Windows 10 1703 and older) consistently
return varying amounts of data.

Use GstAdapter to smooth that out, and hope that the audio driver is
locally varying but globally periodic.

Initially reported in https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/808
2019-11-28 08:59:41 +00:00
..
gstaudioclient3.h wasapi: Fix build with Windows 8.1 SDK 2018-08-08 01:03:53 +05:30
gstwasapi.c wasapi: Increase rank to prefer over directsoundsrc 2018-03-01 15:33:18 +05:30
gstwasapidevice.c wasapi: Don't cast GstDeviceProvider to GstElement 2019-10-14 14:43:59 +00:00
gstwasapidevice.h wasapi: Fix indentation issues missed by the commit hook 2018-02-08 11:46:01 +05:30
gstwasapisink.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstwasapisink.h wasapi: Remove code that sets thread priority 2018-09-11 01:00:21 +05:30
gstwasapisrc.c wasapisrc: Fix capturing from some buggy audio drivers 2019-11-28 08:59:41 +00:00
gstwasapisrc.h wasapisrc: Fix capturing from some buggy audio drivers 2019-11-28 08:59:41 +00:00
gstwasapiutil.c wasapisrc: Fix glitching and clock skew issues 2019-11-28 08:59:41 +00:00
gstwasapiutil.h wasapi: Don't cast GstDeviceProvider to GstElement 2019-10-14 14:43:59 +00:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00