MPD
|
#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 int64_t | pcm_range_64 (int64_t sample, unsigned bits) |
Check if the value is within the range of the provided bit size, and caps it if necessary. | |
|
inlinestatic |
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.
|
inlinestatic |
Check if the value is within the range of the provided bit size, and caps it if necessary.
Definition at line 46 of file pcm_utils.h.