Loopback audio capture on OS X and Windows

marcin at saepia.net marcin at saepia.net
Thu Apr 7 10:31:21 UTC 2016


It is not role for GStreamer. Loopback is something that should be done by
OS audio routing layer. On windows you can enable "stereo mix" virtual
soundcard or configure routing within WASAPI. On Linux PulseAudio provides
such monitoring for each output by default. I am not 100% sure but
CoreAudio on mac also has such features. Then you can grab the sound like
from any other soundcard.

In terms of stability: DirectSound on windows works fine, but you have to
use at least 1.8.0 to be able to select devices properly. It also has
limited functionality regarding audio type negotiation but this is
limitation of DirectSound itself. WASAPI which is far superior is unstable,
you can't use it in practice, yet (
https://bugzilla.gnome.org/show_bug.cgi?id=759389). On Mac OS X it
generally works fine, except that you cannot select a device in a reliable
way (https://bugzilla.gnome.org/show_bug.cgi?id=759558).

m.

2016-04-07 1:14 GMT+02:00 Kyrylo Polezhaiev <kirushyk at gmail.com>:

> Hello,
>
> I would like to capture sounds, played by other apps for subsequent
> processing / recording.
> Do we have ready-to-use GStreamer audio source elements capable of that?
>
> Cheers,
> - Kyrylo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160407/2aa779a7/attachment.html>


More information about the gstreamer-devel mailing list