Re: [GD-General] Writing an audio mixer
Brought to you by:
vexxed72
From: Mads B. D. <ma...@ch...> - 2002-03-15 21:10:23
|
On Fri, 15 Mar 2002, Brian Hook wrote: > > During the lull between Candy Cruncher and our next product I'd like to > take a day and write our own audio mixer to minimize our dependencies on > per-platform audio mixing capabilities. We can survive without hardware > mixing (in fact, we don't support it right now at all because it's so > damn flaky). [..] > > The only bit I'm concerned about is servicing the audio via a thread vs. > servicing the audio during game updates. A separate thread (or > interrupt on MacOS....God, will that operating system PLEASE die?!) at > least prevents me from having the audio puke on a long file load. Have you considered looking at the SDL? www.libsdl.org - it works on Mac, Linux, Windows and a number of other platforms. It uses the LGPL license, which means that you can do commercial stuff with it as well as OSS. (Loki beeing a prime example of the commercial approach - economic problems aside). Take a look at it - it is not very sophisticated, but it does work. Another candidate could be "OpenAL" - www.openal.org. The website looks quite stale, but there are current stuff in the cvs. LGPL as well (IIRC). Supported platforms include at least Linux and Windows. (I can't remember if Mac is supported). Mads -- Mads Bondo Dydensborg. ma...@ch... The Microsoft Dictionary: interoperability: The ability of a Microsoft product to operate with another Microsoft product. |