OSDN Git Service

ALSA: hdsp: hardware output loopback
authorJasmin Fazlic <superfassl@gmail.com>
Mon, 1 Feb 2021 14:28:52 +0000 (15:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Feb 2021 09:34:27 +0000 (10:34 +0100)
commitda2a040ee7cfe1dd57d5bec7906cb979c5787a86
tree8b30c1f54381acac1768011e0d9a8fbb2f0279f9
parent0074946932cbd42647da947408a9d620746a4e0e
ALSA: hdsp: hardware output loopback

Output loopback is a feature where you can record what you hear.
The HDSP series of the RME interfaces provides this functionality
at the hardware level and this patch exposes controls to enable or
disable it per output (playback) channel.

This probably works on other cards but due to a lack of hardware
it is only tested and enabled for the HDSP9632 card with this patch.

Should this patch be accepted a separate patch will be posted to
https://github.com/alsa-project/alsa-tools/tree/master/hdspmixer
which adds "LPBK" buttons to each output in the playback strip for
the user to be able to control this feature from the user land.
Users from Windows tool TotalMixFX should be familiar with this.

Signed-off-by: Jasmin Fazlic <superfassl@gmail.com>
Link: https://lore.kernel.org/r/95cb3117-e85a-51a6-c2ce-bf736e70fc4c@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c