diff options
Diffstat (limited to 'dbverify.c')
-rw-r--r-- | dbverify.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -29,7 +29,6 @@ static snd_pcm_t *open_pcm(const char *name, unsigned *rate) { snd_pcm_t *d = NULL; int r; snd_pcm_hw_params_t *hw; - snd_pcm_uframes_t t; snd_output_t *output = NULL; int dir = 0; @@ -67,12 +66,6 @@ static snd_pcm_t *open_pcm(const char *name, unsigned *rate) { goto finish; } - t = *rate; - if ((r = snd_pcm_hw_params_set_buffer_size_near(d, hw, &t)) < 0) { - fprintf(stderr, "Cannot set buffer size: %s\n", snd_strerror(r)); - goto finish; - } - if ((r = snd_pcm_hw_params(d, hw)) < 0) { fprintf(stderr, "Cannot set parameters: %s\n", snd_strerror(r)); goto finish; |