Just a quick guess: The ao_sample_format structure has changed in libao
1.x, and the new members may not be initialized properly.

Please try the attached patch.

-- 
Michael "Tired" Riepe <mich...@mr511.de>
X-Tired: Each morning I get up I die a little
Index: src/playaudio.cpp
===================================================================
--- src/playaudio.cpp   (revision 177)
+++ src/playaudio.cpp   (working copy)
@@ -18,6 +18,7 @@
 
 /* $Id$ */
 
+#include <cstring>
 #include <stdint.h>
 #include <algorithm>
 #include <string>
@@ -54,6 +55,8 @@
       }
 
       ao_sample_format format;
+      // zero-initialize
+      memset(&format, 0, sizeof(format));
 
       format.bits = 16;
       format.channels = channels;
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to