Loading sound/core/pcm_native.c +2 −1 Original line number Diff line number Diff line Loading @@ -587,7 +587,8 @@ static int snd_pcm_hw_params(struct snd_pcm_substream *substream, runtime->silence_threshold = 0; runtime->silence_size = 0; runtime->boundary = runtime->buffer_size; while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) while (runtime->boundary * 2 * runtime->channels <= LONG_MAX - runtime->buffer_size) runtime->boundary *= 2; snd_pcm_timer_resolution_change(substream); Loading Loading
sound/core/pcm_native.c +2 −1 Original line number Diff line number Diff line Loading @@ -587,7 +587,8 @@ static int snd_pcm_hw_params(struct snd_pcm_substream *substream, runtime->silence_threshold = 0; runtime->silence_size = 0; runtime->boundary = runtime->buffer_size; while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) while (runtime->boundary * 2 * runtime->channels <= LONG_MAX - runtime->buffer_size) runtime->boundary *= 2; snd_pcm_timer_resolution_change(substream); Loading