Check for signed format
#include <sys/asoundlib.h> int snd_pcm_format_unsigned( int format );
libasound.so
The snd_pcm_format_signed() function checks for a signed format.
Otherwise, it returns an error code.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |