MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / InterleaveDsfBlock

Function InterleaveDsfBlock

src/decoder/plugins/DsfDecoderPlugin.cxx:217–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static void
218InterleaveDsfBlock(std::byte *gcc_restrict dest, const std::byte *gcc_restrict src,
219 unsigned channels)
220{
221 if (channels == 1)
222 InterleaveDsfBlockMono(dest, src);
223 else if (channels == 2)
224 InterleaveDsfBlockStereo(dest, src);
225 else
226 InterleaveDsfBlockGeneric(dest, src, channels);
227}
228
229static offset_type
230FrameToBlock(uint64_t frame)

Callers 1

dsf_decode_chunkFunction · 0.85

Calls 3

InterleaveDsfBlockMonoFunction · 0.85
InterleaveDsfBlockStereoFunction · 0.85

Tested by

no test coverage detected