>just writing a recording app with alsa lib i found i need
>to use
>
>snd_pcm_start(chandle);
>
>Why? What does it do? 

the hardware of audio interfaces doesn't activate all by itself - it
needs to be told to start processing i/o and generating interrupts.

when you open a handle on either the playback or capture stream, ALSA
doesn't start the hardware running. it only does that when you tell it
to, with snd_pcm_start(). without this design, there would be no way
to stop and restart the hardware without closing/reopening the card,
which is a silly model to be using.

--p

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to