i had same problem, but when i used lsof to find out what is
accessing /dev/snd i found that nothing does..so i don't know what
could block soundcard
emulator -audio oss fixed problem for me
also i found that if i have rhytmbox playing and i close emulator it
kills sound and make rhytmbox freeze. i would guess that emulator acts
very aggresive with sound
On 7. Okt, 02:31 h., GUS <[EMAIL PROTECTED]> wrote:
> Nice. But I think youraudiodoesn´t work normaly becouse some other
> program on your machine is blocking theaudiodevices. Fortunatelly,
> myaudioworks fine.
>
> Thx anyway.
>
> PAS wrote:
> > Since I found nothing about this while looking, I thought I would
> > document my findings here.
>
> > I had some trouble gettingaudioto work in the Android emulator.
> > Eclipse was displaying the following:
> > [2008-10-06 16:18:12 - Emulator] emulator: warning: openingaudio
> > output failed
>
> > Having a look at the emulator startup options for Android 1.0 SDK,
> > Release 1:
> > http://code.google.com/android/reference/emulator.html#startup-options
>
> > ...I found some of the Media ones are not correct . Even the self
> > documentation inside emulator -help-audiois not correct:
> > $ emulator -useaudio
> > invalid command-line parameter: -useaudio
> > $ emulator -help-audio-out
> > unknown option: -audio-out
> > $ emulator -help-audio-in
> > unknown option: -audio-in
>
> > I tried the obvious, but got the same error I was getting through
> > Eclipse (I guess alsa is the default)
> > $ emulator -audioalsa
> > emulator: warning: openingaudiooutput failed
>
> > The only way I got sound working was to run:
> > $ emulator -audiooss
>
> > Please note that while the emulator is running, you will not be able
> > to use otheraudioapps (at least I couldn't).
>
> > I hope that helps someone out there. If I have missed something,
> > please let me know.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---