]> git.alsa-project.org Git - alsa-utils.git/commit
alsaloop: Support "Capture Pitch 1000000" rate shift
authorYunhao Tian <t123yh@outlook.com>
Tue, 27 Jul 2021 15:52:30 +0000 (23:52 +0800)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Aug 2021 14:55:36 +0000 (16:55 +0200)
commitce05208085fe09a53113a99cf709459bfa2d37d4
tree5385cf02841bb923685a47ad7042f9dc4ee5ab08
parent2b9bfacca7fa115a1313575557cc8194e3a2c291
alsaloop: Support "Capture Pitch 1000000" rate shift

In Linux 5.14, a new feedback mechanism for USB Audio
Gadget is introduced (commit e89bb428), along with a
new control element "Capture Pitch 1000000". This patch
adds support for this feature. Note that this property
seems to be the reverse of PCM Rate Shift, so we have
to take reciprocal of pitch.

Signed-off-by: Yunhao Tian <t123yh@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsaloop/alsaloop.h
alsaloop/pcmjob.c