Home | History | Annotate | Download | only in audio

Lines Matching refs:samples

61     int rpos, decr, samples;
70 samples = INT_MAX >> hw->info.shift;
73 samples = bytes >> hw->info.shift;
77 decr = audio_MIN (live, samples);
78 samples = decr;
80 while (samples) {
81 int left_till_end_samples = hw->samples - rpos;
82 int convert_samples = audio_MIN (samples, left_till_end_samples);
90 rpos = (rpos + convert_samples) % hw->samples;
91 samples -= convert_samples;
151 hw->samples = 1024;
152 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift);
155 hw->samples << hw->info.shift);
316 hw->samples = 1024;
317 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift);
348 int wpos, live, decr, samples;
357 samples = INT_MAX >> hw->info.shift;
360 samples = bytes >> hw->info.shift;
370 decr = audio_MIN (live, samples);
371 samples = decr;
373 while (samples) {
374 int left_till_end_samples = hw->samples - wpos;
375 int convert_samples = audio_MIN (samples, left_till_end_samples);
383 wpos = (wpos + convert_samples) % hw->samples;
384 samples -= convert_samples;