From owner-soc-status@freebsd.org Sun Jul 11 13:24:36 2021 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B76FF667C8D for ; Sun, 11 Jul 2021 13:24:36 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from christos (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN70g6gG7z3Hjn; Sun, 11 Jul 2021 13:24:35 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=so/KKS1WiwgA bwuhPQtf4OHzFwcY7v6VCdeGzA03V/g=; h=subject:cc:to:from:date; d=margiolis.net; b=AzJHpkRfypY1fmFzfSHWZVh8BztpjrWkqNhFyRaWuJTfRM8uHT5 hgUiHQ47HhjF60Kd6xz7wA3PLPh2BDOYYGlQq5pFQ98UGVQwSw9ohK6zk3FyxlcFauzB3g Nh/PcZcwPvDR2QqvbDQA4JcCvm2T/b/l5UH/JIbEJRsJT+MLLg= Received: from pleb (athedsl-202981.home.otenet.gr [85.74.112.131]) by christos (OpenSMTPD) with ESMTPSA id 6a65abcd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 11 Jul 2021 13:24:33 +0000 (UTC) Date: Sun, 11 Jul 2021 16:24:03 +0300 From: Christos Margiolis To: soc-status@freebsd.org Cc: hselasky@freebsd.org Subject: [GSoC'21 Weekly Update #5] Sound mixer improvements Message-ID: <20210711132403.pqmqia4buaf4phrk@pleb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4GN70g6gG7z3Hjn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US] X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2021 13:24:36 -0000 Hello, This is last week's report: Kernel: - The volume-read ioctl reported the actual volume of the device, which means that if a device is muted, it'd report a volume of 0. I changed that so that when a device is muted, it reports the muted volume instead of the actual one. This is especially useful in userland programs. - Modified the volume-set ioctl so that the volume can be changed even when a device is muted. - Got the code up for review on Phabricator: https://reviews.freebsd.org/D31130 mixer(3): - Experimented with different volume handling designs. - Cleaned up and simplified the main structures; removed useless flags, struct fields and code. mixer(8): - Mostly code refactoring. The code is available on: - GitHub: https://github.com/christosmarg/mixer - Sourcehut: https://git.sr.ht/~crm/mixer - My Git server: https://git.margiolis.net/mixer/files.html The project's Wiki article can be found at: - https://wiki.freebsd.org/SummerOfCode2021Projects/SoundMixerImprovements