$NetBSD$

--- xdao/SoundIF-ao.cc.orig	2005-04-22 02:01:49.000000000 +0000
+++ xdao/SoundIF-ao.cc
@@ -18,6 +18,7 @@
  */
 
 #include <ao/ao.h>
+#include <string.h>
 
 #include "SoundIF.h"
 #include "Sample.h"
@@ -37,6 +38,7 @@ SoundIF::SoundIF()
 
   impl_ = new SoundIFImpl;
   impl_->driverId = ao_default_driver_id();
+  memset(&impl_->format, 0, sizeof(impl_->format));
   impl_->format.bits = 16;
   impl_->format.rate = 44100;
   impl_->format.channels = 2;
