From: Mike Brady Date: Fri, 18 Dec 2015 13:39:51 +0000 (+0000) Subject: Use the correct tag name for desired alsa buffer length -- audio_backend_buffer_desir... X-Git-Tag: 2.7.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9725830d9aed8e617e696f95345f30c4cf8c7d8d;p=thirdparty%2Fshairport-sync.git Use the correct tag name for desired alsa buffer length -- audio_backend_buffer_desired_length --- diff --git a/audio_alsa.c b/audio_alsa.c index 76d00742..465caec4 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -94,7 +94,8 @@ static void help(void) { } static int init(int argc, char **argv) { - const char *str; + // debug(1,"audio_alsa init called."); + const char *str; int value; int hardware_mixer = 0; @@ -108,9 +109,9 @@ static int init(int argc, char **argv) { if (config.cfg != NULL) { /* Get the desired buffer size setting. */ - if (config_lookup_int(config.cfg, "alsa.audio_backend_buffer_desired_length_software", &value)) { + if (config_lookup_int(config.cfg, "alsa.audio_backend_buffer_desired_length", &value)) { if ((value < 0) || (value > 66150)) - die("Invalid alsa audio backend buffer desired length (software) \"%d\". It should be between 0 and " + die("Invalid alsa audio backend buffer desired length \"%d\". It should be between 0 and " "66150, default is 6615", value); else {