1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/audio/xmms-nsf/files/patch-src__xmms__nsflib.h
Emanuel Haupt 6de5b2ae5e - Fix build with gcc 4.x
- Added a patch to control window to display when an nsf song is played and
  change 'Fadeout' option to 'Silence Until Next Song' [1]
- Cleanup
- Bump PORTREVISION

Obtained from:	gentoo
2007-01-11 14:25:53 +00:00

16 lines
500 B
C

--- ./src/xmms/nsflib.h.orig Sun Jul 23 12:05:21 2000
+++ ./src/xmms/nsflib.h Wed Jan 10 20:10:34 2007
@@ -1,10 +1,11 @@
typedef signed short Int16;
typedef unsigned int Uint;
+typedef unsigned int Uint32;
typedef unsigned char Uint8;
Uint NSFLoad(Uint8 *pData, Uint uSize);
void NSFSetSongNo(Uint uSongNo);
void NESAudioFrequencySet(Uint freq);
void NESReset(void);
-void NESAudioRender(Int16 *bufp, Uint buflen);
+Uint32 NESAudioRender(Int16 *bufp, Uint buflen);
void NESTerminate(void);