Skip to contentSkip to conversation

question about pointer callback

DISCUSSION Sverker Abrahamsson 2 participants 2 messages Nov 24, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Sverker Abrahamsson

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_id865&op=click