Jump to content
  • Advertisement
Sign in to follow this  
madRenEGadE

Audio Data Streaming

This topic is 3924 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

Hello, I want to know what would be a good way to stream audio data from a file. Atm I would have two sound buffers for a sound. One buffer is played and the other one is filled with new data. When the first buffer finished playing and the second is filled completely they are switched. Is this a good approach or are there better ones? What do you suggest? thx in advance

Share this post


Link to post
Share on other sites
Advertisement
Have not considered PC's without openal compat but maybe some day I want to use fmod or something else so the approach should be easily reusable with other audio libs.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!