From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6746 invoked from network); 29 Dec 2023 17:35:59 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 29 Dec 2023 17:35:59 -0000 Received: from cc-smtpout1.netcologne.de ([89.1.8.211]) by 9front; Fri Dec 29 12:34:44 -0500 2023 Received: from cc-app3.netcologne.de (cc-app3.netcologne.de [89.1.9.192]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 68DEB1220F for <9front@9front.org>; Fri, 29 Dec 2023 18:34:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de; s=nc1116a; t=1703871281; bh=eKjnIfdRquaqnrbH31yMetiy/byxw0uV6IMTJhMAvFM=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:From; b=d8P/G5pgXoYxtI7AHKiLLdlW4wbDAkY0Rrd+i1uKO+UY7JoFDbrAvwpdg0IDmDrOj sOKWmeY5Z8ecTTNOy+aAT466NEt2SoD/OjI4BIrGZiu1hnsdAqf4y6z4OoZ0WGhMCp hbQTzkgH0NVKfryoHHbCwPz3pEo9g39BD9IHEqwbsIsmuWYg11r0fc688Rqnqm4zxz ERYEzXUEGFX9r2P6byTeFUs9m3joNp0whfFibK5a4l47qZTXlRLppGv+SeRWb1y/BF EIT4pUWIiMu3db2XPYjPAB8/nIyE4O3+wvfooMtA77Z/ftYBmXeV1I4aRMkBAbsAi+ LtdWJmXS1RVGw== Received: from cc-app3.netcologne.de (localhost [127.0.0.1]) by cc-app3.netcologne.de (Postfix) with ESMTPA id 4FBB711E27 for <9front@9front.org>; Fri, 29 Dec 2023 18:34:41 +0100 (CET) Date: Fri, 29 Dec 2023 18:34:41 +0100 (CET) From: Arne Meyer To: 9front@9front.org Message-ID: <1214862762.3763294.1703871281266@comcenter.netcologne.de> In-Reply-To: References: <1787115101.3760397.1703865648791@comcenter.netcologne.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev50 X-Originating-IP: 2001:4dd1:7464:0:2ab7:579f:6125:c7b8 X-Originating-Client: open-xchange-appsuite X-NetCologne-Spam: L X-Rspamd-Queue-Id: 4FBB711E27 X-Spamd-Bar: - X-Rspamd-Pre-Result: action=add header; module=force_actions; unknown reason X-Rspamd-Action: add header List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: scripting-scale SVG out-scaling event cloud injection backend Subject: Re: [9front] [patch] nusb/audio /dev entries fix v2 Reply-To: 9front@9front.org Precedence: bulk > cinap_lenrek@felloff.net hat am 29.12.2023 18:10 CET geschrieben: > one catch i can see is what happens when you dont have a built-in > soundcard (#A) at all? > > then you have no place to bind it to :( > This is up to the user. Either use aux/stub and bind on that or use the script I attached which takes care of that. > maybe a solution could be to have this handled by mixfs? > I liked Sigrid's solution: There should be a new program that sits between the devices like #A, nusb and mixfs and supplies a file system compatible with a #A. Something like this: provide a file system like #A try to access #A and use that as the default audio device. If not, discard all data. Listen on usbevent and add all found devices to a list. Change the default audio device via some ctl command.