SND_HDA_CALC_STREAM_FORMAT
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
snd_hda_calc_stream_format - calculate format bitset
SYNOPSIS
"SYNOPSIS"
unsigned int snd_hda_calc_stream_format (unsigned int rate, unsigned int channels, unsigned int format, unsigned int maxbps);
ARGUMENTS
- rate
-
the sample rate
- channels
-
the number of channels
- format
-
the PCM format (SNDRV_PCM_FORMAT_XXX)
- maxbps
-
the max. bps
DESCRIPTION
Calculate the format bitset from the given rate, channels and th PCM format.
Return zero if invalid.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:50 GMT, October 09, 2005