| 28 | InputStream &is; |
| 29 | |
| 30 | size_t Read(void *buffer, size_t size) { |
| 31 | /* libsndfile chokes on partial reads; therefore |
| 32 | always force full reads */ |
| 33 | return decoder_read_much(client, is, |
| 34 | {reinterpret_cast<std::byte *>(buffer), size}); |
| 35 | } |
| 36 | }; |
| 37 | |
| 38 | static sf_count_t |
no test coverage detected