Removed useless check

This commit is contained in:
Jaroslav Kysela 2001-11-01 07:23:28 +00:00
parent c580e02348
commit 7c7352a009

View file

@ -400,8 +400,6 @@ static int direct_loop(snd_pcm_t *handle,
printf("MMAP begin error: %s\n", snd_strerror(err));
exit(EXIT_FAILURE);
}
if (frames > period_size)
frames = period_size;
generate_sine(my_areas, offset, frames, &phase);
err = snd_pcm_mmap_commit(handle, offset, frames);
if (err < 0) {