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?