>No, dmix requires posix shared memory and Android doesn't support it.

This (http://gitorious.org/android-on-freerunner/platform_bionic/
commit/f7fc4a3c25d71017f8327563d182396e35a259cd) is the change which
we need to do to enable shared memory in android and then we need to
back port some changes which you did to eliminate shared memory support
(http://android.git.kernel.org/?p=platform/external/alsa-
lib.git;a=commitdiff;h=8cc17854263f1cd30e4ef852ae13a010ab170a2f).

DMIX is working for me and i am able to mix the streams:
alsa_aplay -D plug:DMIX some.wav | alsa_aplay -D plug:DMIX some1.wav

(If you don't agree then suppose the DMIX is supported by my platform
then how can i do the below thing)
I want to disable the AudioMixer.cpp code so that it doesn't do the
mixing and straight away pass the pcm samples to alsa.How can i do
it??

My other query can you please answer:
b.Can we use re-sampler code of alsa instead of android re-sampler?

Why this facility of alsa not exploited or given the OEM's some way to
use their own code if they have better re-sampler and mixer codes
available through ALSA?????
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to