]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Removed xrun_max. Cleaned xrun handling
authorAbramo Bagnara <abramo@alsa-project.org>
Tue, 3 Oct 2000 06:47:16 +0000 (06:47 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Tue, 3 Oct 2000 06:47:16 +0000 (06:47 +0000)
aplay/aplay.c

index 414d5043b86a99b660109144e7785d23329ab6cb..668ee56ca639c602c2fa5abd12f5e01628299321 100644 (file)
@@ -794,7 +794,6 @@ static void set_params(void)
        if (xrun_mode == SND_PCM_XRUN_FRAGMENT)
                params.xfer_align = params.frag_size;
        params.xfer_min = format.rate * xfer_min / 1000;
-       params.xrun_max = 0;
        if (snd_pcm_params(handle, &params) < 0) {
                error("unable to set params (where=0x%x, why=0x%x)", params.fail_mask, params.fail_reason);
                exit(EXIT_FAILURE);