#include "Compiler.h"
#include <limits>
#include <stdint.h>
Go to the source code of this file.
|
template<SampleFormat F, class Traits = SampleTraits<F>> |
static gcc_const Traits::value_type | PcmClamp (typename Traits::long_type x) |
| Check if the value is within the range of the provided bit size, and caps it if necessary. More...
|
|
template<SampleFormat F, class Traits = SampleTraits<F>>
static gcc_const Traits::value_type PcmClamp |
( |
typename Traits::long_type |
x | ) |
|
|
inlinestatic |
Check if the value is within the range of the provided bit size, and caps it if necessary.
Definition at line 39 of file PcmUtils.hxx.