[Alsa-user] loopback (playback captured data)
Brought to you by:
perex
From: Norbert v. B. <nvb...@ai...> - 2008-06-25 07:24:14
|
I would like to test an ALSA driver by capturing audio and immediately play the captured audio (loopback). It's an embedded driver and the still to be developed audio app will interface to the driver via ALSA-LIB. therefore I would like to do this with the simplest and smallest possible ALSA-LIB program. I tried making a program that continuously reads samples from capture stream and writes them to a playback stream (in a while loop), but it results in a capture underrun. Is it even possible this way (with one simple program/thread) ? Is there an existing (ALSA-LIB) application that does this ? thanks for any advice, N. van Bolhuis -------------- -- This message has been scanned for viruses and is believed to be clean |