diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 20:59:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-19 23:00:10 +0200 |
commit | 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 (patch) | |
tree | c09d5ec340198bad9fde8f47f9098233cb6859ab /sound/usb/line6/playback.c | |
parent | ALSA: line6: Add high-speed USB support (diff) | |
download | linux-7a0f55aeeb8f1fa32a119d34ddfefc6100936692.tar.xz linux-7a0f55aeeb8f1fa32a119d34ddfefc6100936692.zip |
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/playback.c')
-rw-r--r-- | sound/usb/line6/playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/playback.c b/sound/usb/line6/playback.c index 6048d0fe4068..08bacf3b025e 100644 --- a/sound/usb/line6/playback.c +++ b/sound/usb/line6/playback.c @@ -195,7 +195,7 @@ static int submit_audio_out_urb(struct snd_line6_pcm *line6pcm) urb_frames = urb_size / bytes_per_frame; urb_out->transfer_buffer = line6pcm->out.buffer + - index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; + index * LINE6_ISO_PACKETS * line6pcm->max_packet_size_out; urb_out->transfer_buffer_length = urb_size; urb_out->context = line6pcm; |