![]() |
![]() |
![]() |
Build a linear format
#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 linear format build from given components.
Positive value (SND_PCM_SFMT_*) on success, or an error code.
See the example in Closing the mixer in the Controlling volume and balance chapter.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |