Enabling dual mics in mixer paths .xml file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Enabling dual mics in mixer paths .xml file

Paul Kalebu
I've set some tinymix configurations to capture input from two mics at once. I've tested it with tinycap and it works just fine. I've tried adding those configurations to the mixer paths file (mixer_paths_tasha.xml), but it doesn't seem to be working. 

Configurations:

<path name="dual-mic">

       <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />

       <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />

       <ctl name="SLIM TX7 MUX" value="DEC7" />

       <ctl name="ADC MUX7" value="DMIC" />

       <ctl name="DMIC MUX7" value="DMIC0" />

       <ctl name="SLIM TX8 MUX" value="DEC8" />

       <ctl name="ADC MUX8" value="DMIC" />

       <ctl name="DMIC MUX8" value="DMIC5" />

       <ctl name="SLIM_0_TX Channels" value="Two" />

       <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />

</path>




Does anyone know how I can go about setting up dual mic input for an app running on Android through the mixer paths .xml file? If that's not possible is there another alternative?


--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Enabling dual mics in mixer paths .xml file

Tranphong Vu
Hi my friend,
You need to check your mixer file. Use tinymix to check the work of your configuration file. If it work with tinymix configuration it should work with your configuration file, Android framework does not effects this. This happens in kernel layer. With my experience your mixer configuration is applied before the other so it does not work as u want.

Vào Th 2, 4 thg 2, 2019 lúc 22:09 Paul Kalebu <[hidden email]> đã viết:
I've set some tinymix configurations to capture input from two mics at once. I've tested it with tinycap and it works just fine. I've tried adding those configurations to the mixer paths file (mixer_paths_tasha.xml), but it doesn't seem to be working. 

Configurations:

<path name="dual-mic">

       <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />

       <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />

       <ctl name="SLIM TX7 MUX" value="DEC7" />

       <ctl name="ADC MUX7" value="DMIC" />

       <ctl name="DMIC MUX7" value="DMIC0" />

       <ctl name="SLIM TX8 MUX" value="DEC8" />

       <ctl name="ADC MUX8" value="DMIC" />

       <ctl name="DMIC MUX8" value="DMIC5" />

       <ctl name="SLIM_0_TX Channels" value="Two" />

       <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />

</path>




Does anyone know how I can go about setting up dual mic input for an app running on Android through the mixer paths .xml file? If that's not possible is there another alternative?


--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Enabling dual mics in mixer paths .xml file

Paul Kalebu
Hi Tranphong,

The code I attached is from my mixer file. For some reason, the configurations aren't being set correctly when I try to capture audio. Is there another file I should be looking at? Would you happen to know which file reads the mixer paths .xml file?

On Tue, Feb 5, 2019 at 6:04 AM Tranphong Vu <[hidden email]> wrote:
Hi my friend,
You need to check your mixer file. Use tinymix to check the work of your configuration file. If it work with tinymix configuration it should work with your configuration file, Android framework does not effects this. This happens in kernel layer. With my experience your mixer configuration is applied before the other so it does not work as u want.

Vào Th 2, 4 thg 2, 2019 lúc 22:09 Paul Kalebu <[hidden email]> đã viết:
I've set some tinymix configurations to capture input from two mics at once. I've tested it with tinycap and it works just fine. I've tried adding those configurations to the mixer paths file (mixer_paths_tasha.xml), but it doesn't seem to be working. 

Configurations:

<path name="dual-mic">

       <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />

       <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />

       <ctl name="SLIM TX7 MUX" value="DEC7" />

       <ctl name="ADC MUX7" value="DMIC" />

       <ctl name="DMIC MUX7" value="DMIC0" />

       <ctl name="SLIM TX8 MUX" value="DEC8" />

       <ctl name="ADC MUX8" value="DMIC" />

       <ctl name="DMIC MUX8" value="DMIC5" />

       <ctl name="SLIM_0_TX Channels" value="Two" />

       <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />

</path>




Does anyone know how I can go about setting up dual mic input for an app running on Android through the mixer paths .xml file? If that's not possible is there another alternative?


--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.