On Wed, Jun 30, 2010 at 12:19 AM, Nilly <ni...@oriolesoftware.com> wrote: > Why android is using alsa in block mode?
Android does not have ALSA. > As android is opening device > in block mode I am not open alsa device for playback. It shows device > is busy as it is used by android. > > By stop media we can stop audio services but it will stop other > services also which makes video player hang and I am not able to use > player. > > How to come over it? I am assuming you are referring to the Android emulator. The Android emulator uses qemu, and qemu on a Linux host may use ALSA in block mode -- I am not an expert with qemu or ALSA. Playing back video in the emulator is unlikely to work, regardless of ALSA, because the emulator will not run fast enough. For testing video applications, please use an Android device. You are welcome to see if there are QEMU environment variables or something you can use to tailor the way the Android emulator behaves. Or, you are welcome to grab the tools source code from the Android open source project, make patches to the emulator launch routines, and perhaps contribute back those changes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en