pramod gurav wrote: > But when i try to writei() to interface . i get the error > error : in writei : file descriptor is in bad state I'd guess you didn't set the sample format with snd_pcm_hw_params(). HTH Clemens ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user