Jump to content

  • Log In with Google      Sign In   
  • Create Account


Sound API question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 lomateron   Members   -  Reputation: 302

Like
0Likes
Like

Posted 25 November 2012 - 02:40 PM

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, 25 November 2012 - 02:42 PM.


Sponsor:

#2 kubera   Members   -  Reputation: 866

Like
0Likes
Like

Posted 25 November 2012 - 11:16 PM

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, 28 November 2012 - 04:35 PM.


#3 DarkRonin   Members   -  Reputation: 604

Like
0Likes
Like

Posted 06 December 2012 - 04:19 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS