mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
10 lines
356 B
C++
10 lines
356 B
C++
--- src/sound.cpp.orig 2010-06-06 16:28:57.000000000 +0200
|
|
+++ src/sound.cpp 2010-06-06 16:29:34.000000000 +0200
|
|
@@ -173,6 +173,7 @@ void SoundLibAo::play(VyEvent evt)/*{{{*
|
|
{
|
|
ao_sample_format frmt;
|
|
|
|
+ memset(&frmt, 0, sizeof(frmt));
|
|
frmt.bits = sizeof(short) << 3;
|
|
frmt.channels = sfinf[evt].channels;
|
|
frmt.rate = sfinf[evt].samplerate;
|