Skip to content

Commit

Permalink
Correct option tag in the ao subsystem to read audio_backend_buffer_d…
Browse files Browse the repository at this point in the history
…esired_length rather than audio_backend_buffer_desired_length_software
  • Loading branch information
mikebrady committed Dec 30, 2015
1 parent c894c8b commit d546f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio_ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static int init(int argc, char **argv) {

if (config.cfg != NULL) {
/* Get the desired buffer size setting. */
if (config_lookup_int(config.cfg, "ao.audio_backend_buffer_desired_length_software", &value)) {
if (config_lookup_int(config.cfg, "ao.audio_backend_buffer_desired_length", &value)) {
if ((value < 0) || (value > 66150))
die("Invalid a0 audio backend buffer desired length \"%d\". It should be between 0 and "
"66150, default is 44100",
Expand Down

0 comments on commit d546f4b

Please sign in to comment.