[android-porting] Re: problem for snd_pcm_open in alsa porting

2009-03-21 Thread Sean McNeil
You need to create an appropriate asound.conf. It goes into /system/etc/. liaojunsh...@gmail.com wrote: > Hi, all, > > in AudioHardwareALSA.cpp, look at the function ALSAStreamOps::open(int > mode, int device) , when i need to do routing to earpiece, headset, or > other output device. > > functio

[android-porting] Re: problem for snd_pcm_open in alsa porting

2009-03-23 Thread 廖军生
hi Sean, I have read about asound.conf file, but I don't know how to make sure that the sound will output to the appointed device, such as headset. Could you give me example for the asound.conf according to android device name? Thanks ! 2009/3/21 Sean McNeil > > You need to create an appropriate