Home
last modified time | relevance | path

Searched refs:sample_buffer_first_ (Results 1 – 1 of 1) sorted by relevance

/external/flac/src/plugin_xmms/
Dplugin.c133 static uint32_t sample_buffer_first_, sample_buffer_last_; variable
279 sample_buffer_first_ = sample_buffer_last_ = 0; in FLAC_XMMS__play_file()
447 while(sample_buffer_last_ - sample_buffer_first_ < SAMPLES_PER_WRITE) { in play_loop_()
450 s = sample_buffer_last_ - sample_buffer_first_; in play_loop_()
461 blocksize = sample_buffer_last_ - sample_buffer_first_ - s; in play_loop_()
466 if(sample_buffer_last_ - sample_buffer_first_ > 0) { in play_loop_()
467 const uint32_t n = min(sample_buffer_last_ - sample_buffer_first_, SAMPLES_PER_WRITE); in play_loop_()
469 …FLAC__byte *sample_buffer_start = sample_buffer_ + sample_buffer_first_ * stream_data_.channels * … in play_loop_()
473 sample_buffer_first_ += n; in play_loop_()
486 …decode_position = decode_position_frame - (double)(sample_buffer_last_ - sample_buffer_first_) * (… in play_loop_()
[all …]