Searched refs:convert_samples (Results 1 – 1 of 1) sorted by relevance
/external/qemu/audio/ |
D | wavaudio.c | 81 int convert_samples = audio_MIN (samples, left_till_end_samples); in wav_out_run() local 86 hw->clip (dst, src, convert_samples); in wav_out_run() 87 if (fwrite (dst, convert_samples << hw->info.shift, 1, wav->f) != 1) { in wav_out_run() 89 convert_samples << hw->info.shift, strerror (errno)); in wav_out_run() 92 rpos = (rpos + convert_samples) % hw->samples; in wav_out_run() 93 samples -= convert_samples; in wav_out_run() 94 wav->total_samples += convert_samples; in wav_out_run() 381 int convert_samples = audio_MIN (samples, left_till_end_samples); in wav_in_run() local 387 size_t read_bytes = fread(src, 1, convert_samples << hw->info.shift, wav->f); in wav_in_run()
|