Jump to content
  • Advertisement
Sign in to follow this  
lomateron

Sound API question

This topic is 2051 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 any sound API that renders sound similar to directx?

making an analogy, rendering 60 frames per second by calling a render() function 60 times per second will be rendering 48000 samples per second by calling the render() function 48000 times per second Edited by lomateron

Share this post


Link to post
Share on other sites
Advertisement
In DirectX such voice rendering is made by a real-time thread which is running implicitly.
(in WASAPI, DirectSound, XAudio2)
You do not have to develop your own loop.
For example, a different API would be Open AL. Edited by kubera

Share this post


Link to post
Share on other sites
I am not sure of what you are asking exactly.

Do you want the sound to render 48000 times per second or is this what you are trying to avoid?

As kubera said, the sound gets played in its own thread anyway.

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!