From nobody Tue Dec 24 15:23:24 2024 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 4YHdvQ4bjNz5hL9s for ; Tue, 24 Dec 2024 15:23:30 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YHdvQ3fjrz48vn; Tue, 24 Dec 2024 15:23:30 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735053810; 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=8F497daHrcZKzmxnzxFE2z84RPXIGsbBf/q/bQ2CVW4=; b=BTCCgCuekaZMt+vIcnEog7+aYIf1xR/CZK1dRQ5TLsbuP0LrnfKYlRiYfI1bop0C6n45JN RcrfOAIh2b871+R50DqkHdZR+L//yvMf1ebKB3rlo+bSbi8zlw0RyD29a/fSSZ6rV/HO+X kzDossAQclKBXD+R80kn6IALirBN+fYFXZNVTJkgoLA8Byb2AyoYKX9UmblUZr/ZrYX5BF iltCoOrpBOjFp9sl9OMTH6ae056gqXIZowrwaTtqg28fwaiCYSWPhKR41f6tXnf9MRyk5w jNLgHoB6rTfsRP5ryHoJrz/+ESAKSDauP+13OX9k0bqWwRj/RCsMa1bD1zQEPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735053810; 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=8F497daHrcZKzmxnzxFE2z84RPXIGsbBf/q/bQ2CVW4=; b=j9Lrn/PT3lspCkCOwaH3u/Oxc1zWVtMqtD6+wX8uHVH/1vbZniFdJuH/Ir1zTRgJF56LG7 7IP0kD9D3QETTW3K5JDdx3mMKnNtVNyClv1w1WwOZY09LoWW6qyBqqtf8vQEW87o/pdoub lzBUvVq/yXOuxXZ9VR57qOwrpR6bQ/uFz40BG3vNCFS+s+8WfAVpPEb4XromH5QiZMJthB ktEMklEEXhRRC10PQaA9+EWplAHqQ0YiNz9P8dHb3UkLONzSPIJFuq1K+Hpp0YgJ0TBWkc RZAkXcC9Z6wB3mIubI4dt90mzXfwuQWQNW/K48TocQbGzYqazFiGm2a2ir0mrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735053810; a=rsa-sha256; cv=none; b=SeGLbhnvlmj8GD3xKU7nTdLRwVqMw5O0BOcg253WjSkEki49LaIO8JGcSEp5Dgkfn5uPFG R9FsD0JeCE+/bOqI/SMPWrnlazQOovfAnOcNDaTwwXyJnwfwd7s+pXER3mrMyecdG4BLZg VrhDHQ4lVF/igMBACVA7KNtpXBAW0B6c0kBlTJY7MeH83qxElsl5V1u9dSzOjPFmuVMIyO ylVov3GcNvc8TkuNjmn3qNCzm6DgG1i1+74u74D1PuKjgbwIoCu/eg/KaYork3+Q4+UggF 43LQm9fIQrAM8ekbwQOS9/I7o72U5//saqXG/HtZK5Ln9KD9Fh4mG78lYonqVA== 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 4YHdvP6RtCz1PMg; Tue, 24 Dec 2024 15:23:29 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=bRqhNYHXqALAo/X SPCQcnvQbqW2qV2Ix4o+N1qL7414=; h=subject:cc:to:from:date; d=margiolis.net; b=NdcmzF7iD5hJmezG75g5BaFVv6XSLgQztQBnRjzHGF4nWTwKT3a 9a3aGrNYkFUxMxx005/ukgK7gzZGf6f/lj0MO5BYM/Rhw5wEYL0GFBynuzVUYPTSknKcZV uQD9o/3ZV3ofqpHOf1mTYnjNDbKRAWarWEVSInyZREOtGO+5ZE= Received: from tpad (public-gprs244046.centertel.pl [31.60.100.143]) by margiolis.net (OpenSMTPD) with ESMTPSA id 6bef718b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 24 Dec 2024 15:23:25 +0000 (UTC) Date: Tue, 24 Dec 2024 16:23:24 +0100 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 #26] 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 Working on previous weeks' patches. Received lots of useful feedback on most of them. sound: Refactor the format conversion framework: https://reviews.freebsd.org/D47932 - Implemented unit tests for the format conversion functions and fixed some regressions. - Made the conversion functions alignment-agnostic to reduce code size and complexity. - Still addressing some comments. sound: Allocate vchans on-demand: https://reviews.freebsd.org/D47917 - Addressed comments, fixed bugs. sound: Implement AFMT_FLOAT support: https://reviews.freebsd.org/D47638 - Added support in feeder_chain.c, feeder_rate.c and feeder_volume.c. - Rebase to work with D47932. - Define AFMT_F32_OE. - Making the implementation alignment-agnostic, similar to how D47932 works for the other formats. - Writing unit tests. sound: Bail out early if a format is not supported: https://reviews.freebsd.org/D48031 sound: Remove macro magic from pcm/feeder_eq.c: https://reviews.freebsd.org/D48032 sound: Remove macro magic from pcm/feeder_matrix.c: https://reviews.freebsd.org/D48035 sound: Remove feed_matrix_apply_generic(): https://reviews.freebsd.org/D48036 sound: Refactor the format conversion framework: https://reviews.freebsd.org/D47932 sound: Do not return an error from chn_notify() if the children list is empty: https://reviews.freebsd.org/D48156 sound: Call vchan_destroy() on vchan_create() failure: https://reviews.freebsd.org/D48183 sound: Do not fail from vchan_destroy() if children list is empty: https://reviews.freebsd.org/D48185 2024Q4 report committed: https://cgit.freebsd.org/doc/commit/?id=cb4812ed9af51a701f72874e54fcfbf97f5e2346 FreeBSD Foundation laptop project - Getting more familiar with snd_hda(4) internals to start working on automatic pin-patching. This is an experimental project, so it is not guaranteed to be successful. - Discussed with emaste@ about the first iteration's project (automatic pin-patching). - Attended Laptop and Desktop Working Group call. This work is sponsored by the FreeBSD Foundation. Christos