Commit 775ffa1d authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ctxfi - Set periods_min to 2

Set 2 to minimal periods of playback pcm setups, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b7bbf876
...@@ -40,7 +40,7 @@ static struct snd_pcm_hardware ct_pcm_playback_hw = { ...@@ -40,7 +40,7 @@ static struct snd_pcm_hardware ct_pcm_playback_hw = {
.buffer_bytes_max = (128*1024), .buffer_bytes_max = (128*1024),
.period_bytes_min = (64), .period_bytes_min = (64),
.period_bytes_max = (128*1024), .period_bytes_max = (128*1024),
.periods_min = 1, .periods_min = 2,
.periods_max = 1024, .periods_max = 1024,
.fifo_size = 0, .fifo_size = 0,
}; };
...@@ -62,7 +62,7 @@ static struct snd_pcm_hardware ct_spdif_passthru_playback_hw = { ...@@ -62,7 +62,7 @@ static struct snd_pcm_hardware ct_spdif_passthru_playback_hw = {
.buffer_bytes_max = (128*1024), .buffer_bytes_max = (128*1024),
.period_bytes_min = (64), .period_bytes_min = (64),
.period_bytes_max = (128*1024), .period_bytes_max = (128*1024),
.periods_min = 1, .periods_min = 2,
.periods_max = 1024, .periods_max = 1024,
.fifo_size = 0, .fifo_size = 0,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment