#include <glib.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
static int32_t | pcm_range (int32_t sample, unsigned bits) |
Check if the value is within the range of the provided bit size, and caps it if necessary. |
static int32_t pcm_range | ( | int32_t | sample, | |
unsigned | bits | |||
) | [inline, static] |
Check if the value is within the range of the provided bit size, and caps it if necessary.
Definition at line 32 of file pcm_utils.h.