SND_HDA_QUERY_SUPPORTED_PCM

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

 

NAME

snd_hda_query_supported_pcm - query the supported PCM rates and formats  

SYNOPSIS

"SYNOPSIS"

int snd_hda_query_supported_pcm (struct hda_codec * codec, hda_nid_t nid, u32 * ratesp, u64 * formatsp, unsigned int * bpsp);  

ARGUMENTS

codec
the HDA codec
nid
NID to query
ratesp
the pointer to store the detected rate bitflags
formatsp
the pointer to store the detected formats
bpsp
the pointer to store the detected format widths
 

DESCRIPTION

Queries the supported PCM rates and formats. The NULL ratesp, formatsp or bsps argument is ignored.

Returns 0 if successful, otherwise a negative error code.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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