diff options
Diffstat (limited to 'net/vyqchat/files/patch-src-sound.cpp')
-rw-r--r-- | net/vyqchat/files/patch-src-sound.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/vyqchat/files/patch-src-sound.cpp b/net/vyqchat/files/patch-src-sound.cpp new file mode 100644 index 000000000000..9119cf1d8d3a --- /dev/null +++ b/net/vyqchat/files/patch-src-sound.cpp @@ -0,0 +1,10 @@ +--- 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; |