# US 2017/0286048 A1 · Technologies for framework-level audio device virtualization

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

- Number: US 2017/0286048 A1
- Document ID: US20170286048A1
- Status: Published application
- Kind: A1
- Application number: 15/083,954
- Filed: 2016-03-29
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: Intel Corporation
- Inventors: Shoumeng Yan; Yuan Wu; Dahai Stephen Kou
- Web page: https://patentgrep.com/patent/US20170286048A1

## CPC

- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies for framework-level audio device virtualization include a computing device that executes multiple application framework instances. The computing device monitors for an application framework instance switch and, in response to an application framework instance switch, determines whether the current application framework instance is in the foreground. If in the foreground, the computing device selects a physical audio output device. The computing device may output audio data associated with the current application framework instance using a kernel audio driver associated with the physical audio output device. If not in the foreground, the computing device selects a null audio output device using a null audio hardware abstraction layer (HAL). The null audio HAL may sleep for the duration of audio data associated with the current application framework instance. The null audio HAL may be an operating-system- and device-independent shared library of the computing device. Other embodiments are described and claimed.

## Claims

### Claim 1

A computing device for multiple audio instances, the computing device comprising:
an instance management module to (i) execute a plurality of application framework instances and (ii) monitor for an application framework instance switch in response to execution of the plurality of application framework instances; and
a visibility module to determine whether a current application framework instance of the plurality of application framework instances is a foreground instance in response to an application framework instance switch; and
an output selection module to (i) select a physical audio output device in response to a determination that the current application framework instance is the foreground instance and (ii) select a null audio output device in response to a determination that the current application framework instance is not the foreground instance.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein:
to select the physical audio output device comprises to select the physical audio output device with an audio output selection logic of the current application framework instance; and
to select the null audio output device comprises to select the null audio output device with the audio output selection logic of the current application framework instance.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein to select the null audio output device comprises to activate a null audio hardware abstraction layer of the computing device.

### Claim 4 (depends on 3)

The computing device of claim 3, wherein to activate the null audio hardware abstraction layer comprises to activate an audio-hardware-independent shared library of the computing device.

### Claim 5 (depends on 1)

The computing device of claim 1, further comprising a hardware abstraction layer module to:
output, with the physical audio output device, audio data associated with the current application framework in response to selection of the physical audio output device; and
sleep for a duration of the audio data associated with the current application framework in response to a selection of the null audio output device.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein to execute the plurality of application framework instances comprises to execute a plurality of managed execution environments, wherein each of the application framework instances corresponds to a managed execution environment.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein:
the instance management module is further to execute an operating system kernel; and
to execute the plurality of application framework instances comprises to execute the plurality of application framework instances by the operating system kernel.

### Claim 8 (depends on 7)

The computing device of claim 7, further comprising an audio driver module to output, in response to selection of the physical audio output device, audio data associated with the current application framework with a kernel audio driver associated with the physical audio output device.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein to select the null audio output device comprises to activate a null audio hardware abstraction layer of the computing device, wherein the null audio hardware abstraction layer comprises a shared library of the computing device that is independent from the kernel audio driver.

### Claim 10

A method for multiple audio instances, the method comprising:
executing, by a computing device, a plurality of application framework instances;
monitoring, by the computing device, for an application framework instance switch in response to executing the plurality of application framework instances;
determining, by the computing device, whether a current application framework instance of the plurality of application framework instances is a foreground instance in response to an application framework instance switch;
selecting, by the computing device, a physical audio output device in response to determining that the current application framework instance is the foreground instance; and
selecting, by the computing device, a null audio output device in response to determining that the current application framework instance is not the foreground instance.

### Claim 11 (depends on 10)

The method of claim 10, wherein:
selecting the physical audio output device comprises selecting the physical audio output device with an audio output selection logic of the current application framework instance; and
selecting the null audio output device comprises selecting the null audio output device with the audio output selection logic of the current application framework instance.

### Claim 12 (depends on 10)

The method of claim 10, wherein selecting the null audio output device comprises activating a null audio hardware abstraction layer of the computing device.

### Claim 13 (depends on 12)

The method of claim 12, wherein activating the null audio hardware abstraction layer comprises activating an audio-hardware-independent shared library of the computing device.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
outputting, by the computing device with the physical audio output device, audio data associated with the current application framework in response to selecting the physical audio output device; and
sleeping, by the computing device, for a duration of the audio data associated with the current application framework in response to selecting the null audio output device.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
executing, by the computing device, an operating system kernel;
wherein executing the plurality of application framework instances comprises executing the plurality of application framework instances by the operating system kernel.

### Claim 16 (depends on 15)

The method of claim 15, further comprising outputting, by the computing device in response to selecting the physical audio output device, audio data associated with the current application framework with a kernel audio driver associated with the physical audio output device.

### Claim 17 (depends on 16)

The method of claim 16, wherein selecting the null audio output device comprises activating a null audio hardware abstraction layer of the computing device, wherein the null audio hardware abstraction layer comprises a shared library of the computing device that is independent from the kernel audio driver.

### Claim 18

One or more computer-readable storage media comprising a plurality of instructions that in response to being executed cause a computing device to:
execute a plurality of application framework instances;
monitor for an application framework instance switch in response to executing the plurality of application framework instances;
determine whether a current application framework instance of the plurality of application framework instances is a foreground instance in response to an application framework instance switch;
select a physical audio output device in response to determining that the current application framework instance is the foreground instance; and
select a null audio output device in response to determining that the current application framework instance is not the foreground instance.

### Claim 19 (depends on 18)

The one or more computer-readable storage media of claim 18, wherein:
to select the physical audio output device comprises to select the physical audio output device with an audio output selection logic of the current application framework instance; and
to select the null audio output device comprises to select the null audio output device with the audio output selection logic of the current application framework instance.

### Claim 20 (depends on 18)

The one or more computer-readable storage media of claim 18, wherein to select the null audio output device comprises to activate a null audio hardware abstraction layer of the computing device.

### Claim 21 (depends on 20)

The one or more computer-readable storage media of claim 20, wherein to activate the null audio hardware abstraction layer comprises to activate an audio-hardware-independent shared library of the computing device.

### Claim 22 (depends on 18)

The one or more computer-readable storage media of claim 18, further comprising a plurality of instructions that in response to being executed cause the computing device to:
output, with the physical audio output device, audio data associated with the current application framework in response to selecting the physical audio output device; and
sleep for a duration of the audio data associated with the current application framework in response to selecting the null audio output device.

### Claim 23 (depends on 18)

The one or more computer-readable storage media of claim 18, further comprising a plurality of instructions that in response to being executed cause the computing device to:
execute an operating system kernel;
wherein to execute the plurality of application framework instances comprises to execute the plurality of application framework instances by the operating system kernel.

### Claim 24 (depends on 23)

The one or more computer-readable storage media of claim 23, further comprising a plurality of instructions that in response to being executed cause the computing device to output, in response to selecting the physical audio output device, audio data associated with the current application framework with a kernel audio driver associated with the physical audio output device.

### Claim 25 (depends on 24)

The one or more computer-readable storage media of claim 24, wherein to select the null audio output device comprises to activate a null audio hardware abstraction layer of the computing device, wherein the null audio hardware abstraction layer comprises a shared library of the computing device that is independent from the kernel audio driver.
