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

Function FrameToOffset

src/decoder/plugins/DsdiffDecoderPlugin.cxx:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345static offset_type
346FrameToOffset(uint64_t frame, unsigned channels)
347{
348 return frame * channels;
349}
350
351/**
352 * Decode one "DSD" chunk.

Callers 1

dsdiff_decode_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected