ABSTRACT

Interactive audio draws on limited resources. Their usage needs to be anticipated and pre-planned. This chapter considers the dimensions of audio in terms of RAM, CPU and bandwidth and the phases in which it is loaded, used and discarded.

George Lucas says that sound is half the picture, but games typically allocate only 10% of their memory and processing resources to audio. Even so, audio is updated more frequently, and interruptions are more obvious. Exceptions like Dance Factory on PS2 and DiRT2 on Xbox 360 are noted and justified. Other comparisons encompass Windows, macOS, Linux, all PlayStation and Xbox models, Nintendo Switch, Android and iOS hardware.

Topics: thread and core affinity, reverb overhead and partitioning, bug diagnosis and reporting, finding and fixing leaks, DMA and processor configuration bugs and fixes, hard disc installation implications, audio and video update frequencies, power and bandwidth limitations.

Breakdowns of soundbank allocations are provided for recent mobile, PC and console games with memory footprints ranging from 14 to 371 megabytes, also noting the streams and codecs used.