HomeSort by relevance Sort by last modified time
    Searched full:frames_needed (Results 1 - 1 of 1) sorted by null

  /system/media/audio_utils/
resampler.c 39 size_t frames_needed; // minimum number of input frames to produce member in struct:resampler
91 rsmp->frames_needed = (framesRq * rsmp->in_sample_rate) / rsmp->out_sample_rate + 1;
98 if (rsmp->frames_in < rsmp->frames_needed) {
102 if (rsmp->in_buf_size < rsmp->frames_needed) {
103 rsmp->in_buf_size = rsmp->frames_needed;
108 buf.frame_count = rsmp->frames_needed - rsmp->frames_in;

Completed in 157 milliseconds