Performance Reference

FMOD Studio API

Firelight Technologies FMOD Studio API

Performance Reference

This document is a companion for the performance tutorial document and serves as a quick reference of facts targeting this platform.

Format Choice

Each compression format provided in FMOD has a reason for being included, the below list will detail our recommendations for this platform. Formats listed as primary are considering the best choice, secondary formats should only be considered if the primary doesn't satisfy your requirements.

  • FADPCM: Primary format for all sounds.
  • Vorbis: Secondary format for long streams if FADPCM compression is too low.
  • PCM: Secondary format for short sounds if FADPCM cost is too high.
  • AAC: Special format for long streams, single hardware assisted codec available for .MP4 / .M4A files.
  • XMA: Unavailable.
  • AT9: Unavailable.

Voice Count

To give developers an idea about the costs of a particular format we provide synthetic benchmark results. These results are based on simple usage of the FMOD Studio API using recommended configuration settings.

Settings

  • Voice count: 32
  • Sample rate: 24KHz
  • Speaker mode: Stereo
  • DSP block size: 1024 samples

Test Device: A

  • CPU: Apple A7 @ 1.3 GHz (iPhone 5S)
  • OS: 8.0

Results: A

  • DSP with Vorbis: 13.7% (+/- 1.3%)
  • DSP with FADPCM: 3.3% (+/- 0.3%)
  • DSP with PCM: 1.1% (+/- 0.2%)
  • Update at 60 FPS: 0.9% (+/- 0.1%)

Test Device: B

  • CPU: ARM Cortex-A9 @ 0.8 GHz (iPhone 4S)
  • OS: 7.1.2

Results: B

  • DSP with Vorbis: N/A
  • DSP with FADPCM: 11.9% (+/- 0.8%)
  • DSP with PCM: 6.9% (+/- 0.6%)
  • Update at 60 FPS: 2.8% (+/- 0.5%)