aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_params.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_params.c')
-rw-r--r--src/pcm_params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_params.c b/src/pcm_params.c
index ebd3aac..fbe296a 100644
--- a/src/pcm_params.c
+++ b/src/pcm_params.c
@@ -940,9 +940,9 @@ static int snd_pcm_hw_params_choose(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
{ SNDRV_PCM_HW_PARAM_SUBFORMAT, 0 },
{ SNDRV_PCM_HW_PARAM_CHANNELS, 0 },
{ SNDRV_PCM_HW_PARAM_RATE, 0 },
- { SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0 },
- { SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 0 },
{ SNDRV_PCM_HW_PARAM_BUFFER_SIZE, 1 },
+ { SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 0 },
+ { SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0 },
{ SNDRV_PCM_HW_PARAM_TICK_TIME, 0 },
};
int i, err;