From fa82264604e6a8e342c932e8fd526017622e3f9f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 23 Aug 2014 14:40:30 +0200 Subject: pcm/PcmDsd: remove "lsbfirst" support Unused. Bit reversing is done in the decoder. --- src/pcm/PcmDsd.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pcm/PcmDsd.cxx') diff --git a/src/pcm/PcmDsd.cxx b/src/pcm/PcmDsd.cxx index ee549658d..53d26d480 100644 --- a/src/pcm/PcmDsd.cxx +++ b/src/pcm/PcmDsd.cxx @@ -48,8 +48,7 @@ PcmDsd::Reset() } ConstBuffer -PcmDsd::ToFloat(unsigned channels, bool lsbfirst, - ConstBuffer src) +PcmDsd::ToFloat(unsigned channels, ConstBuffer src) { assert(!src.IsNull()); assert(!src.IsEmpty()); @@ -72,7 +71,7 @@ PcmDsd::ToFloat(unsigned channels, bool lsbfirst, dsd2pcm_translate(dsd2pcm[c], num_frames, src.data + c, channels, - lsbfirst, dest + c, channels); + false, dest + c, channels); } return { dest, num_samples }; -- cgit v1.2.3