| 278 | } |
| 279 | |
| 280 | static FLAC__StreamDecoderInitStatus |
| 281 | stream_init(FLAC__StreamDecoder *flac_dec, FlacDecoder *data, |
| 282 | bool is_ogg) noexcept |
| 283 | { |
| 284 | return is_ogg |
| 285 | ? stream_init_oggflac(flac_dec, data) |
| 286 | : stream_init_flac(flac_dec, data); |
| 287 | } |
| 288 | |
| 289 | static bool |
| 290 | FlacInitAndDecode(FlacDecoder &data, FLAC__StreamDecoder *sd, bool is_ogg) |
no test coverage detected