Searched refs:samples_read (Results 1 – 2 of 2) sorted by relevance
28 size_t samples_read = in Init() local33 if (block_length_samples > samples_read) in Init()39 memcpy(&audio_array_[samples_read], audio_array_.get(), in Init()42 loop_length_samples_ = samples_read; in Init()
33 size_t samples_read = fread(destination, sizeof(int16_t), samples, fp_); in Read() local34 if (samples_read < samples) { in Read()40 size_t missing_samples = samples - samples_read; in Read()41 if (fread(destination + samples_read, sizeof(int16_t), missing_samples, in Read()