Skip to contentSkip to conversation

Alsa sample code: Synchronised record and playback

DISCUSSION Edward Wildgoose 1 participant 1 message Jan 22, 2004

lore
Share & tools
lore
#0 lore raw

Does anyone have some rough sample code to do sample perfect recording and playback under alsa? Purpose is a program to do impulse response measurement of speakers and rooms.

In a similar vein, I can see how to play two channel sound through a device, but could someone please point me towards the relevant API's in order to interrogate the number of playback channels in the system?

Thanks

Ed W

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn