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

Method OpenEncoder

src/output/plugins/httpd/HttpdOutputPlugin.cxx:181–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181inline void
182HttpdOutput::OpenEncoder(AudioFormat &audio_format)
183{
184 encoder = prepared_encoder->Open(audio_format);
185
186 /* we have to remember the encoder header, i.e. the first
187 bytes of encoder output after opening it, because it has to
188 be sent to every new client */
189 header = ReadPage();
190
191 unflushed_input = 0;
192}
193
194void
195HttpdOutput::Open(AudioFormat &audio_format)

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected