O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter began with an overview of the background audio player and showed how it is used to control the playback of local or remote audio files. You looked at how audio file information is represented by the AudioTrack class and examined the role of background audio agents, which are used to coordinate audio playback while your app is not running in the foreground. You saw that when used in the foreground, a BackgroundAudioPlayer forwards all calls to the registered AudioPlayerAgent. Conversely, when a BackgroundAudioPlayer is used in an AudioPlayerAgent, it directly affects playback on the device.

The chapter then demonstrated how to build a UI that leverages the background audio agent, for controlling playback while your app is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required