I need to create a virtual ALSA card, visible as a device with single capture interface, which I could configure for particular data format and sampling frequency, and then feed it with the data produced in the real time by another process.
The important requirement is that the latency should be as low as possible.
Has anybody solved similar problem, and could suggest the right solution?
Update
I have found two solutions which may be good templates:
- The ALSA snd-aloop driver
- The ALSA snd-minivosc virtual oscilator
I hav yet to evaluate their applicability to my problem.