Re: [Qemu-devel] [PATCH 01/11] audio: reduce glob_audio_state usage

2019-07-10 Thread Marc-André Lureau
On Tue, Jul 9, 2019 at 10:57 PM Kővágó, Zoltán wrote: > > Remove glob_audio_state from functions, where possible without breaking > the API. This means that most static functions in audio.c now take an > AudioState pointer instead of implicitly using glob_audio_state. Also > included a pointer i

[Qemu-devel] [PATCH 01/11] audio: reduce glob_audio_state usage

2019-07-09 Thread Kővágó, Zoltán
Remove glob_audio_state from functions, where possible without breaking the API. This means that most static functions in audio.c now take an AudioState pointer instead of implicitly using glob_audio_state. Also included a pointer in SWVoice*, HWVoice* structs, so that functions dealing them can