]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: usb-audio: Expose sample resolution through proc interface
authorJussi Laako <jussi@sonarnerd.net>
Sun, 17 Feb 2019 22:17:21 +0000 (00:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Feb 2019 08:36:09 +0000 (09:36 +0100)
commitc7a13264918b9796f80c634f20fea56e1612572d
treed0d8757c02033712f513904f827962e0b0c3fded
parenta06702ca023feccb7c1a5171987f5cac959427ed
ALSA: usb-audio: Expose sample resolution through proc interface

At least some USB devices use (MSB-aligned) audio format larger
than the actual resolution of the device. In order to expose the
actual device resolution (bBitResolution), add extra field to the
procfs stream info interface.

Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/format.c
sound/usb/proc.c