Hi,

The error
 "aplay: main:590: audio open error: Device or resource busy"
 is because the alsa is being used by media server, hence you need to
stop it using

#stop media

Then run
#alsa_aplay




On Mar 31, 5:37 am, abukustfan <abukust...@gmail.com> wrote:
> Thanks ani!
>
> I can get my sound when playing video now, but alsa_play still not
> working.
> This time it complaint
> # alsa_aplay
> aplay: main:590: audio open error: Device or resource busy
>
> One more question,
> I have sound files in system/media/audio, but only 'Silent' shows on
> Settings > Sound & display > Phone ringtones.
> How to show sound files here?
>
> On Mar 29, 10:05 am, abukustfan <abukust...@gmail.com> wrote:
>
>
>
> > 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 <w.sreeka...@gmail.com> wrote:
>
> > > Hi,
>
> > > Try doing:
>
> > > #stop media
>
> > > before alsa_aplay.
>
> > > -
>
> > > On Mar 26, 12:08 pm, abukustfan <abukust...@gmail.com> 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 <anish198519851...@gmail.com> wrote:
>
> > > > > try with this alsa_aplay -D hw:0,0 Dil_Vil.wav some.wav- Hide quoted 
> > > > > text -
>
> - Show quoted text -

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

To unsubscribe, reply using "remove me" as the subject.

Reply via email to