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

Function mpc_to_mpd_buffer

src/decoder/plugins/MpcdecDecoderPlugin.cxx:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static void
115mpc_to_mpd_buffer(MpcdecSampleTraits::pointer dest,
116 const MPC_SAMPLE_FORMAT *src,
117 unsigned num_samples)
118{
119 while (num_samples-- > 0)
120 *dest++ = mpc_to_mpd_sample(*src++);
121}
122
123static constexpr ReplayGainTuple
124ImportMpcdecReplayGain(mpc_uint16_t gain, mpc_uint16_t peak) noexcept

Callers 1

mpcdec_decodeFunction · 0.85

Calls 1

mpc_to_mpd_sampleFunction · 0.85

Tested by

no test coverage detected