diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 20:59:25 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-19 23:00:37 +0200 |
commit | f56742cc41895b1ed3742406dc3587b0d6424acb (patch) | |
tree | 8c359bd99c6905273dc9968c4de13c895010e1e6 /sound/usb/line6/driver.h | |
parent | 97d78acfb870a67339957e9c4d36dc03242df315 (diff) | |
download | linux-f56742cc41895b1ed3742406dc3587b0d6424acb.tar.bz2 |
ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture
E.g. POD X3 seems to require playback data to be sent to it to generate
capture data. Otherwise the device stalls and doesn't send any more capture
data until it's reset.
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/driver.h')
-rw-r--r-- | sound/usb/line6/driver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h index 2d3213912d4c..0bcab38ac10d 100644 --- a/sound/usb/line6/driver.h +++ b/sound/usb/line6/driver.h @@ -100,8 +100,10 @@ enum { LINE6_CAP_CONTROL = 1 << 0, /* device supports PCM input/output via USB */ LINE6_CAP_PCM = 1 << 1, - /* device support hardware monitoring */ + /* device supports hardware monitoring */ LINE6_CAP_HWMON = 1 << 2, + /* device requires output data when input is read */ + LINE6_CAP_IN_NEEDS_OUT = 1 << 3, }; /* |