diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-08 16:57:23 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-26 17:27:40 +1100 |
commit | de58013ed69a18b28816894e4740ef4b71814bd9 (patch) | |
tree | 0f42ede6bd933e1a167795971f3f92b2bd248b8a | |
parent | d996ba9ae3f5c589fe551c2349f03e10c59b5512 (diff) |
Remove remaining blocksize associated calcs
These should be done in the Audio Path
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r-- | alsa-pcm.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); |