diff options
author | naddy <naddy@FreeBSD.org> | 2010-06-07 04:39:21 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2010-06-07 04:39:21 +0800 |
commit | a7e23ef2423b94523671d838b70763ecfea3ca60 (patch) | |
tree | 3d3fdf131c6f5d30a25430d16a62f0d82e33445f /emulators/zsnes/files | |
parent | 14d2f864caf57bceba3f0ac72ea827fafd27743d (diff) | |
download | freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.gz freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.zst freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.zip |
Bump PORTREVISION after libao update and handle API incompatibility.
Diffstat (limited to 'emulators/zsnes/files')
-rw-r--r-- | emulators/zsnes/files/patch-linux_audio.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/zsnes/files/patch-linux_audio.c b/emulators/zsnes/files/patch-linux_audio.c new file mode 100644 index 000000000000..a88985a34fa5 --- /dev/null +++ b/emulators/zsnes/files/patch-linux_audio.c @@ -0,0 +1,10 @@ +--- linux/audio.c.orig 2010-06-06 14:56:20.000000000 +0200 ++++ linux/audio.c 2010-06-06 14:56:41.000000000 +0200 +@@ -166,6 +166,7 @@ static int SoundInit_ao() + if (driver_id < 0) { driver_id = ao_default_driver_id(); } + + ao_sample_format driver_format; ++ memset(&driver_format, 0, sizeof(driver_format)); + driver_format.bits = 16; + driver_format.channels = StereoSound+1; + driver_format.rate = freqtab[SoundQuality = ((SoundQuality > 6) ? 1 : SoundQuality)]; |