aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-07 00:46:47 +0100
committerMax Kellermann <max@duempel.org>2014-01-07 00:46:47 +0100
commitbd01d80ffc5fec898117814f5bb5478639020ccf (patch)
tree36fa194a5a3034411e6940d96a2fc8184d6fe351 /src/pcm
parent7eda72d4409dbed7bc40c61d105282f90527f16a (diff)
downloadmpd-bd01d80ffc5fec898117814f5bb5478639020ccf.tar.gz
mpd-bd01d80ffc5fec898117814f5bb5478639020ccf.tar.xz
mpd-bd01d80ffc5fec898117814f5bb5478639020ccf.zip
pcm/Utils: remove unused function pcm_end_pointer()
Diffstat (limited to 'src/pcm')
-rw-r--r--src/pcm/PcmUtils.hxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pcm/PcmUtils.hxx b/src/pcm/PcmUtils.hxx
index 0ca5dd4ac..9c741e55b 100644
--- a/src/pcm/PcmUtils.hxx
+++ b/src/pcm/PcmUtils.hxx
@@ -30,18 +30,6 @@ enum class SampleFormat : uint8_t;
template<SampleFormat F> struct SampleTraits;
/**
- * Add a byte count to the specified pointer. This is a utility
- * function to convert a source pointer and a byte count to an "end"
- * pointer for use in loops.
- */
-template<typename T>
-static inline const T *
-pcm_end_pointer(const T *p, size_t size)
-{
- return (const T *)((const uint8_t *)p + size);
-}
-
-/**
* Check if the value is within the range of the provided bit size,
* and caps it if necessary.
*/