]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - alsa_write.c
gui: Simplify display command execution.
[paraslash.git] / alsa_write.c
index 1c0b928158d04405c66321e4ed6cfeec1468ee23..3759306ec2215f0732bba5fcc76d18d011db41e1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -114,7 +114,6 @@ static int alsa_init(struct private_alsa_write_data *pad,
                &pad->sample_rate, NULL);
        if (ret < 0)
                goto fail;
-       msg = "unable to get buffer time";
        /* alsa wants microseconds */
        pad->buffer_time = conf->buffer_time_arg * 1000;
        msg = "could not set buffer time";