Hi, This is the final part of my audio patch series that finally makes mixeng optional and lifts the restriction of only supporting two channels of audio.
It probably gained a bit of dust in the last few years, I've fixed most issues reported by checkpatch, but there might be other problems. Regards, Zoltan Kővágó, Zoltán (25): 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: remove hw->samples, buffer_size_in/out pcm_ops 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 configure | 5 - qapi/audio.json | 12 +- audio/audio.h | 10 + audio/audio_int.h | 84 ++++-- audio/audio_pt_int.h | 22 -- audio/audio_template.h | 55 ++-- audio/dsound_template.h | 59 +++-- audio/alsaaudio.c | 398 +++++++++------------------- audio/audio.c | 524 ++++++++++++++++++++++++++++-------- audio/audio_pt_int.c | 173 ------------ audio/coreaudio.c | 153 ++++++----- audio/dsoundaudio.c | 387 ++++++++------------------- audio/noaudio.c | 78 +++--- audio/ossaudio.c | 392 +++++++++++---------------- audio/paaudio.c | 573 +++++++++++++--------------------------- audio/sdlaudio.c | 112 ++++---- audio/spiceaudio.c | 270 +++++++------------ audio/wavaudio.c | 79 ++---- hw/usb/dev-audio.c | 461 +++++++++++++++++++++++++++----- audio/Makefile.objs | 1 - qemu-options.hx | 15 ++ 21 files changed, 1815 insertions(+), 2048 deletions(-) delete mode 100644 audio/audio_pt_int.h delete mode 100644 audio/audio_pt_int.c -- 2.22.0