Hi Srikant,

It still shows the same error with following commands.
# stop media
# alsa_aplay -D hw:0,0 sample.wav
ALSA lib external/alsa-lib/src/confmisc.c:143:(snd_config_get_bool)
Invalid type for nonblock
ALSA lib external/alsa-lib/src/pcm/pcm_hw.c:1445:(_snd_pcm_hw_open)
Invalid type for subdevice
aplay: main:590: audio open error: Invalid argument


I still got below message from logcat. Is this mean media are not
stopped?
W/AudioSystem(  677): AudioPolicyService not published, waiting...
I/ServiceManager(  677): Waiting for sevice media.audio_policy...
I/ServiceManager(  677): Waiting for sevice media.audio_policy...
I/ServiceManager(  677): Waiting for sevice media.audio_policy...



On Mar 27, 2:27 am, Srikant <[email protected]> wrote:
> Hi,
>
> Try doing:
>
> #stop media
>
> before alsa_aplay.
>
> -
>
> On Mar 26, 12:08 pm, abukustfan <[email protected]> wrote:
>
>
>
> > Hi,
>
> > It shows below error.
>
> > # alsa_aplay -D hw:0,0 sample.wav
> >ALSAlib external/alsa-lib/src/confmisc.c:143:(snd_config_get_bool)
> > Invalid type for nonblock
> >ALSAlib external/alsa-lib/src/pcm/pcm_hw.c:1445:(_snd_pcm_hw_open)
> > Invalid type for subdevice
> > aplay: main:590: audio open error: Invalid argument
>
> > On Mar 26, 4:02 pm, ani <[email protected]> wrote:
>
> > > try with this alsa_aplay -D hw:0,0 Dil_Vil.wav some.wav

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

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to