From nobody Mon Aug 02 15:25:21 2021 X-Original-To: freebsd-hackers@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 3890013462AC for ; Mon, 2 Aug 2021 15:25: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 4Gdhf74SMYz4bMF; Mon, 2 Aug 2021 15:25:35 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=kHn7ZpGuHlqG 9O2Xcgxm6IYuIOv1kd1jv5vZ3bLxk0k=; h=subject:cc:to:from:date; d=margiolis.net; b=dD5ya92i1PuT9dRKcJaNNsgJzSj1b5etBsApDg9x+iuLhgKXLPt lE3emELdEMkKOUhqvV1acwQnXjCrZlMJfzL3EnXVLq/spkRdq31BeZBVInCROZY+ckOH5c O2o6HsbOe1oLhrQiWDrsg2vzMEQ8gvwvndhFJpJPxEoxKv5l/0= Received: from pleb (athedsl-202981.home.otenet.gr [85.74.112.131]) by christos (OpenSMTPD) with ESMTPSA id ec1f24b2 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 2 Aug 2021 15:25:26 +0000 (UTC) Date: Mon, 2 Aug 2021 18:25:21 +0300 From: Christos Margiolis To: freebsd-hackers@freebsd.org Cc: hselasky@freebsd.org Subject: [GSoC'21 Weekly Update #8] Sound mixer improvements Message-ID: <20210802152521.r6nuyop7jtdswwa3@pleb> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4Gdhf74SMYz4bMF 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-ThisMailContainsUnwantedMimeParts: N Hello, Last week I did the following: sound(4): - Implemented a new read-only sysctl to report the playback/recording mode of the sound device (dev.pcm.X.mode). The sysctl values are: 1=mixer, 2=play, 4=rec. These values can also be OR'ed together if more than one mode is supported. mixer(3): - Added functions to make user-defined controls. mixer(8): - Made /dev/sndstat "useless" since with the new sysctl we can get all the information it provides. Documentation: - Worked on the man pages for mixer(3) and mixer(8). Also on the 21st of July, my mute ioctl patch for sound(4) got merged into upstream: https://cgit.freebsd.org/src/commit/?id=0f8dafb45859569aa36b63ca2bb4a1c35c970d1e 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