summaryrefslogtreecommitdiffstats
path: root/alsa-pcm.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-08 16:57:23 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:40 +1100
commitde58013ed69a18b28816894e4740ef4b71814bd9 (patch)
tree0f42ede6bd933e1a167795971f3f92b2bd248b8a /alsa-pcm.c
parentd996ba9ae3f5c589fe551c2349f03e10c59b5512 (diff)
Remove remaining blocksize associated calcs
These should be done in the Audio Path Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'alsa-pcm.c')
-rw-r--r--alsa-pcm.c4
1 files changed, 0 insertions, 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);