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

Function wavpack_filedecode

src/decoder/plugins/WavpackDecoderPlugin.cxx:452–463  ·  view source on GitHub ↗

* Decodes a file. */

Source from the content-addressed store, hash-verified

450 * Decodes a file.
451 */
452static void
453wavpack_filedecode(DecoderClient &client, Path path_fs)
454{
455 auto *wpc = WavpackOpenInput(path_fs,
456 OPEN_DSD_FLAG | OPEN_NORMALIZE | OPEN_WVC,
457 0);
458 AtScopeExit(wpc) {
459 WavpackCloseFile(wpc);
460 };
461
462 wavpack_decode(client, wpc, true);
463}
464
465static void
466Scan(WavpackContext *wpc,TagHandler &handler) noexcept

Callers

nothing calls this directly

Calls 2

WavpackOpenInputFunction · 0.85
wavpack_decodeFunction · 0.85

Tested by

no test coverage detected