Jim Elliott

Audio In/Out API iMX53QSB

Discussion created by Jim Elliott on Jan 28, 2012
Latest reply on Jan 30, 2012 by Jim Elliott

Hello all, this is my first post here, so please take it easy on me :)


Before I begin I just want to start by saying that this is the first time I've ever tried to program an embedded device outside of a simple 8bit PIC using assembly. I do have C programming experience but it is all been middle-ware, network, web, and database type stuff.


So, now that that is out of the way. I would like to write a C/C++ program that grabs audio from the Audio In (microphone) port, processes that data, and then sends it back out the Audio Out (headphones) port. How do I go about doing that - specifically the hardware Audio In/Out part? Is there an API associated with that? How do I address those ports?


And in case it wasn't clear by the 'Discussion Title' I am using the iMX53QSB with whatever version of Ubuntu that ships with newest boards....


Any advice would be greatly appreciated.