From de58013ed69a18b28816894e4740ef4b71814bd9 Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Mon, 8 Oct 2018 16:57:23 +1100 Subject: Remove remaining blocksize associated calcs These should be done in the Audio Path Signed-off-by: Mark Farrugia --- alsa-pcm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/alsa-pcm.c b/alsa-pcm.c index dbb1275..9ec21fc 100644 --- a/alsa-pcm.c +++ b/alsa-pcm.c @@ -74,10 +74,6 @@ static int pcm_open(struct snd_pcm_substream *substream) chans = stream->channels; hw->channels_min = chans; hw->channels_max = chans; - hw->buffer_bytes_max = - blocksize * hw->periods_max * bytes_per_sample * chans; - hw->period_bytes_min = blocksize * bytes_per_sample * chans; - hw->period_bytes_max = blocksize * bytes_per_sample * chans; // Do additional Audio Path 'open' callback DO_AUDIOPATH_CB(audiopath, open, substream); -- cgit 1.2.3-korg