[SlimDX]Reading the capture buffer...

Started by
2 comments, last by devronious 14 years, 10 months ago
Is there a way to read the capture buffer during capture, to perhaps read just behind the capture position? Or is that what a secondary buffer is for? I'm new to directsound. What I'm, trying to do is capture and output the capture to the screen while it is being captured to output the progress visually. Thanks in advance, Devin
Advertisement
Quote:Original post by devronious
Is there a way to read the capture buffer during capture, to perhaps read just behind the capture position? Or is that what a secondary buffer is for? I'm new to directsound.

What I'm, trying to do is capture and output the capture to the screen while it is being captured to output the progress visually.

Thanks in advance,

Devin


I think this will be of interest for you :

http://www.jmsoftware.co.uk/blog/the-directsound-capture-buffer
I can't seem to read from it. If I attempt to read from it I get the following error regardless of where and how much info I try and read. The amount is far less than the size and the position is near the beginning.

"The sum of offset and count is greater than the buffer length."
yea that helped and I figured out the read sequencing system.

Thanks Again,

Devin

This topic is closed to new replies.

Advertisement