Xover wrote:
> Background: I would like to implement real time DSP on audio files and
> streamed audio e.g. Spotify, played to a DAC with an asynchronous USB
> interface, using my own DSP code.

This should be done with an external filter plugin:
<http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___ext_plug.html>

Pretty much undocumented; for an example, see the speex plugin:
<http://git.alsa-project.org/?p=alsa-plugins.git;a=tree;f=speex;hb=HEAD>

> Ideally I would like an ALSA loopback driver that merely requests audio
> data from the audio player app in the same quantities as I request data
> from the loopback driver (with some buffering and a bit of latency
> obviously). Does such a driver exist?
>
> The nearest I am aware of is the snd-aloop driver, which runs at its own
> rate

It is intended to be used when there is no actual hardware device.


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to