Hi, This is the v2 of my patch series that makes mixeng optional and enables more than two audio channels.
Changes from v1: * renamed "mixeng" option to "mixing-engine" * dropped patch "audio: remove hw->samples, buffer_size_in/out pcm_ops" Regards, Zoltan Kővágó, Zoltán (24): audio: api for mixeng code free backends alsaaudio: port to the new audio backend api coreaudio: port to the new audio backend api dsoundaudio: port to the new audio backend api noaudio: port to the new audio backend api ossaudio: port to the new audio backend api paaudio: port to the new audio backend api sdlaudio: port to the new audio backend api spiceaudio: port to the new audio backend api wavaudio: port to the new audio backend api audio: remove remains of the old backend api audio: unify input and output mixeng buffer management audio: common rate control code for timer based outputs audio: split ctl_* functions into enable_* and volume_* audio: add mixeng option (documentation) audio: make mixeng optional paaudio: get/put_buffer functions audio: support more than two channels in volume setting audio: replace shift in audio_pcm_info with bytes_per_frame audio: basic support for multichannel audio paaudio: channel-map option usb-audio: do not count on avail bytes actually available usb-audio: support more than two channels of audio usbaudio: change playback counters to 64 bit audio/Makefile.objs | 1 - audio/alsaaudio.c | 372 ++++++++------------------ audio/audio.c | 522 ++++++++++++++++++++++++++++-------- audio/audio.h | 10 + audio/audio_int.h | 81 ++++-- audio/audio_pt_int.c | 173 ------------ audio/audio_pt_int.h | 22 -- audio/audio_template.h | 31 ++- audio/coreaudio.c | 143 +++++----- audio/dsound_template.h | 53 ++-- audio/dsoundaudio.c | 361 +++++++------------------ audio/noaudio.c | 78 +++--- audio/ossaudio.c | 360 ++++++++++--------------- audio/paaudio.c | 566 +++++++++++++--------------------------- audio/sdlaudio.c | 104 ++++---- audio/spiceaudio.c | 252 ++++++------------ audio/wavaudio.c | 78 ++---- configure | 5 - hw/usb/dev-audio.c | 459 +++++++++++++++++++++++++++----- qapi/audio.json | 12 +- qemu-options.hx | 15 ++ 21 files changed, 1689 insertions(+), 2009 deletions(-) delete mode 100644 audio/audio_pt_int.c delete mode 100644 audio/audio_pt_int.h -- 2.23.0