From nobody Tue Dec 10 15:12:37 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 4Y72KR4JVzz5gFpm for ; Tue, 10 Dec 2024 15:12:43 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y72KR3n5dz4hZS; Tue, 10 Dec 2024 15:12:43 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733843563; 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=9oXnjL49dtK27HFV1+8RQfPip91anzNHDnUC85KzZEg=; b=XvZZ9cXQI54VnTzlgOkIgVe6HW2kthSueMGfW/eb/0nJhrYpWBx1eatd3oqm68VJhhm5U/ /F7kqnYBjM8DjBrqPvrzLEcWJkFEqfUVJyqEuwljxYG9gl5Z6uPvlLunCGD8wmOShcqR6E CbfOeJplUHgKmvgrszRnX6EnkF42Ar42TalmP1IaqExAXfHz4z1hU3qSGoCDrJeFfzjDxg Le7vRPvQ6Kyb7kupLRVJE8SopMyK1/pnv+sN3zOLCFo4lKsLEEXQIK09nG88IGi7QRTx/V 8NckZ4UDSpieANR4NdOiu1QttjAWlKb/rlT6Vm6gGPuci7wQN5VfuhN0xTtkVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733843563; 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=9oXnjL49dtK27HFV1+8RQfPip91anzNHDnUC85KzZEg=; b=uaYWdsDjEuORK2wkkZX4Mqhx5qVm9ZO4WqWHayLr8NFHt3xwGcLEQtMQOtf2L2MpHoXvhV Ftd6siTJrdk+pOtC5hUd6VN+9vKG1ruhSrgvzKEtqXJcB4uDaEtRSwxWhsz1Zqzhcmn2cb LLYzzHai4FRKVKk+XX8ken2rhzediwMCf61ErR/vdseKU9KO5yoXCZr2E030jyXI8YIRNz tOc0Te2D5fJYbQNkMA7vWWhUDvdTKX5EYm2fcSXlK9zPJxZhQmjQy49Whvcaqmp12yINOy EMjO+eNnnmW3JtMjMh6ZxWhnwbmnkMtWrvfPF3kuNBSuZK6TYPMzS4t6WrRxag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733843563; a=rsa-sha256; cv=none; b=gDaFH6eqbyDl4cwK8k/u0UBltGwb2oGmUNN5d1GDHvr6tnC3QdO6iSDwYisclrAbTQmyzC /hOnkJGIJ/N+JEv924DeAee4oj73rp2vhjNRislUjwjmEws6QfcQZ5C/BcgOn6IfMNv2Yq afp46lUDnlebjeXgKW+93+Bupbtbtw7V0zAnHRHGtoPPQ0Xlgw56UpCdgF6heLwwiKc5Sb Tux19ottJuGrQBEomvpbKMj7RVF8lgkkj3iWJ/dMgvI+inACM91103nfd/ebN3VmVyTkQv Uwoi5gd7IUNg3onXm3MWRljkpRQ6R7DIkvo9bSn5zeiMb4l+qt4Zz4xr6kUxqw== 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 4Y72KQ6ND1z1Jr3; Tue, 10 Dec 2024 15:12:42 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=G7PbbbdqhWcm0uG Cj+ZzWlhPA9OVD0i7AlcQTT74DYk=; h=subject:cc:to:from:date; d=margiolis.net; b=bvR4LdYUfwDgxcrKfIgtpWvU3/1gMUjVK3wWnLxxGH9zgV1Azzy HUKUBNX6sayMk0NMJoGBuCrxXOuuAiNhu6fIe8dCR7pf1XvYZBgaptuxDNDNwGcm/NnYTf Pc46bl4fj0fpS2SGWkX+BZR1uCsgz5eKvQ5dbnPy8sHoco72Ek= Received: from tpad (public-gprs241269.centertel.pl [31.60.89.182]) by margiolis.net (OpenSMTPD) with ESMTPSA id b2ed1324 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 10 Dec 2024 15:12:39 +0000 (UTC) Date: Tue, 10 Dec 2024 16:12:37 +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 #25] 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 snd_dummy: Fix callout(9) races: https://cgit.freebsd.org/src/commit/?id=5bd08172b4150503c9cf60ffe3c97716c5bf6fa1 sound: Fix chn_trigger() and vchan_trigger() races: https://cgit.freebsd.org/src/commit/?id=5ac39263d825d7b2f8a89614a63fee90ffc77c07 sound: Fix hot-unload panics: https://cgit.freebsd.org/src/commit/?id=2839ad58dd8a4cf5294180fc599800c437a8d4d8 sound: Remove PCM_DETACHING(), SD_F_DETACHING and SD_F_DYING: https://cgit.freebsd.org/src/commit/?id=6d4c59e26189a8c19fd0832e89f9b089330cbfcb sound: Remove CHN_F_SLEEPING: https://cgit.freebsd.org/src/commit/?id=5317480967bfc8bf678e4da3fce81bcb3f5b7836 sound: Remove unused CHN_F_SILENCE: https://cgit.freebsd.org/src/commit/?id=6d77827b963ec1a72de3f46d51fe14ed30ef437e sound: Merge ac97 and ac97_patch: https://cgit.freebsd.org/src/commit/?id=0b4e32912566d802c7a6501d9ce8119f04dbc2fb sound: Remove dead code from pcm/: https://cgit.freebsd.org/src/commit/?id=00731aaaed76785af8befe13e9a4e85b3554b3f5 sound: Remove unused code from pcm/g711.h: https://cgit.freebsd.org/src/commit/?id=b882251204128388eb2f8e4f74e83ff1ca7863c4 sound: Dissolve pcm/intpcm.h: https://cgit.freebsd.org/src/commit/?id=88eaa1504d12c82a36d83c16e9fd6c41175d2e0a sound: Merge pcm/matrix_map.h with pcm/matrix.h: https://cgit.freebsd.org/src/commit/?id=5a217a8d7d2a0dc19eb5d7bb1bd0f21116fbcf69 sound: Fix mis-sorted CHN_F_BITS line: https://cgit.freebsd.org/src/commit/?id=29ba0cc4d919243436f1bf73a22a554fa5073a44 sound: Do not access cv_waiters: https://cgit.freebsd.org/src/commit/?id=46a97b9cd6fd4415270afe4070082ae69ee21035 sound: Implement AFMT_FLOAT support: https://reviews.freebsd.org/D47638 - Depend on D47932. - Make `AFMT_FLOAT` usable from `dev.pcm.X.play|rec.vchanformat`. - Implement both little and big endian support. - Added a test example. - Also received an email from Ariff Abdullah (one of the old authors of sound(4)) proposing the idea of using de/encoding IEEE754s instead of using fpu_kern(9), so I am experimenting with various different approaches at the moment. sound: Clean up pcm/ includes: https://reviews.freebsd.org/D47868 sound: Allocate vchans on-demand: https://reviews.freebsd.org/D47917 sound: Simplify vchan_getparentchannel(): https://reviews.freebsd.org/D47918 sound: Refactor the format conversion framework: https://reviews.freebsd.org/D47932 sound: Remove SNDBUF_LOCKASSERT(): https://reviews.freebsd.org/D48008 sound: Improve afmt_tab: https://reviews.freebsd.org/D48009 sound: Get rid of redundant variables in chn_setspeed() and chn_setformat(): https://reviews.freebsd.org/D48011 sound: Return if the new speed/format is the same as the current one: https://reviews.freebsd.org/D48012 Series of feeder_* refactor patches, which I will put up for review once I have more feedback on D47932, as they largely depend on it. MFC'd panic/race fixes and recent patches to stable/14. Sent call-for-testing regarding recent panic/race fixes: https://lists.freebsd.org/archives/freebsd-current/2024-November/006727.html Submitted 2024Q4 status report. Enrolled in the Foundation's laptop project. Some bug triaging. This work is sponsored by the FreeBSD Foundation. Christos