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

Method Read

src/decoder/plugins/SndfileDecoderPlugin.cxx:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
38static sf_count_t

Callers 1

sndfile_vio_readFunction · 0.45

Calls 1

decoder_read_muchFunction · 0.85

Tested by

no test coverage detected