pcm/PcmDsd: remove "lsbfirst" support

Unused.  Bit reversing is done in the decoder.
This commit is contained in:
Max Kellermann
2014-08-23 14:40:30 +02:00
parent ae467aa42e
commit fa82264604
3 changed files with 4 additions and 6 deletions

View File

@@ -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 };