pcm/PcmUtils: remove unused function PcmClampN()
This commit is contained in:
parent
30c4136c4d
commit
80eb8d9e26
@ -63,16 +63,4 @@ PcmClamp(U x)
|
|||||||
return T(x);
|
return T(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if the values in this buffer are within the range of the
|
|
||||||
* provided bit size, and clamps them whenever necessary.
|
|
||||||
*/
|
|
||||||
template<typename T, typename U, unsigned bits>
|
|
||||||
static inline void
|
|
||||||
PcmClampN(T *dest, const U *src, unsigned n)
|
|
||||||
{
|
|
||||||
while (n-- > 0)
|
|
||||||
*dest++ = PcmClamp<T, U, bits>(*src++);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user