[Previous] [Contents] [Next]

snd_pcm_format_linear()

Check for linear format

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_format_linear( int format );

Library:

libasound.so

Description:

The snd_pcm_format_linear() function checks to see if the format is linear.

Returns:

One if the format is linear (SND_PCM_SFMT_x8, x16, x24, x32), or an error code.

Errors:

None.

Classification:

ALSA

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

[Previous] [Contents] [Next]