Lines Matching refs:decoder_
135 static FLAC__StreamDecoder *decoder_ = 0; variable
259 decoder_ = FLAC__stream_decoder_new(); in FLAC_XMMS__init()
294 if(decoder_ == 0) in FLAC_XMMS__play_file()
297 if(!safe_decoder_init_(filename, decoder_)) in FLAC_XMMS__play_file()
312 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file()
328 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file()
337 safe_decoder_finish_(decoder_); in FLAC_XMMS__play_file()
358 safe_decoder_finish_(decoder_); in FLAC_XMMS__stop()
390 safe_decoder_delete_(decoder_); in FLAC_XMMS__cleanup()
391 decoder_ = 0; in FLAC_XMMS__cleanup()
451 if(FLAC__stream_decoder_get_state(decoder_) == FLAC__STREAM_DECODER_END_OF_STREAM) { in play_loop_()
455 else if(!FLAC__stream_decoder_process_single(decoder_)) { in play_loop_()
463 …if(stream_data_.is_http_source || !FLAC__stream_decoder_get_decode_position(decoder_, &decode_posi… in play_loop_()
507 if(FLAC__stream_decoder_seek_absolute(decoder_, target_sample)) { in play_loop_()
510 if(!FLAC__stream_decoder_get_decode_position(decoder_, &decode_position_frame)) in play_loop_()
515 else if(FLAC__stream_decoder_get_state(decoder_) == FLAC__STREAM_DECODER_SEEK_ERROR) { in play_loop_()
518 FLAC__stream_decoder_flush(decoder_); in play_loop_()
534 safe_decoder_finish_(decoder_); in play_loop_()