[alsa-devel] Unable to attach mixer to device AndroidOut: No such file or directory

kuldeep ghan ghankp at gmail.com
Mon Feb 14 15:10:14 CET 2011


Hi, Here is the debug log I get when i try to create instance of audio
hardware device.

ALSAMixer:167 intializing AndroidOut Mixer!!!
ALSALib external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate)
Invalid CTL AndroidOut
initMixer:110 Unable to attach mixer to device: No such file or directory
ALSAMixer:169 intializing AndroidIn Mixer!!!
ALSALib external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate)
Invalid CTL AndroidIn
initMixer:110 Unable to attach mixer to device: No such file or directory
Mixer: master 'PCM' not found.
Mixer: route 'Earpiece' not found.
Mixer: route 'Speaker' not found.
Mixer: route 'Headphone' not found.
Mixer: route 'Bluetooth' not found.
Mixer: route 'Bluetooth A2DP' not found.
Mixer: master 'Capture' not found.
Mixer: route 'Capture' not found.
Mixer: route '' not found.
Mixer: route 'Capture' not found.
Mixer: route 'Bluetooth Capture' not found.
Mixer: route 'Bluetooth A2DP Capture' not found.
mixer initialized.
openOutputStream called for devices: 0x00000001
ALSALib external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown
PCM AndroidCapture
openOutputStream called for devices: 0x00000001
ALSALib external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown
PCM AndroidPlayback_Earpiece_incall
ALSALib external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown
PCM AndroidPlayback_Earpiece
ALSALib external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown
PCM AndroidPlayback

Where are AndroidOut and AndroidIn created? what is the possible reason for
failure above?

Kuldeep

On Sun, Feb 13, 2011 at 10:33 PM, kuldeep ghan <ghankp at gmail.com> wrote:

> I am trying to get audio working with android kernel. I am able to play wav
> files with alsa_aplay but when I try to open Output or Input stream using
> libadio Its failing.
>
> Can anyone help me with this? what could be wrong?
>
>
>


More information about the Alsa-devel mailing list