Home
last modified time | relevance | path

Searched refs:samples_size (Results 1 – 1 of 1) sorted by relevance

/external/qemu/audio/
Dwinaudio.c164 int shift, i, samples_size; in winaudio_out_init() local
206 samples_size = format.nBlockAlign * conf.nb_samples; in winaudio_out_init()
207 s->buffer_bytes = qemu_malloc( NUM_OUT_BUFFERS * samples_size ); in winaudio_out_init()
217 s->buffers[i].lpData = (LPSTR)(s->buffer_bytes + i*samples_size); in winaudio_out_init()
218 s->buffers[i].dwBufferLength = samples_size; in winaudio_out_init()
248 s->write_size = samples_size; in winaudio_out_init()
411 int shift, i, samples_size; in winaudio_in_init() local
451 samples_size = format.nBlockAlign * conf.nb_samples; in winaudio_in_init()
452 s->buffer_bytes = qemu_malloc( NUM_IN_BUFFERS * samples_size ); in winaudio_in_init()
462 s->buffers[i].lpData = (LPSTR)(s->buffer_bytes + i*samples_size); in winaudio_in_init()
[all …]