.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_HDA_QUERY_SUPPORTED_PCM" "9" "09 October 2005" "" ""
.SH NAME
snd_hda_query_supported_pcm \- query the supported PCM rates and formats
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_hda_query_supported_pcm (struct hda_codec * \fIcodec\fB, hda_nid_t \fInid\fB, u32 * \fIratesp\fB, u64 * \fIformatsp\fB, unsigned int * \fIbpsp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcodec\fB\fR
the HDA codec
.TP
\fB\fInid\fB\fR
NID to query
.TP
\fB\fIratesp\fB\fR
the pointer to store the detected rate bitflags
.TP
\fB\fIformatsp\fB\fR
the pointer to store the detected formats
.TP
\fB\fIbpsp\fB\fR
the pointer to store the detected format widths
.SH "DESCRIPTION"
.PP
Queries the supported PCM rates and formats. The NULL \fIratesp\fR, \fIformatsp\fR
or \fIbsps\fR argument is ignored.
.PP
Returns 0 if successful, otherwise a negative error code.