Since I found nothing about this while looking, I thought I would
document my findings here.

I had some trouble getting audio to work in the Android emulator.
Eclipse was displaying the following:
    [2008-10-06 16:18:12 - Emulator] emulator: warning: opening audio
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-audio is 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 -audio alsa
    emulator: warning: opening audio output failed

The only way I got sound working was to run:
    $ emulator -audio oss

Please note that while the emulator is running, you will not be able
to use other audio apps (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
-~----------~----~----~----~------~----~------~--~---

Reply via email to