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

Function LoadReplayGain

src/decoder/Thread.cxx:275–281  ·  view source on GitHub ↗

* Attempt to load replay gain data, and pass it to * DecoderClient::SubmitReplayGain(). */

Source from the content-addressed store, hash-verified

273 * DecoderClient::SubmitReplayGain().
274 */
275static void
276LoadReplayGain(DecoderClient &client, InputStream &is)
277{
278 ReplayGainInfo info;
279 if (replay_gain_ape_read(is, info))
280 client.SubmitReplayGain(&info);
281}
282
283/**
284 * Call LoadReplayGain() unless ReplayGain is disabled. This saves

Callers 1

MaybeLoadReplayGainFunction · 0.85

Calls 2

replay_gain_ape_readFunction · 0.85
SubmitReplayGainMethod · 0.45

Tested by

no test coverage detected