diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 21:59:24 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-20 00:00:16 +0300 |
commit | 97d78acfb870a67339957e9c4d36dc03242df315 (patch) | |
tree | e50c02a117e5a8e9f1ddf6272be6e53989f5f789 /sound/usb/line6/podhd.c | |
parent | 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 (diff) | |
download | linux-97d78acfb870a67339957e9c4d36dc03242df315.tar.xz |
ALSA: line6: Allow different channel numbers for in/out
Changes bytes_per_frame to bytes_per_channel.
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/podhd.c')
-rw-r--r-- | sound/usb/line6/podhd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c index 63dcaef41ac3..4fc4789b9be5 100644 --- a/sound/usb/line6/podhd.c +++ b/sound/usb/line6/podhd.c @@ -25,8 +25,6 @@ enum { LINE6_PODHD500_1, }; -#define PODHD_BYTES_PER_FRAME 6 /* 24bit audio (stereo) */ - static struct snd_ratden podhd_ratden = { .num_min = 48000, .num_max = 48000, @@ -73,7 +71,7 @@ static struct line6_pcm_properties podhd_pcm_properties = { .rates = { .nrats = 1, .rats = &podhd_ratden}, - .bytes_per_frame = PODHD_BYTES_PER_FRAME + .bytes_per_channel = 3 /* 24bit audio (stereo) */ }; /* |