[Alsa-user] trouble in headset connection

2008-01-29 Thread pramod gurav
hi All, i am trying to connect my BT headset to linux system thruogh rfcomm I am able to connect... but the connection lasts for only for few seconds..after that it gets disconnected,. When i try to play audo file using [EMAIL PROTECTED] ~]$ mplayer_install/usr/local/bin/mplayer -ao alsa:device=

[Alsa-user] error : file descriptor is in bad state

2008-01-24 Thread pramod gurav
hi list I am a newbie to alsa and i using ALSA api to route audio data to playback interface. But when i try to writei() to interface . i get the error error : in writei : file descriptor is in bad state what might be the reason? Can anyone help me? pls... Am i required to give the details of