From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DF04C7618F for ; Mon, 15 Jul 2019 21:08:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CB0C020665 for ; Mon, 15 Jul 2019 21:08:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fB/8WMw9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB0C020665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:43781 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn8DK-0000id-F6 for qemu-devel@archiver.kernel.org; Mon, 15 Jul 2019 17:08:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn8Cs-0007y4-SV for qemu-devel@nongnu.org; Mon, 15 Jul 2019 17:08:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn8Cr-0004gq-Fu for qemu-devel@nongnu.org; Mon, 15 Jul 2019 17:08:22 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:39534) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hn8Cr-0004fX-9M for qemu-devel@nongnu.org; Mon, 15 Jul 2019 17:08:21 -0400 Received: by mail-wr1-x442.google.com with SMTP id x4so18565047wrt.6 for ; Mon, 15 Jul 2019 14:08:20 -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=+qW6Pj25vUonYSa1yjKo82KCr5hWKkCFatG8S6MW820=; b=fB/8WMw9ZaBdUKK9VNDlCGN+rVQCEpeDFWDY70w414G1gJYfLSxxSoZn56WQk5gYjq 5TcRLK1NIvklOiciAKvTyMj/wQ2pK9HfmsHxP7PvFGZlq4GOMzxbxkMLNwoEhVYkHWSL yrWfZcp3eRY2EUlbBGsknsGiY3N8WcHy8jKV3OF7IQIcaswb/d7K0XGdbWYKHUakIISt o4RKrTy6N0lSVgOyfAwGDPT1iSIgX34dzuyZu8FOxYPp25LqR+uextSXzE6FwG9v3EZR NZcKRnEA10tVRVXHDNzp2tluNdX+MCOLDlG6o869pm/5c2Irt571v+AMtE9mqvFTXxuD 4qkQ== 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=+qW6Pj25vUonYSa1yjKo82KCr5hWKkCFatG8S6MW820=; b=iL3kexwarkAhiHp8vMcRBLcnSAzjKgpnmjn0iBPlnR8H3oIHzghu//3u3HUFR5DRJR zya4o6MK1NHQ0QYMM24jIpeu07moleNpyX6j1a2K6Sv5jc2USnf+z6U4nIg4Lp/N8f01 jsy8dCO/FTroQDmkjLJdkL21858WigLLtlsJdcj2dKJaeMmKkmjcskUgzgY0iiRaIzoN itl1/wXPd72pM9a3cpAk/sM3nzki2Kan162JKFpl+4Gsg7vmbDDFJ76c+L/99xGeiI4D Qn1D38pxYDcDvk+R2fmoEZ/TUhL6Tfqa6gkHkG4oJYFktjrAsVLq8fN+bGf0eI9MDyi+ l0Mw== X-Gm-Message-State: APjAAAV9prOFnVrYImT9KBWiRhIb5RARsgap4eNrNDw5+sQtnd0FSenH eThibicaAN2J/orCKmTuWfZnT2U0 X-Google-Smtp-Source: APXvYqyStqL/Ex6rdvYi1pjKtcy9s3xTKy41lcJEgq+0Sb0HlYq+XoVN8IBsyCr8wi3ZBHPDXS/PPg== X-Received: by 2002:adf:e4c6:: with SMTP id v6mr29435559wrm.315.1563224898052; Mon, 15 Jul 2019 14:08:18 -0700 (PDT) Received: from nullptr.home.dirty-ice.org (2a01-036c-0113-31ca-0000-0000-0000-0005.pool6.digikabel.hu. [2a01:36c:113:31ca::5]) by smtp.gmail.com with ESMTPSA id n8sm11513447wro.89.2019.07.15.14.08.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 14:08:17 -0700 (PDT) From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=" X-Google-Original-From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?= To: qemu-devel@nongnu.org Date: Mon, 15 Jul 2019 23:08:02 +0200 Message-Id: X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH v2 00/14] Multiple simultaneous audio backends 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hello, This is the v2 of my audio patches. Copmpared to the previous version, the only major change is the splitting of 2 commits ("basic support for multi backend audio" and "audio: audiodev= parameters no longer optional when -audiodev present") to ease review. I also included a patch that fixes a memory leak reported by ASAN. Regards, Zoltan Kővágó, Zoltán (14): audio: reduce glob_audio_state usage audio: basic support for multi backend audio audio: add audiodev property to vnc and wav_capture audio: add audiodev properties to frontends paaudio: prepare for multiple audiodev audio: audiodev= parameters no longer optional when -audiodev present paaudio: do not move stream when sink/source name is specified paaudio: properly disconnect streams in fini_* audio: remove audio_MIN, audio_MAX audio: do not run each backend in audio_run paaudio: fix playback glitches audio: remove read and write pcm_ops audio: use size_t where makes sense audio: fix memory leak reported by ASAN audio/audio.h | 36 +-- audio/audio_int.h | 43 ++-- audio/audio_template.h | 62 +++-- audio/mixeng.h | 9 +- audio/rate_template.h | 2 +- include/hw/qdev-properties.h | 3 + include/sysemu/replay.h | 4 +- ui/vnc.h | 2 + audio/alsaaudio.c | 49 ++-- audio/audio.c | 345 ++++++++++++++----------- audio/coreaudio.c | 18 +- audio/dsoundaudio.c | 25 +- audio/noaudio.c | 39 +-- audio/ossaudio.c | 75 +++--- audio/paaudio.c | 421 ++++++++++++++++++------------- audio/sdlaudio.c | 30 +-- audio/spiceaudio.c | 34 +-- audio/wavaudio.c | 18 +- audio/wavcapture.c | 6 +- hw/audio/ac97.c | 11 +- hw/audio/adlib.c | 5 +- hw/audio/cs4231a.c | 5 +- hw/audio/es1370.c | 13 +- hw/audio/gus.c | 7 +- hw/audio/hda-codec.c | 17 +- hw/audio/milkymist-ac97.c | 14 +- hw/audio/pcspk.c | 3 +- hw/audio/pl041.c | 1 + hw/audio/sb16.c | 3 +- hw/audio/wm8750.c | 10 +- hw/core/qdev-properties-system.c | 57 +++++ hw/usb/dev-audio.c | 1 + monitor/misc.c | 12 +- replay/replay-audio.c | 16 +- replay/replay.c | 2 +- ui/vnc.c | 15 +- hmp-commands.hx | 13 +- qemu-options.hx | 6 + 38 files changed, 790 insertions(+), 642 deletions(-) -- 2.22.0