Re: [Qemu-devel] [PATCH v2 04/24] dsoundaudio: port to the new audio backend api

2019-09-11 Thread Gerd Hoffmann
> +static void *dsound_get_buffer_in(HWVoiceIn *hw, size_t *size) > { > +int err; > +void *ret; > +n > +hr = IDirectSoundCaptureBuffer_GetCurrentPosition(dscb, &cpos, NULL); Huh? Stray 'n' here. That can hardly survived a build test ... Removed it. Builds now. Continuing testing

[Qemu-devel] [PATCH v2 04/24] dsoundaudio: port to the new audio backend api

2019-09-08 Thread Kővágó, Zoltán
Signed-off-by: Kővágó, Zoltán --- audio/dsound_template.h | 47 +++--- audio/dsoundaudio.c | 307 +--- 2 files changed, 92 insertions(+), 262 deletions(-) diff --git a/audio/dsound_template.h b/audio/dsound_template.h index 8ece870c9e..9f10b688df 100644 -