Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1011 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 1011 Bytes

Sound

OpenAL

Different OpenAL implementations currently are used for the supported platform:

  • iOS - native
  • Mac OS X - native
  • Windows - OpenAL provided by Creative
  • Android - OpenAL Soft (built from source)
  • Linux - native

OpenAL soft

A configuration file the target platform is required in src/openal/config/PLATFORM/config.h

Android latency issues

We currently have latency issues on Android. One way to reduce the latency is to set

device->NumUpdates = 1;
device->UpdateSize = 64;

in Alc.c. The impact on low-end devices is however unknown and the change is only tested on Samsung Galaxy S2.

Links:

Future

  • Change to OpenAL Soft on all platforms
  • Support Neon on Android. Detection of Neon instruction set is probably required