[Previous] [Contents] [Next]

snd_pcm_format_unsigned()

Check for unsigned format

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_format_unsigned( int format );

Library:

libasound.so

Description:

The snd_pcm_format_unsigned() function checks for an unsigned format.

Returns:

1
Format is unsigned.
0
Format is signed.

Otherwise, it returns an error code.

Errors:

-EINVAL
Invalid format with respect to endianness.

Classification:

ALSA

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

[Previous] [Contents] [Next]