From nobody Tue Feb 04 15:11:06 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 4YnRds3M2Zz5mxWN for ; Tue, 04 Feb 2025 15:11:13 +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 4YnRds2bBPz4JM3; Tue, 04 Feb 2025 15:11:13 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738681873; 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=oG7n8ejOnSCXsTMK2IKYy29gjY0Nhnxpq3kaAYRe9HI=; b=G6QR64PuN9vmqJLB2mEQaVh3UDLjXoikWuXzsc7zxEBODEc6mdv9xQZiSgEnTxZOg8NpCm BMNxrgTYqkXOM6yA8xyTmS/ErNO7t0Z26z3cwzbkwKNGoP6npmqKi26crmjTfiLjroEFbZ 3cHXpGsZoC0K/OPirhAc2X+JUlnUy6pvNLnHH694sGqxymH60rfV6xL4t/vkWVqw1IxPnP 0PrhWoPVNqH7/1cAoELCPghvhEb4h3+x7WW0wIKwm0uvTLFDK2JrrP+qDH9NNAZwcg+B9n zYHwmIzaiQA+gA3m4A/Om7Q5u87dx1YPSYeSY4qsqhMM0JnkJP2VR5Vlbkk2OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738681873; 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=oG7n8ejOnSCXsTMK2IKYy29gjY0Nhnxpq3kaAYRe9HI=; b=UtUhulTPUU7co4HlnTjdV99fZQG7Nrl7OkOl9sEiKKpYUNdu0rfVzQi5dt3ijnBdJeJEKk /36gC6XD1DdlExOvIjVH93ZE7PsPCeh1a1HBqCTgbj7g9Dg7TMFq6OiYxeDsmG+UIcYxGz 8FI9MxNg4x2LJJethLXDJllZ55uaNnIFTh/iMKsCUJIAJ+Zsz1mD/qIkKDfQawyzII9VkJ exFY9Q6FMTwJ0Fkq2si/k6yMW+itTlEKKhn0hCVtcxpeDkv38KHbUIesdiutngEg6Msj8U nQuZ1g+AXk0+Jz2sT9eS6Q9RuzTK8LaMnwN2q4gfgGZYP0EgAHVQuM1CqIs/lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738681873; a=rsa-sha256; cv=none; b=DBjkkpJWJX1JK1ZERat3gVYxmnDmgWLGvYDQRnsLvNO/8yPw91MheAM5r0heaJl9QEhdDW Zsn5KZP7EJ9DuX8r1lVtqzT005fOEyOK98AsZVEMuTOQi3wQ5d7jNQw7B1SUzS1wzhm1Lr Hv9GeWX7TO/GrDfdyBvOnTml3bZWwq9hDSZsMDnvZA6qPcwy+aIU05EDukdqjCkr4bnvfq BjdQGJ39ozsEyVQ3ALVYdZta3xtMWFgQHOIYSdRr7QT04JBKgewCVJ95QuADbJSN18fL13 DqmmE+5zzQHNSi/5LNPwhe3w0ys8V3aHj129pKdAmyeGmd6sJc9dIZp9ZyLcRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YnRdr5HKYzJVY; Tue, 04 Feb 2025 15:11:12 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=ugjtmNfIXv74VdR +yEIGQgt5qSrYpCHzQGaGN3rKOOE=; h=subject:cc:to:from:date; d=margiolis.net; b=Yyzu01O99mECjDnRH8tM996nUlNE0MYPL9e7H+/Wci2R/0gSQX3 ofd2/AEQlOJlYkTzi30N9EENgT7ABIpMcuYTBBKOCJGcCngl1i0kPHvDo/RM6whPyfCQrf pR3Nd0FPq0LmL2d3tQgSXpCXDdBqWZXjMGUzxeHqQWcFA56kVs= Received: from pleb (public-gprs234174.centertel.pl [31.60.61.255]) by margiolis.net (OpenSMTPD) with ESMTPSA id 70977368 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 4 Feb 2025 15:11:09 +0000 (UTC) Date: Tue, 4 Feb 2025 17:11:06 +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 #28] 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 week's patches. I reduced spamming too many new patches and instead focusing on finalizing and testing the current ones. MFC recently committed patches to stable/14. sound: Implement AFMT_FLOAT support: https://reviews.freebsd.org/D47638 - Fixed big-endian conversions. - Wrote unit tests. - Did several sound tests. The fpu_kern(9) overhead mentioned in the review doesn't seem to be that much of an issue so far. - Notified people in bug reports to test the patch. sound: Simplify locking during device creation: https://reviews.freebsd.org/D48482 sound: Unit test the pcm sample read and write macros: https://cgit.freebsd.org/src/commit/?id=27ef5d48c729defb83a8822143dc71ab17f9d68b sound: Safely remove channel from list in one pass: https://cgit.freebsd.org/src/commit/?id=27b932e32faba1137ff307d05b787d837ccadda8 sound: Make CHN_REMOVE_SAFE() the default: https://cgit.freebsd.org/src/commit/?id=ffcefe5310e084415a2f292a00f4637d4059c40f sound tests: Fix gcc build: https://cgit.freebsd.org/src/commit/?id=f6631da0b581b28c2bfeea1199b52013bb46aa41 sound tests: Fix 32bit calculation detection in pcm_read_write: https://cgit.freebsd.org/src/commit/?id=e02b579b537998495b06d02be6aa07f03db3a42a sound: Retire FEEDEQ_CLAMP(): https://reviews.freebsd.org/D48764 sound: Retire Z_CLAMP(): https://reviews.freebsd.org/D48765 mixer(3): Do not skip devices with no volume control: https://reviews.freebsd.org/D48730 - Fixes PR 279787: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279787 Laptop project. - [WIP] snd_hda: Attempt to automate pin patching: https://reviews.freebsd.org/D48809 - Attended LDWG call. Reviewed: https://reviews.freebsd.org/D48503 https://reviews.freebsd.org/D48507 Addressing bug reports: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283793 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283948 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254465 Bug triaging. Joined recent src bug busting call and discussed some recent bug reports with Mark. Attended GSOC brainstorming call. fuz@ showed interest in co-mentoring in the math-related part of my project (porting virtual_oss to base) and we are currently in contact. The main obstacle of porting it is to get rid of the third-party libraries (fftw and libsamplerate), which most likely means rolling our own math and resampling routines. Luckily virual_oss doesn't make heavy use of these libraries. Spent time going through the MIDI code and planning my approach for either scrapping it and rewriting it, or heavily refactoring it. Apart from obvious bugs and obsolete code, much of it also seems unused, and not very well designed in general. This work is sponsored by the FreeBSD Foundation. Christos