/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Today's #ScreenshotSaturday features Face Your Fears from Turtle Roc ... #virtualrealityshop #mobilevr #vrshop https://t.co/3qhSNAVNOZ
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Sound API question

4: Adsense

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   

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


#2 kubera   Members   

1564
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   

1168
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.
Win32 Developer
One Of Them - Martial arts game that is mid development.




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.