RE: [GD-General] Writing an audio mixer
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-03-19 00:00:25
|
One other thing that hasn't been mentioned is latency. With a threaded audio mixer you can get pretty low latencies since you know you'll be serviced at fairly regular intervals. With a synchronous mixer, you have to trade off robustness (underflows) for response time. For a puzzle game this probably isn't that big a deal, but it's something to be aware of. Setting up a one second buffer gives you a lot of lee way on servicing the stream, but you've now established a pretty big ass delay in your audio stream. Brian |