summaryrefslogtreecommitdiffstats
path: root/alsa-pcm.c
diff options
context:
space:
mode:
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);