| 179 | } |
| 180 | |
| 181 | inline void |
| 182 | HttpdOutput::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 | |
| 194 | void |
| 195 | HttpdOutput::Open(AudioFormat &audio_format) |