Skip to content

Files

Latest commit

 

History

History
 
 

sound

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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