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 @@ -29,18 +29,6 @@ enum class SampleFormat : uint8_t; template 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 -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.