From patchwork Thu Sep 19 21:24:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?UTF-8?B?Wm9sdMOhbiBLxZF2w6Fnw7M=?= X-Patchwork-Id: 1164878 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e62EpKiR"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Z8zK3fLTz9sPL for ; Fri, 20 Sep 2019 07:26:03 +1000 (AEST) Received: from localhost ([::1]:48610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB3w6-0002ce-Pr for incoming@patchwork.ozlabs.org; Thu, 19 Sep 2019 17:25:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53431) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB3ub-0002br-CB for qemu-devel@nongnu.org; Thu, 19 Sep 2019 17:24:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iB3ua-0000Vt-0z for qemu-devel@nongnu.org; Thu, 19 Sep 2019 17:24:25 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iB3uZ-0000VS-RO for qemu-devel@nongnu.org; Thu, 19 Sep 2019 17:24:23 -0400 Received: by mail-wr1-x444.google.com with SMTP id r5so4573992wrm.12 for ; Thu, 19 Sep 2019 14:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iNs6eWt27MaIpb40H1K4tAhbXFDvNNI6le6zoh48hB4=; b=e62EpKiRxju08VS+aSD3PFQV5caaMjrLbSd6LYtFBmDmSiHqSmuNOwAdgUu8RrEttV EnjLXOObObDetJC4cuGDPyEBbWVU7B6pvLTr1N1m+GZLe4EziZ0jmVmAOWZfkza2UL35 m52jBxbSfvvmnFNOIFVwpqqpK6xUrtR2L80vDXMk+c0eq5T74vHaopgaOQwpZyK9/7mG epX/ldz+xMGAoxGPjC7cRfFzYOt1UeHrrQsErsQkepSEfl07mlSvYok6JT8AEQrPfia2 cRI8BhFkmNXJ/lb1Xq96O+1xT9KzNfsImq+ynCcgTi+vsv75LFlz1EvLEvV2+O+GBLtJ m8XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iNs6eWt27MaIpb40H1K4tAhbXFDvNNI6le6zoh48hB4=; b=cC7+Nt/7xQ/td/+/hVXjP3Hw3sln9SEKYxk/YPoWWdthAFKE6UzyMQGXVjuVOS0X5f PK57893Pgrk5tAs4vFFnuSiMovHQmfREM9o4vCQoFDU+jKtOMFAjdn0eEhsOi6SeIBTJ omMpfbrI8lkfRJIXpwawKoZ199n5fHyjPzAqIdZRvHOts2aUJJQKWlSWNKzPcW22utXZ f6vSFcIsXVUzNndCx08WVObOUsSLhxnEdOmGxG91zEQ0o02CAp7KMN18qq4A856f+0AU /3sDZFuikZqP4DEk1v4nce0Pp053tgSdqtDMLdkzGZOJClC1kmldzlFFPmg/YY2Qy5l9 PTbQ== X-Gm-Message-State: APjAAAUavTkONAKOTHUSJR7Y8ntqEFGOgXMNCTQ2HCe0nHWMUGvZdHhG U+Bf7Mxbqai2KeDvNkyQSn+pp2AH X-Google-Smtp-Source: APXvYqwOTLd8msQlrkN8nANBKVH+X0dzOMORdlf1JF+xlk4eYIZTXOeaFDriV+5cvZyRLaaymfbZmg== X-Received: by 2002:a5d:5692:: with SMTP id f18mr8310530wrv.68.1568928262082; Thu, 19 Sep 2019 14:24:22 -0700 (PDT) Received: from nullptr.home.dirty-ice.org (2a01-036c-0113-74ef-0000-0000-0000-0005.pool6.digikabel.hu. [2a01:36c:113:74ef::5]) by smtp.gmail.com with ESMTPSA id w125sm13191292wmg.32.2019.09.19.14.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 14:24:21 -0700 (PDT) From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=" X-Google-Original-From: =?utf-8?b?S8WRdsOhZ8OzLCBab2x0w6Fu?= To: qemu-devel@nongnu.org Subject: [PATCH v4 00/24] Audio: Mixeng-free 5.1/7.1 audio support Date: Thu, 19 Sep 2019 23:24:08 +0200 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hi, This is the newest iteration of my mixeng-free audio patches. Changes from v3: * fixed typo in documentation * fix wavaudio format-string error on 32-bit targets. 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 mixing-engine 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 | 527 +++++++++++++++++++++++++++++-------- 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 | 359 +++++++------------------ audio/noaudio.c | 78 +++--- audio/ossaudio.c | 360 ++++++++++--------------- audio/paaudio.c | 566 +++++++++++++--------------------------- audio/sdlaudio.c | 104 ++++---- audio/spiceaudio.c | 256 +++++++----------- audio/wavaudio.c | 78 ++---- configure | 5 - hw/usb/dev-audio.c | 459 +++++++++++++++++++++++++++----- qapi/audio.json | 12 +- qemu-options.hx | 15 ++ 21 files changed, 1697 insertions(+), 2008 deletions(-) delete mode 100644 audio/audio_pt_int.c delete mode 100644 audio/audio_pt_int.h