Regarding ALSA Library
Hi All,
Can anyone explain me what is the purpose of snd_pcm_forward inpcm.c. Also what is the use of __snd_pcm_forward macro and where is it defined. I am not able to find any definition for this macro __snd_pcm_forward.
Can anyone clarify my doubts. Thanks and please forgive me if i
am misusing this list.
thanks,
-Sundaranathan
SIP Technologies & Exports Ltd
--
"Live as if to die tomorrow. Learn as if to live forever."
Quoted 4 lines · Sundaranathan S
Hi All,
Can anyone explain me what is the purpose of
snd_pcm_forwardinpcm.c.
The forward means exactly what you expect. You can go ahead in the ring buffer without filling/reading of any samples. It means that affected changes are not altered like write or mmap does for playback or you can skip data for capture. It may be useful for realtime applications where data might be ready in different times (network transfer etc.).
Quoted 2 lines
Also what is the use of
__snd_pcm_forwardmacro and where is it defined. I am not able to find any definition for this macro__snd_pcm_forward.
Look for INTERNAL() macro and read carefully the function declaration.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.