This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP4460 Blaze tablet MIC settings

hi all,

I am working on OMAP4460 Blaze tablet running android ICS 4AI.1.7.

I wanted to know if multichannel (>2) audio capture is possible on Blaze tablet. There is stereo capture. During capture (or loopback) i am able to change the mic sources through the tinymixer application (by changing MUX_UL11 and MUX_UL10 settings). I wanted to if more than two channels (parallel) capture is possible or not. If yes... can it be configured through tinymixer application ?

Thanks in Advance.

Regards,

Shrish

  • Hi Shrish,

    Yes, it is possible, but tinymix is used to set the audio paths, gains, etc, in order to record multichannel you have to specify that at the moment to open the pcm stream, that would be done in the tinycap application that is used for recording.

  • hi Israel Cepeda,

    Thanks for the reply.

    I am trying to capture audio through the tinycap application.

    I get the following error:

    "[  490.430999]  SDP4430 Media Capture: asoc: SDP4430 Media Capture no valid capture route from source to sink Capturing sample[  490.442687]  SDP4430 Media Capture: dsp: no backend DAIs enabled for SDP4430 Media Capture : 2 ch, 48000 hz, 16 bit Captured 0 frames"

    I believe i have to do some mixer settings before running the capture application. I visited the post here : http://e2e.ti.com/support/omap/f/849/t/201746.aspx , but the control Id numbers given in the post dont match with the one in my device..Can you please specify the Control names ,so that i can make the corresponding settings in my device as well. This will be of great help. Thanks in advance.

    Regards,

    Shrish

  • Hi Shrish,

    If you want to see all the available controls you can just run: tinymix

    Now with all the controls what you have to understand is how they are connected, for that the Audio Driver Architecture of the ABE will help: http://www.omappedia.org/images/a/a4/ASoC_ABE_controls.jpg

    From the image all the ports at left are the Front End ports (MM_UL, MM_UL, VX_UL, VX_DL, etc) and the ones at the right are the Back End ports (DMICs, BT_VX_UL, BT_VX_DL, etc), so when you try to open a FE port it has to find a path to a BE port. The error you are seeing is because it is not finding any, so it returns an error.

    What you have to do is with the controls returned by tinymix to set a path for the audio stream from a FE to a BE port, then open the port.

    ie to record from DMIC1 and DMIC2 usinf MM_UL port you would need to route the crossbar inputs from DMIC1 to go to the MUX_UL00/01 and DMIC2 to MUX_UL02/03, then open MM_UL port for 4 channels and start sending buffers. You may want to use something like: tinycap /data/file.wav -c 4

    Please let me know if there is something else I can help you with.

  • Hi Israel Cepeda,

    Thanks for the help,

    I have configured the MUX_UL00/01 to DMic0L and DMic0R. (From the ABE diagram , i believe thats the only setting i have to do).

    I give the following command in the console ::tinycap /data/Test_cap.wav -d 0 -c 2 -r 48000 -b 16 -C

    I get the following error "Unable to open PCM device (cannot set hw params: Invalid argument) Captured 0 frames"

    (Does plughw 00 correcponds to device 0?) All the param are valid. Can you figure out whats wrong ??

    Thanks in advance.

    Regards,

    Shrish 

  • Hi ,

    I firgured out the configuration change.

    the number of bits per sample must be 32 and not 16.

    tinycap /data/Test_cap.wav -d 0 -c 2 -r 48000 -b 32

    Regards,

    Shrish