Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 8
Check for a linear format
#include <sys/asoundlib.h>
int snd_pcm_format_linear( int format );
- format
- The format number (one of the SND_PCM_SFMT_* constants).
For a list of the supported formats, see
snd_pcm_get_format_name().
libasound.so
The snd_pcm_format_linear() function
checks to see if the format is linear.
The supported linear formats are:
- SND_PCM_SFMT_S8
- SND_PCM_SFMT_U8
- SND_PCM_SFMT_S16_LE
- SND_PCM_SFMT_U16_LE
- SND_PCM_SFMT_S16_BE
- SND_PCM_SFMT_U16_BE
- SND_PCM_SFMT_S24_LE
- SND_PCM_SFMT_U24_LE
- SND_PCM_SFMT_S24_BE
- SND_PCM_SFMT_U24_BE
- SND_PCM_SFMT_S32_LE
- SND_PCM_SFMT_U32_LE
- SND_PCM_SFMT_S32_BE
- SND_PCM_SFMT_U32_BE
For a list of all the supported formats, see
snd_pcm_get_format_name().
- 1
- The format is a linear format.
- 0
- The format isn't a linear format.
None.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
snd_pcm_build_linear_format(),
snd_pcm_format_big_endian(),
snd_pcm_format_little_endian(),
snd_pcm_format_signed(),
snd_pcm_format_size(),
snd_pcm_format_unsigned(),
snd_pcm_format_width(),
snd_pcm_get_format_name()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 150
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_pcm_format_linear.html on line 150