Message ID | 20240704155251.1481617-4-mjt@tls.msk.ru |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp1234829wru; Thu, 4 Jul 2024 08:59:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW1R91UGYktYgBzlNecH6q2YAnyB3a4KGp5v80P7vmRkpI/mMnabtbEDi5gCitM7f/cYq3EMAhL/QsMpd8ZC6A6 X-Google-Smtp-Source: AGHT+IG3SCwa5LGj47en95/7Y4anFTAfktI72SegFDgeVVL/S3hBHL/aVCQQlV+I5A5zlsZ1pIe5 X-Received: by 2002:a05:622a:1113:b0:446:5918:ff5d with SMTP id d75a77b69052e-447cbeee3e4mr28688281cf.9.1720108741953; Thu, 04 Jul 2024 08:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720108741; cv=none; d=google.com; s=arc-20160816; b=PHzCtWCzljuJXGO3oVNBwwVZ9sJsCrs2mxLF2+n03Ik5UxgZ2YyFspHPfuY6vCOZHZ oHjZSd/r0GrIWY+sgnzuKvihZYASvpMu/HbNqX2g26vGgRrPgfDzPXgDJtJyp3MpdB3o A/ohZIi07PbAR0fgSeZwZA2oteKCn7W4DNReaTlXStqCc06HcRcLZO+vupAFVBKQaq1I SfsOkykGpwvsZ3yOk/Mniw2UvFHtt2+WTmENAtRxiGYqY/eUPgzTzv/0YrenYivpHDiw aW4MMVsadsIBAWiW6t1uiJs4ze0Rnqo5vTvtG8cJUbNc9Ckl7vo6P0k1XWR7++kP2Jzv IaFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=ipmvfAlIHvdTyBW5AWA6X4ZVLAWNy9zO54EQtsRJX2Y=; fh=RkVaduC9mSS2s8S4opwaBgxzh946Y+Bi0zKymkK8x08=; b=Vp3TLYbMzAwAZMBn0jegh4LeoJ6hKv8BGpIMOjHjLI7aaA8lqdVxcaxrOB/OV6PKQD rK3HojZRnSO0dv0OCQNRu3oewHRf4PZbhg35/BEQH8MsBXp+A/LL1BNMfhDqYsHWL7jL NKMpLISd+CqgBU3v5Z9I9kDW3UiYSQteDHOIzEEVyxDEphhEPwi2FiYDOiNscYC2B9yX ebm5Qj2UI8Y/nmreHtAIZu8XyO5zb0f3nqCci2ImxAzwR5clDOrsjQNcFd54XtP3bfGM /lg5Mno84COJyGjIZ2T9QH/4SFsml0YnCd6qlmXLqKuH6hlE2Z5QNhnS2MqVrvswgYRc b4+A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-446513e45ebsi145297891cf.205.2024.07.04.08.59.01 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jul 2024 08:59:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1sPOlt-0000Rl-U8; Thu, 04 Jul 2024 11:53:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1sPOli-0000Ei-Va; Thu, 04 Jul 2024 11:53:12 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1sPOlg-00020t-Kq; Thu, 04 Jul 2024 11:53:09 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 828FA77492; Thu, 4 Jul 2024 18:52:46 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 4ACD9FEADD; Thu, 4 Jul 2024 18:52:51 +0300 (MSK) Received: (nullmailer pid 1481680 invoked by uid 1000); Thu, 04 Jul 2024 15:52:51 -0000 From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, "Michael S . Tsirkin" <mst@redhat.com>, Michael Tokarev <mjt@tls.msk.ru> Subject: [Stable-8.2.6 04/18] hw/audio/virtio-snd: Always use little endian audio format Date: Thu, 4 Jul 2024 18:52:35 +0300 Message-Id: <20240704155251.1481617-4-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <qemu-stable-8.2.6-20240704154854@cover.tls.msk.ru> References: <qemu-stable-8.2.6-20240704154854@cover.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index 823f9ab084..092ba2302b 100644 --- a/hw/audio/virtio-snd.c +++ b/hw/audio/virtio-snd.c @@ -401,7 +401,7 @@ static void virtio_snd_get_qemu_audsettings(audsettings *as, as->nchannels = MIN(AUDIO_MAX_CHANNELS, params->channels); as->fmt = virtio_snd_get_qemu_format(params->format); as->freq = virtio_snd_get_qemu_freq(params->rate); - as->endianness = target_words_bigendian() ? 1 : 0; + as->endianness = 0; /* Conforming to VIRTIO 1.0: always little endian. */ } /*