Friday, February 1, 2008

Google Android is using ALSA as audio

The Google Android Emulator is using /dev/eac as the audio device. The /dev/eac is the Android QEMU audio driver. The ioctl interface is empty. There is a comment line giving the hints that Google Android is going to use ALSA as audio.
static int goldfish_audio_ioctl(struct inode* ip, struct file* fp, unsigned int cmd, unsigned long arg)
/* temporary workaround, until we switch to the ALSA API */
if (cmd == 315)
return -1;
return 0;
ALSA Introduction:
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. Here is the Advanced Linux Sound Architecture (ALSA) project homepage. ALSA has the following significant features:
  • Efficient support for all types of audio interfaces, from consumer sound cards to professional multichannel audio interfaces.
  • Fully modularized sound drivers.
  • SMP and thread-safe design.
  • User space library (alsa-lib) to simplify application programming and provide higher level functionality.
  • Support for the older Open Sound System (OSS) API, providing binary compatibility for most OSS programs.


Oleksander said...


Could I use alsa to implement native audio record/playback on Android phones platform?

I have NDK1.1 but there are not alsa inside.

Please, give me a hint


sasha said...

It's not tough to spot the best Android app developers. All you need to do is simply look at their applications.

best android apps

best iphone apps

Pop Neo said...

Furthermore, Using the power on the internet in this period, progressively green cocktail dresses more British isles bridal gowns vendors generate their own matter on the planet extensive net.
We offer wedding dresses, bridesmaid dresses, beach wedding dresses,my friends welcome to visit and see!
wedding dresses

JAMES DEAN said...

Thank you for your quick response. Unfortunately you can alone see this website (a new adaptation of the current), alone if you configure the ip abode into the hosts file. If you could do this, it would be a abundant help. The data are the following:
Marketing communication strategy | Advertising as profession in Estonia | Advertising professional in Estonia