All of lore.kernel.org
 help / color / mirror / Atom feed
* Regarding ALSA Library
@ 2003-06-10 11:07 Sundaranathan S
  2003-06-10 11:31 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Sundaranathan S @ 2003-06-10 11:07 UTC (permalink / raw)
  To: alsa-devel@lists.sourceforge.net

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

Hi  All,

        Can anyone explain me what is the purpose of snd_pcm_forward in
pcm.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."



[-- Attachment #2: Type: text/html, Size: 640 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regarding ALSA Library
  2003-06-10 11:07 Regarding ALSA Library Sundaranathan S
@ 2003-06-10 11:31 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2003-06-10 11:31 UTC (permalink / raw)
  To: Sundaranathan S; +Cc: alsa-devel@lists.sourceforge.net

On Tue, 10 Jun 2003, Sundaranathan S wrote:

> Hi  All,
> 
>         Can anyone explain me what is the purpose of snd_pcm_forward in
> pcm.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.).

> 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.

Look for INTERNAL() macro and read carefully the function declaration.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-10 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10 11:07 Regarding ALSA Library Sundaranathan S
2003-06-10 11:31 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.