* Decodes a file. */
| 450 | * Decodes a file. |
| 451 | */ |
| 452 | static void |
| 453 | wavpack_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 | |
| 465 | static void |
| 466 | Scan(WavpackContext *wpc,TagHandler &handler) noexcept |
nothing calls this directly
no test coverage detected