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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8446DC433EF for ; Wed, 13 Jul 2022 11:37:38 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 82AFA1712; Wed, 13 Jul 2022 13:36:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 82AFA1712 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657712256; bh=xUQXTZeKM+08R/Y+/9WBudO3ZGDbGLydyLyiwqK/ucI=; h=From:To:In-Reply-To:References:Subject:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tlYN+DiU4BXv0h3LXtp076rt5AB0VUQvydTQlGGGjNPVm9RYHTDgZeaKKLJYldSDG T/cBkP+5kTF6/I2+Fl8RRRiOvRx99PZhAki/e5NfX0BBjhaOmdi3U3JacS4km78FD6 CpAnpsJD9PPYKRGW4ru1PBeVVh6uSKheWgRhQXfs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2CF0CF8012B; Wed, 13 Jul 2022 13:36:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7664CF80249; Wed, 13 Jul 2022 13:36:45 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (gate.perex.cz [77.48.224.242]) by alsa1.perex.cz (Postfix) with ESMTP id 4C432F8019B for ; Wed, 13 Jul 2022 13:36:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4C432F8019B MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - edited To: alsa-devel@alsa-project.org In-Reply-To: <1657712196650583029-webhooks-bot@alsa-project.org> References: <1657712196650583029-webhooks-bot@alsa-project.org> Subject: snd-aloop working no more on 1.2.7.1 Message-Id: <20220713113645.7664CF80249@alsa1.perex.cz> Date: Wed, 13 Jul 2022 13:36:45 +0200 (CEST) X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" alsa-project/alsa-lib issue #251 was edited from tramchamploo: ``` pcm.er4s { # Direct hardware access type hw # Loopback card name # # Has to match "id" in the options of the snd-aloop module card "Loopback" # Loopback device ID device 0 # Number of audio channels # # Has to match the number of channels in music player app # and in the CamillaDSP input configuration channels 2 # Format of audio stream # # Has to match the format defined in the # of the CamillaDSP input configuration format "FLOAT_LE" # Sampling-rate of audio stream # # Has to match the sampling-rate defined in the # CamillaDSP configuration rate 48000 } ctl.er4s { type hw card "Loopback" } ``` This is the .asoundrc I'm using, it worked before this update. Now aplay -L doesn't show this device. Using mpd to play to the Loopback gets `snd_pcm_hw_params() failed: Invalid argument`. Here's my mpd config: ``` audio_output { type "alsa" name "Etymotic ER4S" device "er4s" format "48000:f:2" mixer_type "none" replay_gain_handler "none" auto_resample "no" auto_format "no" } resampler { plugin "soxr" quality "custom" precision "28" phase_response "50" passband_end "91" stopband_begin "100" attenu ``` Btw, alsa should really have a detailed specification on asoundrc file. The value of the format option I specify is from a dsp project, otherwise I have no idea what to write here. And according to [https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#gaa14b7f26877a812acbb39811364177f8](snd_pcm_format_t) it's in a totally different format. Issue URL : https://github.com/alsa-project/alsa-lib/issues/251 Repository URL: https://github.com/alsa-project/alsa-lib