USB Microphone to I2S Output Port
by ph99004 from LinuxQuestions.org on (#5J4W0)
I am trying to build an audio bridge that will convert a USB microphone to a digital audio stream using I2S. This is being done using an NXP i.MX6 chip but I think the concept is similar to many configurations.
I am pretty new to Linux; however, I think what needs to be done is to build a .c application which is constantly watching the USB port for an active audio input source. Once one arrives, the record happens with the output playing back on the I2S port.
I am guessing that I will be (a) configuring the ALSA to handle the USB audio source, (b) wait for the USB audio to be detected, and (c) once detected, route the audio to the I2S interface routine.
Anybody do something like this before? Got any suggestions? I am not afraid of writing a little .c code either.
Thanks.
Phil


I am pretty new to Linux; however, I think what needs to be done is to build a .c application which is constantly watching the USB port for an active audio input source. Once one arrives, the record happens with the output playing back on the I2S port.
I am guessing that I will be (a) configuring the ALSA to handle the USB audio source, (b) wait for the USB audio to be detected, and (c) once detected, route the audio to the I2S interface routine.
Anybody do something like this before? Got any suggestions? I am not afraid of writing a little .c code either.
Thanks.
Phil