Lines Matching refs:info
266 static DWORD millis_to_bytes (struct audio_pcm_info *info, DWORD millis)
268 return (millis * info->bytes_per_second) / 1000;
465 dst = advance (dst, src_len1 << hw->info.shift);
480 &hw->info,
482 hw->samples << hw->info.shift,
491 len1 = blen1 >> hw->info.shift;
492 len2 = blen2 >> hw->info.shift;
501 audio_pcm_info_clear_buf (&hw->info, p1, len1);
505 audio_pcm_info_clear_buf (&hw->info, p2, len2);
680 hwshift = hw->info.shift;
705 millis_to_bytes (&hw->info, conf.latency_millis) - cur_blat;
707 old_pos &= ~hw->info.align;
746 len &= ~hw->info.align;
756 &hw->info,
789 abs (ds->mixed - ds->played) / (double) hw->info.bytes_per_second);
870 hwshift = hw->info.shift;
890 if (rpos & hw->info.align) {
892 rpos, hw->info.align);
897 if (cpos & hw->info.align) {
899 cpos, hw->info.align);
911 &hw->info,