System Sounds
Audio files come in different formats. The format describes the organization of the audio data within the file. Some files, like MP3 and M4A, have been compressed and require a decoder for playback. Compressed files are much smaller in size but require more work by the processor to play.
The extra work it takes to decode a compressed file can affect application performance, and compression doesn’t save much disk space if the recording is short. Thus, short sound effect files are not compressed. These sounds are typically used as an interface element. They are not critical to an application but add to the atmosphere you are trying to create.
The AudioToolbox framework gives you the ability to register short sound effects on the system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access