On 2009/08/18 01:51, Peter Colberg <pe...@colberg.org> wrote:
> Reverting commit 7133f56 fixes the audio skips :-).

Thanks for the bisect!

I suspect this is an uninitialized variable.  Please try two
approaches at working around it:

1. "mpc toggle" twice (enter pause, leave pause) - this should
   initialize the "pause" flag retroactively

2. try the attached patch

If the patch fixes the problem, we'll release 0.15.3 soon.

Max
diff --git a/src/output_init.c b/src/output_init.c
index 04609bb..9274243 100644
--- a/src/output_init.c
+++ b/src/output_init.c
@@ -109,6 +109,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param,
 	ao->plugin = plugin;
 	ao->enabled = config_get_block_bool(param, "enabled", true);
 	ao->open = false;
+	ao->pause = false;
 	ao->fail_timer = NULL;
 
 	pcm_convert_init(&ao->convert_state);

Reply via email to