![]() |
![]() |
![]() |
![]() |
Encode a linear format value
#include <sys/asoundlib.h>
int snd_pcm_build_linear_format( int width,
int unsigned,
int big_endian );
libasound.so
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().
A positive value (SND_PCM_SFMT_*) on success, or -1 if the arguments are invalid.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
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()
![]() |
![]() |
![]() |
![]() |