diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2010-06-06 20:39:21 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2010-06-06 20:39:21 +0000 |
commit | f613ac049d40272c3b27a76dbab7f6723f2a2ba2 (patch) | |
tree | e62b67c39f729f55f17b68f6438f9f1beeadd10c /emulators/zsnes/files/patch-linux_audio.c | |
parent | Update to 2.30.2.0. (diff) |
Bump PORTREVISION after libao update and handle API incompatibility.
Notes
Notes:
svn path=/head/; revision=255956
Diffstat (limited to 'emulators/zsnes/files/patch-linux_audio.c')
-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)]; |