pcm/PcmDither: inline Dither24To16() and Dither32To16()
This commit is contained in:
parent
f3bbe4bb1f
commit
394e2815db
@ -85,7 +85,7 @@ PcmDither::DitherConvert(typename DT::pointer_type dest,
|
||||
*dest++ = DitherConvert<ST, DT>(*src++);
|
||||
}
|
||||
|
||||
void
|
||||
inline void
|
||||
PcmDither::Dither24To16(int16_t *dest, const int32_t *src,
|
||||
const int32_t *src_end)
|
||||
{
|
||||
@ -94,7 +94,7 @@ PcmDither::Dither24To16(int16_t *dest, const int32_t *src,
|
||||
DitherConvert<ST, DT>(dest, src, src_end);
|
||||
}
|
||||
|
||||
void
|
||||
inline void
|
||||
PcmDither::Dither32To16(int16_t *dest, const int32_t *src,
|
||||
const int32_t *src_end)
|
||||
{
|
||||
|
@ -19,11 +19,12 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "PcmFormat.hxx"
|
||||
#include "PcmDither.hxx"
|
||||
#include "PcmBuffer.hxx"
|
||||
#include "PcmUtils.hxx"
|
||||
#include "Traits.hxx"
|
||||
|
||||
#include "PcmDither.cxx" // including the .cxx file to get inlined templates
|
||||
|
||||
static void
|
||||
pcm_convert_8_to_16(int16_t *out, const int8_t *in, const int8_t *in_end)
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "test_pcm_all.hxx"
|
||||
#include "test_pcm_util.hxx"
|
||||
#include "pcm/PcmDither.hxx"
|
||||
#include "pcm/PcmDither.cxx"
|
||||
|
||||
void
|
||||
PcmDitherTest::TestDither24()
|
||||
|
Loading…
Reference in New Issue
Block a user