提交 d31cbbfd 编写于 作者: C Clemens Ladisch 提交者: Jaroslav Kysela

[ALSA] usb-audio: increase max buffer size

USB generic driver
Increase the maximum PCM buffer size to 1 MB.  The USB driver doesn't
have any inherent buffer size limit, and big multichannel interfaces
may benefit from this.
Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
上级 31ab9523
......@@ -1444,9 +1444,9 @@ static snd_pcm_hardware_t snd_usb_playback =
SNDRV_PCM_INFO_BATCH |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER,
.buffer_bytes_max = (256*1024),
.buffer_bytes_max = 1024 * 1024,
.period_bytes_min = 64,
.period_bytes_max = (128*1024),
.period_bytes_max = 512 * 1024,
.periods_min = 2,
.periods_max = 1024,
};
......@@ -1458,9 +1458,9 @@ static snd_pcm_hardware_t snd_usb_capture =
SNDRV_PCM_INFO_BATCH |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER,
.buffer_bytes_max = (256*1024),
.buffer_bytes_max = 1024 * 1024,
.period_bytes_min = 64,
.period_bytes_max = (128*1024),
.period_bytes_max = 512 * 1024,
.periods_min = 2,
.periods_max = 1024,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册