summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dbverify.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/dbverify.c b/dbverify.c
index e6d9dfe..cb20956 100644
--- a/dbverify.c
+++ b/dbverify.c
@@ -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;