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_build_linear_format.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_build_linear_format.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_build_linear_format.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_build_linear_format.html on line 8

snd_pcm_build_linear_format()

Encode a linear format value

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_build_linear_format( int width, 
                                 int unsigned, 
                                 int big_endian );

Arguments:

width
The width; one of 8, 16, 24, or 32.
unsigned
0 for signed; 1 for unsigned.
big_endian
0 for little endian; 1 for big endian.

Library:

libasound.so

Description:

The snd_pcm_build_linear_format() function returns the linear format value encoded from the given components. For a list of the supported linear formats, see snd_pcm_format_linear().

Returns:

A positive value (SND_PCM_SFMT_*) on success, or -1 if the arguments are invalid.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

snd_pcm_format_big_endian(), snd_pcm_format_linear(), 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_build_linear_format.html on line 121

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_build_linear_format.html on line 121