* Attempt to load replay gain data, and pass it to * DecoderClient::SubmitReplayGain(). */
| 273 | * DecoderClient::SubmitReplayGain(). |
| 274 | */ |
| 275 | static void |
| 276 | LoadReplayGain(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 |
no test coverage detected