diff options
Diffstat (limited to 'sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc')
-rw-r--r-- | sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc b/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc new file mode 100644 index 000000000000..2e5bde7b6ebc --- /dev/null +++ b/sysutils/cdrdao/files/patch-xdao::SoundIF-ao.cc @@ -0,0 +1,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; |