Playback manager
AssigneeMicrosoft Technology Licensing, LLC
InventorsKishore KOTTERI, Frank YERRACE, Ken COOPER, Johnny BREGAR, Nicholas J. BENSON, Ryan BEBERWYCK, Rian CHUNG
Life of this patent
Estimating the term…
Abstract
In one embodiment, a computer audio system may use a playback manager to manage the audio streams of audio applications. A playback manager 202 may receive an audio stream category declaration 300 from an audio application 204. The playback manager 202 may determine a media focus status for an audio stream of the audio application 204 based in part on the audio stream category declaration 300.
Claims20
A method of assigning audio resources to an audio application, comprising:
- receiving, at a playback manager of a computing device, an audio stream category declaration from the audio application including a category field identifying an application audio type of an audio stream provided by the audio application;
- determining whether the audio stream is associated with at least one of a primary audio stream category or a secondary audio stream category based on the audio stream category declaration, the primary audio stream category declaration permitting the audio stream to be played regardless of the whether the audio application is in a foreground or a background and the secondary audio stream category permitting the audio stream to be played when the audio application is in the foreground;
- granting media focus to the audio application based on a determination that the audio stream is associated with the primary audio stream category while the audio application is in the foreground or the background, or that the audio stream is associated with the secondary audio stream category while the audio application is in the foreground, wherein the media focus permits assignment of the audio resources to produce an audio output for the audio application;
- denying media focus to the audio application based on a determination that the audio stream is not associated with the primary audio stream category, or that the audio stream is associated with the secondary audio stream category while the audio application is in the background;
- and
- assigning an audio resource for the audio stream of the audio application based on whether the media focus is granted or denied.
A computer-readable medium storing computer-executable instructions executable by a processor for rendering graphics in a computer device, comprising:
- instructions for executing an audio application to render an audio stream;
- instructions for sending from the audio application an audio stream category declaration including a category field identifying an application audio type of an audio stream provided by the audio application to a playback manager for the playback manager to use in determining a media focus for the audio stream, wherein the media focus permits an assignment of the audio resources to produce an audio output for the audio application;
- instructions for determining whether at least one of a grant or denial of the media focus has been received from the playback manager based on the audio stream category declaration and an audio stream category of the audio application, the audio stream category indicating whether the audio application is in a foreground or in a background;
- instructions for sending the audio stream to an audio server to use the audio resources to produce the audio output based on a determination that the grant of the media focus has been received from the playback manager;
- and
- instructions for forgoing transmission of the audio stream to the audio server based on a determination that the denial of the media focus has been received from the playback manager.
A computer audio system, comprising:
- a memory configured to store data;
- a processor in communication with the memory and configured to:
- receive an audio stream category declaration from the audio application including a category field identifying an application audio type of an audio stream provided by the audio application;
- determine whether the audio stream is associated with at least one of a primary audio stream category or a secondary audio stream category based on the audio stream category declaration, the primary audio stream category declaration permitting the audio stream to be played regardless of the whether the audio application is in a foreground or a background and the secondary audio stream category permitting the audio stream to be played when the audio application is in the foreground;
- grant media focus to the audio application based on a determination that the audio stream is associated with the primary audio stream category while the audio application in the foreground or the background or the audio stream is associated with the secondary audio stream category while the audio application is in the foreground, wherein the media focus permits assignment of the audio resources to produce an audio output for the audio application;
- deny media focus to the audio application based on a determination that the audio stream is not associated with the primary audio stream category, or is associated with the secondary audio stream category while the audio application is in the background;
- and
- assign an audio resource for the audio stream of the audio application based on whether the media focus is granted or denied.
Dependencies are inferred from the claim text.