Jump to content
  • Advertisement
Sign in to follow this  
devronious

[SlimDX]Reading the capture buffer...

This topic is 3363 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!