SND_AC97_MIXER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

snd_ac97_mixer - create an Codec97 component  

SYNOPSIS

"SYNOPSIS"

int snd_ac97_mixer (ac97_bus_t * bus, ac97_template_t * template, ac97_t ** rac97);  

ARGUMENTS

bus
the AC97 bus which codec is attached to
template
the template of ac97, including index, callbacks and the private data.
rac97
the pointer to store the new ac97 instance.
 

DESCRIPTION

Creates an Codec97 component. An ac97_t instance is newly allocated and initialized from the template. The codec is then initialized by the standard procedure.

The template must include the codec number (num) and address (addr), and the private data (private_data).

The ac97 instance is registered as a low-level device, so you don't have to release it manually.

Returns zero if successful, or a negative error code on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:49 GMT, October 09, 2005