loopback (playback captured data)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux