ports/audio/umodplayer/files/patch-coresound.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

10 lines
251 B
C

--- coresound.c.orig 2006-09-16 13:50:12 UTC
+++ coresound.c
@@ -132,6 +132,7 @@ CoreSound_InitAudio()
if (drv < 0)
return FALSE;
+ memset(&fmt, 0, sizeof(fmt));
fmt.rate = sets.samplerate;
fmt.bits = 16;
fmt.byte_format = AO_FMT_NATIVE;