From nobody Tue Nov 19 15:58:52 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 4Xt8LZ1ZKQz5f9DS for ; Tue, 19 Nov 2024 15:59:02 +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 4Xt8LY6Hlsz4Hym; Tue, 19 Nov 2024 15:59:01 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732031941; 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: content-transfer-encoding:content-transfer-encoding; bh=7P9pLLK6hflprQH/s2AZgW8TPVZYiBV1cIHU67JcoqQ=; b=M7JNijQbxAvEom93KoTdbcIVxLHDeFXQBgt/395ofRJvF+eBTRGtsteXQfvd9+9ryiUDrF iCiqgDRSayna2pXLNFCip2x4nJ4Kb9Lgt7fKKEIeriZic6733+cCEURrU34a5xNZ7I6iun 79t13oQM4BImg6fT2f/nipnJbqm11s5XqOLISrDm1vXhnTWmW3NDd7uJK/qiQbJYvEglPN jWg/qycHfN+czZEfa4pbmqKAYPp0zW7sOhiDhIgVgdo9eCKr0i4v6VrNlqKtQiv63gnNVi vSkm9Yq+y44GVFe3p8SkynXIGIVfJSymSF1wtLE9RfPbnCpyeZ+htB3UrJvPJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732031941; 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: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=7P9pLLK6hflprQH/s2AZgW8TPVZYiBV1cIHU67JcoqQ=; b=AY/Lrydgngo7WGQCCEyKqvHtQu+P8d8rAAneBKkCW1qP2s9hgAicHizW9wv+nVdWYzss/R DZ+2Dt8VKvY8dDcumKqsZ85d/NGqh341faQs9g2X3RifZHG9AqQ17xPFWoLmszg2wFBhB/ i9Ojctpb1AvlRzOEJ0pQDC7sAeExk9c0QznXPKavX9s10THYiE9us0714N+kBFBN+X5UFt FiiFfCly13G+DwrMFHsC9CsYEdNZngu5Kvj/xpuqG9obkGNQaUTJiEnRPdgcKIIzFvumLm v1Zb/aF1LWbm+/ChelX2n2yVXlG0Wq5Vrd7wjTgGxlqsJNos7YsxdlDYqTODPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732031941; a=rsa-sha256; cv=none; b=mM5R5odrGxu87NhNkjPhM8civ2J5cA0hpDeVUdpokpNchc9QP089KDOiGveE2LtiQbB3ao KJYyhIYPihX1Z/93xXpUQs3NIPu0rXyVVQnwirQbDEJJj7GRvqJsf8VLZKZzAuxcC18lHj SpHKLJWNtPX+QMV96jOGdiFvv3nVb5YrhICYzAG5nGyaYyZDQJq73BF/Zyj8/3+2RFX7W6 WkiMPgJf/FBsZnhaa/LeU4uRBwbbf1MWNxE2bQhXyUUlLgCb4zqd0ofCuZ6k35Wy/nfkk5 RTQxqsdjiZAtILck/63GHD84JajZpP3ig5Iw8zEXVTebYnM2tqkEzUfFh+d9kg== 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 4Xt8LY1s2qzMQb; Tue, 19 Nov 2024 15:59:01 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=w12xz6xS8ZFhac6 JjKZeTZvys9dEOf2ddFcruViXZWU=; h=subject:cc:to:from:date; d=margiolis.net; b=p70QJzIE56nYSYp3396DtV2Im5g9VImM6fUMQxzli9y2wsX4Whn FPTC8Gp173L6H+P6tzNxND9xZq96bxO00/CQknBAhpGTN1vLEwjpQbWJuJDPc/giq1741b 6asPytIxUQ5Tb361q6Hd++DzZtv/vw+fLJ27Ab6Stu8FYWSJ3M= Received: from tpad (public-gprs246497.centertel.pl [31.60.110.34]) by margiolis.net (OpenSMTPD) with ESMTPSA id 11fc17d2 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 19 Nov 2024 15:58:57 +0000 (UTC) Date: Tue, 19 Nov 2024 16:58:52 +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 #24] Audio Stack Improvements Message-ID: <5756pndor53ki5jfg6yp7robwhhaghvxhl3xe5reggrsqr7o7i@55dgq66l7vv3> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit MFC’d previous weeks’ patches to stable/14. snd_dummy: Fix callout(9) races: https://reviews.freebsd.org/D47459 I am investigating one more callout(9) use-after-free panic I sometimes stumble upon with KASAN enabled, even with the patch applied. sound: Fix chn_trigger() and vchan_trigger() races: https://reviews.freebsd.org/D47461 sound: Fix hot-unload panics: https://reviews.freebsd.org/D47462 sound: Remove PCM_DETACHING(), SD_F_DETACHING and SD_F_DYING: https://reviews.freebsd.org/D47463 sound: Add initial sanity check in pcm_unregister(): https://reviews.freebsd.org/D47665 sound: Remove CHN_F_SLEEPING: https://reviews.freebsd.org/D47559 Fixes chn_sleep() panic reported by dougm@ and pho@ using stress2. sound: Remove unused CHN_F_SILENCE: https://reviews.freebsd.org/D47664 sound: Implement AFMT_FLOAT support: https://reviews.freebsd.org/D47638 Also notified bug reports to test it and received very positive feedback so far, since it fixes quite a few ports, including emulators/wine. beep(1): Use AFMT_FLOAT: https://reviews.freebsd.org/D47639 Document __FreeBSD_version 1500027: https://cgit.freebsd.org/doc/commit/?id=3b840c7732f348af1052365fa5abd9ca99ef057e Reviewed https://cgit.freebsd.org/src/commit/?id=cdd3234186b19e1b9d7cfc985ef8d247552b0f11 Worked a bit on on-demand vchan allocation, but halted progress to work on other things. This work is sponsored by the FreeBSD Foundation. Christos