aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmDsd.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-23 14:40:30 +0200
committerMax Kellermann <max@duempel.org>2014-08-23 14:46:34 +0200
commitfa82264604e6a8e342c932e8fd526017622e3f9f (patch)
tree8e5d802aaef702deec883b5cbfedb7498bd48b68 /src/pcm/PcmDsd.cxx
parentae467aa42e802114eef353fc43d455e775bee7de (diff)
downloadmpd-fa82264604e6a8e342c932e8fd526017622e3f9f.tar.gz
mpd-fa82264604e6a8e342c932e8fd526017622e3f9f.tar.xz
mpd-fa82264604e6a8e342c932e8fd526017622e3f9f.zip
pcm/PcmDsd: remove "lsbfirst" support
Unused. Bit reversing is done in the decoder.
Diffstat (limited to 'src/pcm/PcmDsd.cxx')
-rw-r--r--src/pcm/PcmDsd.cxx5
1 files changed, 2 insertions, 3 deletions
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<float>
-PcmDsd::ToFloat(unsigned channels, bool lsbfirst,
- ConstBuffer<uint8_t> src)
+PcmDsd::ToFloat(unsigned channels, ConstBuffer<uint8_t> 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 };