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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73FFBC77B78 for ; Wed, 3 May 2023 06:06:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjECGGP (ORCPT ); Wed, 3 May 2023 02:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjECGGN (ORCPT ); Wed, 3 May 2023 02:06:13 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC582680 for ; Tue, 2 May 2023 23:06:10 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 78B811FE98; Wed, 3 May 2023 06:06:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683093969; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Aw1TI14wENs6g0pti+F37lBMbxrb2w8eOQXmNlSC0ks=; b=JoEshgyEXnAaA7T/5nQXEy4iks6VQH3dB1wgz+D5leGDx+n3CZDHO+ICuJY0t9zxg6juuv 8OC2SmwpLwVzRSwqndtwlseSK3IQ77h4k2rAXiykoicHPihXo8+Uctuh9p9sFBOJtULj3p OHjNniye7qNtI2J9nvw13z0/LFvnaUU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683093969; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Aw1TI14wENs6g0pti+F37lBMbxrb2w8eOQXmNlSC0ks=; b=9Xotz63MbJ7yPx5elWqg1Qghpi7hvG6o/cJaUTD8qsMTLtmFQJkxzFQl0s9xS9gBdqeSiO qV5jy9qrtfExmEBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 51C0C13584; Wed, 3 May 2023 06:06:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id UbYGE9H5UWR/JQAAMHmgww (envelope-from ); Wed, 03 May 2023 06:06:09 +0000 Date: Wed, 03 May 2023 08:06:08 +0200 Message-ID: <87jzxqne3z.wl-tiwai@suse.de> From: Takashi Iwai To: Jeff Chua Cc: Bagas Sanjaya , Oswald Buddenhagen , lkml , Takashi Iwai Subject: Re: linux-6.4 alsa sound broken In-Reply-To: <07f50016-5e24-56f8-0d02-df8d237059b6@gmail.com> References: <63bcc1eb-b0f5-4da1-0a22-31e0c86c0851@gmail.com> <07f50016-5e24-56f8-0d02-df8d237059b6@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 03 May 2023 06:37:48 +0200, Bagas Sanjaya wrote: > > On 5/3/23 11:34, Bagas Sanjaya wrote: > >> Just send .. in another email. If the atttachment got stripped off, > >> please let me know. > >> > >> > > > > I don't see your attachment. Can you please post the link > > to your test file on file storage hosting instead? > > > > Oops, I don't see the attachment on your reply at [1]. Sorry for the > inconvenience. > > [1]: https://lore.kernel.org/lkml/CAAJw_ZveoPfnBsSkHZqmLiVWATcOosR--6Ds4cdekdi=t1yV7A@mail.gmail.com/ I see no attachment of the recorded sound. In the mail above, only Side_Right.wav was attached, and this is the same file in /usr/share/sounds/alsa/. But, I wonder how you played a mono channel file with "hw:1,0" PCM. Isn't this a HD-audio device? Usually HD-audio codec can't play a mono file. For example, on my machine with a Realtek codec fails like: % aplay -Dhw:0,0 Side_Right.wav Playing WAVE 'Side_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:1358: Channels count non available So, if it works on yours, please show the output of playback with aplay -v option. This will show more details. Last but not least, please double-check that the problem is really gone after reverting the commit 9f656705c5fa. The commit is about the auto-silencing, and it should be irrelevant unless the application gives non-zero silence_size sw_params, and aplay doesn't set up it at all. thanks, Takashi