* question about pointer callback
@ 2005-11-24 14:12 Sverker Abrahamsson
2005-11-24 16:04 ` James Courtier-Dutton
0 siblings, 1 reply; 2+ messages in thread
From: Sverker Abrahamsson @ 2005-11-24 14:12 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
Hi
I have a (maybe stupid) question about the pointer callback and it's purpose. Is it used for both playback and capture? As I understand it should return the availible data to read (for capture) in number of frames, but should it return the availible space to write to for playback also?
/Sverker
[-- Attachment #2: Type: text/html, Size: 705 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question about pointer callback
2005-11-24 14:12 question about pointer callback Sverker Abrahamsson
@ 2005-11-24 16:04 ` James Courtier-Dutton
0 siblings, 0 replies; 2+ messages in thread
From: James Courtier-Dutton @ 2005-11-24 16:04 UTC (permalink / raw)
To: Sverker Abrahamsson; +Cc: alsa-devel
On 24/11/05, Sverker Abrahamsson <sverker@abrahamsson.com> wrote:
> Hi
> I have a (maybe stupid) question about the pointer callback and it's
> purpose. Is it used for both playback and capture? As I understand it should
> return the availible data to read (for capture) in number of frames, but
> should it return the availible space to write to for playback also?
> /Sverker
If you mean the pointer callback in a sound card driver module, it
should point to the current possition of the ADC, DAC in the ring
buffer. So it is not "available data to read".
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-24 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24 14:12 question about pointer callback Sverker Abrahamsson
2005-11-24 16:04 ` James Courtier-Dutton
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.