From nobody Tue Apr 15 14:50:35 2025 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZcRsq3y5Qz5tGST for ; Tue, 15 Apr 2025 14:50:39 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZcRsq1lLXz3R0F; Tue, 15 Apr 2025 14:50:39 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744728639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=yUaegjaMRzsQyBTkOOEtIIf5uhBozofZnkem/uOXwEM=; b=PupMdH8L8JTYNFznhdfGSLaIio2rwRCftrFR1VBLv8oUB6yXZii9VzyT9SEoj9YbBe9MtG UTUN7CL5Ctb+6NhQvtzOG6ZKNg/nXNJuWi0XeW6T186grZXVeniOMbmh5dmN3dRaMwnrOR Cr+PcNK6wuV8obxmwlq4RpuhBbnLiO0qF1n999wKlZdu/b5DRGDQheIxMOfW+omX7L3k9U 8ODY7MDechHziOqpmZeJjyde/JIE7Cvgi1CemoFy1z5Y6D2OANLr73tjRLNLX72V30hRMD IdfR1OQtkRy2Wv4/24gIuNWFr7kntG3h88SkSwWdLD9Y3C63pK+1vhms4BIOPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744728639; a=rsa-sha256; cv=none; b=tRVzsuDmudxZ336m+u/n+8kiAy+dKdemFBCmxH9mWCs6PgIMdwtEbe7o/vhZZ0/NrcB8nt BzBsaKPNpNOi9gcufUz+pnW8IsfHMw+0nArLLs+S3C603Ajp/x7FMK20fYKop0euSnR7+K gvi+uukB5zcsB4I9qnLTcDfFet7wR+jCbCdiTcBM2stNJBkT0K6hJAIzXYcHTyVjw3VGGW 7yIhfV46NWCiHwQpZJRUlCdAsXMIfSOi/fie4b1YQG/VKoeKMiQ7IazRx9Rx96kydZhre5 X71LhzGlpb7TaDwWxnG3CRR11jU9AMAvpjDc8pzSek0aTH2mASXJjF0R+HomEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744728639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=yUaegjaMRzsQyBTkOOEtIIf5uhBozofZnkem/uOXwEM=; b=j1k5FyglkUFzkl6F7aMUsjss32px24triFVQyughpgHzAS/J7BBmqcy4HtixDU/j8ZqlJe AOW25GjkShSVfmn+rTwESku1P44NMlP8YmjrvoZNQmt+pGb4FAPnSH/v0WpL/fBOcNCd8D PLQSrKeGre9Ui4wz4JBAjrE2lKpe0GFPkws85h703D9JisxlP1gf8g7RIC71mXh5IcyoH9 34QvoUGP6kVw+O3A976kBM/naovJoTeJzizNy0HFZfLQatvATqGEVotm7uZ2wfqIr4QIay nGCkR60uizHzFl+NEx4v5Av2d/YPLtOP1AP6/wCxEAzFehEAV4puxG+FJ908Hg== Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: christos/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZcRsp46rwz9cP; Tue, 15 Apr 2025 14:50:38 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=TnqKgkbZ6AsFINu cNqMqmwkZBusrwcFj330lzYEVsw0=; h=subject:cc:to:from:date; d=margiolis.net; b=eOIm1L0NAj8SpKuwAXmO60gutR5yi8127p1+C0AWUkV9aYzfR+7 iBqWZ5KEdML06V1YegirawceN7cADs2NrjydoN94f0HkwKX0ClVg1lGRH9kQLS3IgN9qEt 8O/uAnBXSyU6HAcN8gvfrxS83JgsvADYRs7unI2uGBuuJ8gwRc= Received: from pleb (public-gprs240060.centertel.pl [31.60.84.253]) by margiolis.net (OpenSMTPD) with ESMTPSA id 35823629 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 15 Apr 2025 14:50:35 +0000 (UTC) Date: Tue, 15 Apr 2025 16:50:35 +0200 From: Christos Margiolis To: status-updates@freebsdfoundation.org Cc: freebsd-multimedia@freebsd.org, markj@freebsd.org, jrm@freebsd.org, emaste@freebsd.org Subject: [Development report #35] Audio Stack Improvements Message-ID: List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Automatic audio redirection - sound: Access softc through si_drv1 in dsp cdev methods: https://reviews.freebsd.org/D49804 - sound: Create a dsp_close() helper function: https://reviews.freebsd.org/D49805 - sound: Implement /dev/dsp as a router device: https://reviews.freebsd.org/D49216 - Do not ignore return values in vdsp cdev methods. - Discussion on call-for-testing email: https://lists.freebsd.org/archives/freebsd-multimedia/2025-April/002944.html - Remove unit argument from vdsp_open_dev() and vdsp_get_dev() and figure it out inside the functions instead. It's cleaner in combination with the follow-up patch. - Depend on D49804 and D49805. - Addressing new recent comments. - Testing new changes. - Split the default unit into playback and recording - I delayed submitting the patch for review, because I've been rewriting and testing it the past few days, after some design issues I hadn't considered. Laptop project - Updated Github issue: https://github.com/FreeBSDFoundation/proj-laptop/issues/17 - Attended LDWG call. - Attended Foundation's Iteration call. - Did some HDA debugging with adrian@ on IRC. audio(8): Initial revision: https://reviews.freebsd.org/D46227 Status/2025Q1/audio.adoc: Add report: https://cgit.freebsd.org/doc/commit/?id=20a50568c34dc2f1dcc85ca4b22d33dd5f72fdbb Bug reports: - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285962 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261693 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278806 - Closed AFMT_FLOAT PRs after MFC to stable/14: 157050, 184380, 280612, 281390. - Triaging. In contact with Meka about adding an mmap audio example program to /usr/share/examples/sound/oss. MFC'd recent patches to stable/14. Purchased BSDCan DevSummit ticket. Christos This work is sponsored by the FreeBSD Foundation.