diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 21:59:23 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-20 00:00:10 +0300 |
commit | 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 (patch) | |
tree | c09d5ec340198bad9fde8f47f9098233cb6859ab /sound/usb/line6/pcm.h | |
parent | 79faa2b048b23f28a24a7b232d8933cb53df95b7 (diff) | |
download | linux-7a0f55aeeb8f1fa32a119d34ddfefc6100936692.tar.xz |
ALSA: line6: Support assymetrical in/out configurations
Splits max_packet_size to max_packet_size_in/out (e.g. for
different channel counts).
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/pcm.h')
-rw-r--r-- | sound/usb/line6/pcm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/usb/line6/pcm.h b/sound/usb/line6/pcm.h index f41e34166d68..f040c81a4843 100644 --- a/sound/usb/line6/pcm.h +++ b/sound/usb/line6/pcm.h @@ -156,11 +156,12 @@ struct snd_line6_pcm { /* Previously captured frame (for software monitoring) */ unsigned char *prev_fbuf; - /* Size of previously captured frame (for software monitoring) */ + /* Size of previously captured frame (for software monitoring/sync) */ int prev_fsize; /* Maximum size of USB packet */ - int max_packet_size; + int max_packet_size_in; + int max_packet_size_out; /* PCM playback volume (left and right) */ int volume_playback[2]; |