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

Function flac_write_cb

src/decoder/plugins/FlacDecoderPlugin.cxx:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static FLAC__StreamDecoderWriteStatus
50flac_write_cb(const FLAC__StreamDecoder *dec, const FLAC__Frame *frame,
51 const FLAC__int32 *const buf[], void *vdata) noexcept
52{
53 auto &fd = *(FlacDecoder *)vdata;
54 return fd.OnWrite(*frame, buf, fd.GetDeltaPosition(*dec));
55}
56
57static bool
58flac_scan_file(Path path_fs, TagHandler &handler) noexcept

Callers

nothing calls this directly

Calls 2

OnWriteMethod · 0.80
GetDeltaPositionMethod · 0.80

Tested by

no test coverage detected