summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-xdao__SoundIF-ao.cc
blob: 2e5bde7b6ebc5c45ad79e5337fd961828b00fcc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- xdao/SoundIF-ao.cc.orig	2010-06-06 16:37:14.000000000 +0200
+++ xdao/SoundIF-ao.cc	2010-06-06 16:42:17.000000000 +0200
@@ -37,6 +37,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;