Lines Matching defs:DecoderCommon
124 class DecoderCommon {
131 DecoderCommon(Layer layer): layer_(layer), current_metadata_number_(0), ignore_errors_(false), error_occurred_(false) { }
137 ::FLAC__StreamDecoderWriteStatus DecoderCommon::common_write_callback_(const ::FLAC__Frame *frame)
153 void DecoderCommon::common_metadata_callback_(const ::FLAC__StreamMetadata *metadata)
174 void DecoderCommon::common_error_callback_(::FLAC__StreamDecoderErrorStatus status)
182 class StreamDecoder : public FLAC::Decoder::Stream, public DecoderCommon {
186 StreamDecoder(Layer layer): FLAC::Decoder::Stream(), DecoderCommon(layer), file_(0) { }
345 class FileDecoder : public FLAC::Decoder::File, public DecoderCommon {
347 FileDecoder(Layer layer): FLAC::Decoder::File(), DecoderCommon(layer) { }
598 dynamic_cast<DecoderCommon*>(decoder)->current_metadata_number_ = 0;
599 dynamic_cast<DecoderCommon*>(decoder)->ignore_errors_ = false;
600 dynamic_cast<DecoderCommon*>(decoder)->error_occurred_ = false;
630 dynamic_cast<DecoderCommon*>(decoder)->ignore_errors_ = true;
635 dynamic_cast<DecoderCommon*>(decoder)->ignore_errors_ = false;
716 dynamic_cast<DecoderCommon*>(decoder)->current_metadata_number_ = 0;