diff --git a/src/pcm/Traits.hxx b/src/pcm/Traits.hxx index c0ef32388..6d7bcc6ea 100644 --- a/src/pcm/Traits.hxx +++ b/src/pcm/Traits.hxx @@ -150,4 +150,13 @@ struct SampleTraits { static constexpr value_type MAX = 1; }; +template<> +struct SampleTraits { + typedef uint8_t value_type; + typedef value_type *pointer_type; + typedef const value_type *const_pointer_type; + + static constexpr size_t SAMPLE_SIZE = sizeof(value_type); +}; + #endif