Loading audio files

The following are the three settings that dictate how an audio file is loaded:

  • Preload Audio Data
  • Load In Background
  • Load Type
What we see when we look at an imported file in the inspector.

Our audio files are initially packaged as binary data files that are bundled with our application, which reside on the hard disk of the device (although in some cases they are downloaded from somewhere on the internet). Loading audio data simply means pulling it into main memory (RAM) so that it can be later processed by audio decoders, which then convert the data into audio signals to our headphones or speakers. However, how loading ...

Get Unity Game Optimization - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.