| Updated: October 28, 2024 | 
Encode a linear format value
#include <sys/asoundlib.h>
int snd_pcm_build_linear_format( int width, 
                                 int unsigned, 
                                 int big_endian );
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 |