# US 2017/0293465 A1 · Playback manager

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293465 A1
- Document ID: US20170293465A1
- Status: Published application
- Kind: A1
- Application number: 15/634,405
- Filed: 2017-06-27
- Published: 2017-10-12
- Earliest claimed: 2011-09-11
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Kishore KOTTERI; Frank YERRACE; Ken COOPER; Johnny BREGAR; Nicholas J. BENSON; Ryan BEBERWYCK; Rian CHUNG
- Web page: https://patentgrep.com/patent/US20170293465A1

## CPC

- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- H04L 65/60: Network streaming of media packets
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
factoring an ambient audio stream category for an ambient audio stream into granting or denying the media focus to the audio stream.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
assigning at least one of the primary audio stream category or the secondary audio stream category to the audio application based on the audio stream category declaration.

### Claim 4 (depends on 1)

The method of claim 1, wherein assigning the audio resource for the audio stream of the audio application includes assigning the audio resource to the audio stream having the media focus.

### Claim 5 (depends on 1)

The method of claim 1, wherein assigning the audio resource for the audio stream of the audio application includes declining the audio resource for the audio stream without the media focus.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining whether the audio stream is associated with at least one of the primary audio stream category or the secondary audio stream category includes determining via an operating shell of the playback manager.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
wherein the audio application includes a priority audio stream category permitting the audio application to interrupt an audio stream of another audio application.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
sending a media focus status notification to the audio application.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
directing a transport control notification to the audio application with the audio stream having the media focus.

### Claim 10 (depends on 1)

The method of claim 1, wherein the audio stream category declaration includes at least one of an application identifier to identify the audio application sending the audio stream category declaration or a stream identifier to identify the audio stream of the audio application sending the audio stream category declaration.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining that the media focus has been revoked; and
adjusting an activity associated with the audio application based on determining that the media focus has been revoked.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
assigning the secondary audio stream category to an undeclared audio application that fails to declare an audio stream category.

### Claim 13

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.

### Claim 14 (depends on 13)

The computer-readable medium of claim 13, further comprising:
instructions for selecting at least one of media, communications, narration, alerts, game media, game effects, and sound effects as the audio stream category declaration.

### Claim 15 (depends on 13)

The computer-readable medium of claim 13, further comprising:
instructions for receiving a media focus notification from the playback manager.

### Claim 16 (depends on 13)

The computer-readable medium of claim 13, further comprising:
instructions for optimizing use of an audio resource upon notice of a media focus revocation.

### Claim 17 (depends on 13)

The computer-readable medium of claim 13, further comprising:
instructions for receiving a transport control notification while having media focus.

### Claim 18

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.

### Claim 19 (depends on 18)

The computer audio system of claim 18, further comprising:
a transport control input to control the audio application with the audio stream having the media focus.

### Claim 20 (depends on 18)

The computer audio system of claim 18, wherein the audio stream category declaration includes at least one of an application identifier to identify the audio application sending the audio stream category declaration or a stream identifier to identify the audio stream of the audio application sending the audio stream category declaration.
