Re: error : file descriptor is in bad state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux