Perhaps this could be prototyped with an Android phone using a USB I/O device (e.g. Focusrite) and channel index masks for recording. I have not tested this recently, but I did in the past, and hopefully it should still work.
On Tuesday, February 26, 2019 at 10:11:59 AM UTC-8, Kushtrim Pacaj wrote: > > Adding support for 4 mic streams > Hi > > I'm looking to add support for 4 mic streams in AudioRecording for a > custom embedded device, so instead of getting strem like > LLRRLLRRLLRRLLRR, i'd get AABBCCDDAABBCCDD. > As far as I can tell, I need to modify AudioRecord (java+cpp) , > AudioFlinger , AudioPolicyConfig , tinyAlsa HAL in order to change > channel count , masks, and appropriate buffer sizes. Also obviously > the kernel driver should fill the buffer as requested by the > configuration. > > To do this I think is going to take me a long time, so I'm first looking to > see if there is something already written in which to base my work > into. > > Is there any custom ROM / AOSP fork / developer board BSP that has > implemented a similar feature ? > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com 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 android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.