Home | History | Annotate | Download | only in audio

Lines Matching refs:info

66     int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec;
69 samples = INT_MAX >> hw->info.shift;
72 samples = bytes >> hw->info.shift;
89 dst = advance (wav->pcm_buf, rpos << hw->info.shift);
92 qemu_put_buffer (wav->f, dst, convert_samples << hw->info.shift);
153 audio_pcm_init_info (&hw->info, &wav_as);
156 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift);
159 hw->samples << hw->info.shift);
163 le_store (hdr + 22, hw->info.nchannels, 2);
164 le_store (hdr + 24, hw->info.freq, 4);
165 le_store (hdr + 28, hw->info.freq << (bits16 + stereo), 4);
186 uint32_t datalen = wav->total_samples << hw->info.shift;
318 audio_pcm_init_info (&hw->info, &wav_as);
321 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift);
358 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec;
361 samples = INT_MAX >> hw->info.shift;
364 samples = bytes >> hw->info.shift;
382 src = advance (wav->pcm_buf, wpos << hw->info.shift);
384 qemu_get_buffer (wav->f, src, convert_samples << hw->info.shift);
385 memcpy (dst, src, convert_samples << hw->info.shift);