# US 2006/0041895 A1 · Systems and methods for interfacing with codecs across an architecture optimized for audio

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

- Number: US 2006/0041895 A1
- Document ID: US20060041895A1
- Status: Published application
- Kind: A1
- Application number: 10/912,444
- Filed: 2004-08-04
- Published: 2006-02-23
- Earliest claimed: 2004-08-04
- Assignees: Microsoft Corporation
- Inventors: Frank Berreth
- Web page: https://patentgrep.com/patent/US20060041895A1

## CPC

- G06F 13/102: {where the program performs an interfacing function, e.g. device driver (G06F13/105 takes precedence; contention policies within device drivers G06F9/4881; scheduling within device drivers G06F9/52)}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for interfacing with codec(s) on an architecture optimized for audio are described. In one aspect, a device driver accesses an application programming interface (API). The API facilitates communications between the device driver and one or more codec(s) via a controller coupled to the codec(s). The codec(s) and the controller are implemented in an environment that is substantially optimized for audio. Such communication includes, for example, registering for event(s), transferring data to or from the codec(s), obtaining information about the capability of the codec(s), and/or managing bus or codec resources.

## Claims

### Claim 1

A method comprising:
accessing, by a device driver, an application programming interface (API), the API facilitating communications between the device driver and one or more codecs via a controller coupled to the codec(s), the codec(s) and the controller being in an environment that is substantially optimized for audio;
communicating, by a device driver, with the one or more codecs via respective ones of the APIs; and
wherein the communicating comprises:
registering for event(s)
transferring data to or from the codec(s);
obtaining information about the codec(s) or controller; or
managing bus or codec resource(s).

### Claim 2 (depends on 1)

A method as recited in claim 1, wherein communicating further comprises a mechanism to wake-up a system when powered down

### Claim 3 (depends on 1)

A method as recited in claim 1, wherein communicating further comprises forwarding data packet(s) to a codec of the one or more codecs for corresponding response by the codec.

### Claim 4 (depends on 1)

A method as recited in claim 1, wherein communicating further comprises:
forwarding data packet(s) to a codec of the one or more codecs for corresponding response by the codec; and
if there are multiple data packets for communication to the codec, transferring respective ones of the multiple data packets synchronously or asynchronously.

### Claim 5 (depends on 1)

A method as recited in claim 1, wherein transferring data further comprises specifying a stream data format.

### Claim 6 (depends on 1)

A method as recited in claim 1, wherein obtaining information about the codec(s) or controller further comprises retrieving information about a controller, a link position register, a wall clock register, a codec, or a function group start node.

### Claim 7 (depends on 1)

A method as recited in claim 1, wherein managing bus or codec resources further comprises changing bandwidth allocation on the bus.

### Claim 8 (depends on 1)

A method as recited in claim 1, wherein managing further comprises:
managing a dynamic memory access (DMA) engine;
managing a DMA buffer; or
managing audio link bandwidth allocation.

### Claim 9 (depends on 8)

A method as recited in claim 8, wherein the DMA engine is a render or capture engine.

### Claim 10 (depends on 8)

A method as recited in claim 8, wherein the DMA engine is associated with a buffer descriptor list.

### Claim 11 (depends on 8)

A method as recited in claim 8, wherein managing the DMA engine further comprises;
setting a DMA engine state to running, stopped, paused, or reset;
freeing a DMA engine;
allocating a DMA buffer; or
freeing a DMA buffer.

### Claim 12 (depends on 11)

A method as recited in claim 11, wherein the DMA buffer is a contiguous DMA buffer.

### Claim 13

A computer-readable memory comprising computer-program instructions execuatable by a processor, the computer-program instructions comprising:
an application programming interface (API), the API being directed to facilitating communications between a device driver and one or more codecs, the one or more codecs being coupled to a controller in an environment that is substantially optimized for audio; and
wherein the API comprises one or more respective interfaces for:
registering for event(s)
transferring data to or from the codec(s);
obtaining information about the codec(s); or
managing bus or codec resource(s).

### Claim 14 (depends on 13)

A computer-readable medium as recited in claim 13, wherein an interface of the one or more respective interfaces for transferring data to or from the codec(s) futher comprises computer-program instructions for:
forwarding data packet(s) to a codec of the one or more codecs for corresponding response by the codec; and
if there are multiple data packets for communication to the codec, transferring respective ones of the multiple data packets synchronously or asynchronously

### Claim 15 (depends on 13)

A computer-readable medium as recited in claim 13, wherein an interface of the one or more respective interfaces for transferring data to or from the codec(s) further comprises computer-program instructions for specifying a stream data format.

### Claim 16 (depends on 13)

A computer-readable medium as recited in claim 13, wherein an interface of the one or more respective interfaces for obtaining information about the codec(s) further comprises computer-program instructions for retrieving information about a controller, a link position register, a wall clock register, a codec, or a function group start node.

### Claim 17 (depends on 13)

A computer-readable medium as recited in claim 13, wherein an interface of the one or more respective interfaces for managing bus or codec resources further comprises computer-program instructions for changing bandwidth allocation on the bus.

### Claim 18 (depends on 13)

A computer-readable medium as recited in claim 13, wherein an interface of the one or more respective interfaces for managing further comprises computer-program instructions for:
managing a dynamic memory access (DMA) engine;
managing a DMA buffer; or
managing audio link bandwidth allocation.

### Claim 19 (depends on 14)

A computer-readable medium as recited in claim 14, wherein the DMA engine is a render or capture engine.

### Claim 20 (depends on 14)

A computer-readable medium as recited in claim 14, wherein the DMA engine is associated with a buffer descriptor list.

### Claim 21 (depends on 14)

A computer-readable medium as recited in claim 14, wherein managing the DMA engine further comprises;
setting a DMA engine state to running, stopped, paused, or reset;
freeing a DMA engine;
allocating a DMA buffer; or
freeing a DMA buffer.

### Claim 22 (depends on 21)

A computer-readable medium as recited in claim 21, wherein the DMA buffer is a contiguous DMA buffer.

### Claim 23

A computing device comprising:
a processor; and
a memory coupled to the processor, the memory comprising computer-program instructions executable by the processor for:
accessing, by a device driver, an application programming interface (API), the API facilitating communications between the device driver and one or more codecs via a controller coupled to the codec(s), the one or more codecs and the controller being implemented in an environment that is substantially optimized for audio;
communicating, by a device driver, with the one or more codecs via respective ones of the APIs; and
wherein the communicating comprises:
registering for event(s)
transferring data to or from the codec(s);
obtaining information about the codec(s); or
managing bus or codec resource(s).

### Claim 24 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for communicating further comprise instructions for forwarding data packet(s) to a codec of the one or more codecs for corresponding response by the codec.

### Claim 25 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for communicating further comprise instructions for:
forwarding data packet(s) to a codec of the one or more codecs for corresponding response by the codec; and
if there are multiple data packets for communication to the codec, transferring respective ones of the multiple data packets synchronously or asynchronously.

### Claim 26 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for transferring data further comprise instructions for specifying a stream data format.

### Claim 27 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for obtaining information about the codec(s) further comprise instructions for retrieving information about a controller, a link position register, a wall clock register, a codec, or a function group start node.

### Claim 28 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for managing bus or codec resources further comprise instructions for changing bandwidth allocation on the bus.

### Claim 29 (depends on 23)

A computing device as recited in claim 23, wherein the computer-program instructions for managing further comprise instructions for:
managing a dynamic memory access (DMA) engine;
managing a DMA buffer; or
managing audio link bandwidth allocation.

### Claim 30 (depends on 29)

A computing device as recited in claim 29, wherein the DMA engine is a render or capture engine.

### Claim 31 (depends on 29)

A computing device as recited in claim 29, wherein the DMA engine is associated with a buffer descriptor list.

### Claim 32 (depends on 29)

A computing device as recited in claim 29, wherein the computer-program instructions for managing the DMA engine further comprise instructions for;
setting a DMA engine state to running, stopped, paused, or reset;
freeing a DMA engine;
allocating a DMA buffer; or
freeing a DMA buffer.

### Claim 33 (depends on 32)

A computing device as recited in claim 32, wherein the DMA buffer is a contiguous DMA buffer.

### Claim 34

A computing device comprising:
accessing means to access, by a device driver, an application programming interface (API), the API facilitating communications between the device driver and one or more codecs via a controller operatively coupled to the codec(s), the codec(s) and the controller being implemented in an environment that is substantially optimized for audio;
communicating means to communicate, by a device driver, with the one or more codecs via respective ones of the APIs; and
wherein the communicating meanse comprise:
registering means to register for event(s)
transferring data means to transfer data to or from the codec(s);
obtaining means to obtain information about the codec(s); or
managing means to manage bus or codec resource(s).

### Claim 35 (depends on 34)

A computing device as recited in claim 34, wherein the communicating means further comprise:
forwarding means to communicate data packet(s) to a codec of the one or more codecs for corresponding response by the codec; and
if there are multiple data packets for communication to the codec, transferring means to communicate respective ones of the multiple data packets synchronously or asynchronously.

### Claim 36 (depends on 34)

A computing device as recited in claim 34, wherein the transferring means further comprise specifying means to set a particular stream data format.

### Claim 37 (depends on 34)

A computing device as recited in claim 34, wherein the obtaining means further comprises retrieving means to gather information about a controller, a link position register, a wall clock register, a codec, or a function group start node.

### Claim 38 (depends on 34)

A computing device as recited in claim 34, wherein the managing means further comprises changing means to change bandwidth allocation on the bus.

### Claim 39 (depends on 34)

A computing device as recited in claim 34, wherein the managing means further comprises:
managing means to manage a dynamic memory access (DMA) engine;
managing means to manage a DMA buffer; or
managing means to manage audio link bandwidth allocation.

### Claim 40 (depends on 39)

A computing device as recited in claim 39, wherein the managing means to manage the DMA engine further comprises;
setting means to set a DMA engine state to running, stopped, paused, or reset;
freeing means to free a DMA engine;
allocating means to allocate a DMA buffer; or
freeing means to free a DMA buffer.
