Reduce MAX_HWBUFFERS to 128
[dsound-openal.git] / README.md
blobdb1f95f81a503d8ce34821ac2313d10f1d2c47a1
1 # DSOAL
3 This project is for a DirectSound DLL replacement. It implements the
4 DirectSound interfaces by translating the calls to OpenAL, and fools
5 applications into thinking there is a hardware accelerated sound device. EAX is
6 also implemented (up to version 4) by using OpenAL's EFX extension, allowing
7 for environmental reverb with sound obstruction and occlusion effects.
9 Ultimately, this enables DirectSound applications to enable their DirectSound3D
10 acceleration path, and turn on EAX. The actual processing is being done by
11 OpenAL with no hardware acceleration requirement, allowing it to work on
12 systems where audio acceleration is not otherwise available.
14 Or more succinctly: it enables DirectSound3D surround sound and EAX for systems
15 without the requisite hardware.
18 ## Source Code
20 To build the source, you will need [CMake](https://cmake.org/) 2.6 or newer.
21 You can either use the CMake GUI, specifying the
22 directories for the source and where the build files should go, or using one of
23 the command-line programs, for example by first making sure to be in an empty
24 directory where the build files will go (such as the provided build/ sub-
25 directory) and running cmake with the path to the source.
27 Once successfully built, it should have created dsound.dll.
30 ## Usage
32 Once built, copy dsound.dll to the same location as the desired application's
33 executable. You must also provide an OpenAL DLL in the same location, named as
34 dsoal-aldrv.dll, or else the DLL will fail to work. Some applications may need
35 to be configured to use DirectSound3D acceleration and EAX, but it otherwise
36 goes to work the next time the application is run.
38 Source releases and Windows binaries for OpenAL Soft are
39 available at its [homepage](https://openal-soft.org/).
40 Instructions are also provided there.