Lines Matching defs:width
206 * \brief Return the bit-width of the format
208 * \return the bit-width of the format, or a negative error code if not applicable
273 * \brief Return the physical bit-width of the format (bits needed to store a PCM sample)
275 * \return the physical bit-width of the format, or a negative error code if not applicable
710 * \param width Nominal bits per sample
711 * \param pwidth Physical bit width of the format
716 snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian)
719 switch (width) {
721 width = 0;
724 width = 1;
727 width = 2;
732 return linear24_formats[width][!!unsignd][!!big_endian];
734 switch (width) {
736 width = 0;
739 width = 1;
742 width = 2;
745 width = 3;
748 width = 4;
753 return linear_formats[width][!!unsignd][!!big_endian];