Sign in to follow this  
devronious

[SlimDX]Reading the capture buffer...

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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."

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this