aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-02-01 14:02:20 +0100
committerMax Kellermann <max@duempel.org>2013-02-01 14:02:20 +0100
commit469e23342831361100d18e53f7f36631f8d96a3a (patch)
treeccb5c5c14bfa3a0331f93691b50e07818d69a4bc
parent86a0f9cf9b9cddb60a4fb58c7ef187d220e8abfd (diff)
downloadmpd-469e23342831361100d18e53f7f36631f8d96a3a.tar.gz
mpd-469e23342831361100d18e53f7f36631f8d96a3a.tar.xz
mpd-469e23342831361100d18e53f7f36631f8d96a3a.zip
PcmUtils: remove unused clamp functions
Diffstat (limited to '')
-rw-r--r--src/PcmUtils.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/PcmUtils.hxx b/src/PcmUtils.hxx
index 5683a167d..d05b8a698 100644
--- a/src/PcmUtils.hxx
+++ b/src/PcmUtils.hxx
@@ -87,18 +87,4 @@ PcmClamp(U x)
return T(x);
}
-gcc_const
-static inline int16_t
-pcm_clamp_16(int x)
-{
- return PcmClamp<int16_t, int, 16>(x);
-}
-
-gcc_const
-static inline int32_t
-pcm_clamp_24(int x)
-{
- return PcmClamp<int32_t, int, 24>(x);
-}
-
#endif