Streaming Case Studies
This chapter builds upon concepts previously introduced to illustrate and explain advanced audio stream optimisation techniques by platform and genre. It notes special considerations for consoles, PCs, web and mobile devices, giving detailed examples of the setup for
Burnout 3 music and crash streams,
Club Football's commentary and crowd roars, and the radio, music and cinematic streaming in
Grand Theft Auto 4 and
5. It contrasts console implementations of
Colin McRae Rally 5 ambiences and speech, with and without a hard drive,
Race Driver GRID's interleaved interactive music layers, pit radio and top-resolution graphics streams on DVD and Blu-ray and the commentary and crowd audio in
Brian Lara Cricket 2007, straddling console generations with very divergent hardware capabilities.
Concepts
- Interleaved stream file and buffer structures
- Streaming system processor threads
- Layers of buffering
- Codec, channel count and buffer size interactions
- Planar audio: group lengths, frames and strides
- Block sizes, loop alignment and glitchless rewinding
- Stream bank selection and alternation
- Bank and stream memory allocations compared
- Sharing the drive with non-audio systems
- Dynamic soundbank swapping
- Instantly starting streams with pre-roll stubs
- Variable, constrained and average bit-rate streams
- Mobile platform music streaming
- Co-operating with user-selected music
- Sample rate selection
- Smoothing spikes in decoder activity
Further reading
Loading and Streaming Concepts - previous chapter abstract.
The Architecture of Audio Runtimes - next chapter abstract.
Return to the index of chapters.
Click here to get your own copy of Beep To Boom.
Copyright © 2019 Simon N Goodwin [';']