1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/waon/files/patch-ao-wrapper.c

11 lines
332 B
C

--- ao-wrapper.c.orig 2010-06-06 14:28:59.000000000 +0200
+++ ao-wrapper.c 2010-06-06 14:29:25.000000000 +0200
@@ -53,6 +53,7 @@ ao_init_16_stereo (int samplerate, int v
default_driver = ao_default_driver_id ();
+ memset(&format, 0, sizeof(format));
format.bits = 16;
format.channels = 2;
format.rate = samplerate;