mirror of https://git.wownero.com/dsc/mxe.git
smpeg: use format-patch
This commit is contained in:
parent
e2b448de53
commit
6084417109
|
@ -1,18 +0,0 @@
|
||||||
--- ./MPEGaudio.h~ 2006-03-13 15:24:38.000000000 +0000
|
|
||||||
+++ ./MPEGaudio.h 2006-03-13 15:25:07.000000000 +0000
|
|
||||||
@@ -149,6 +149,14 @@
|
|
||||||
};
|
|
||||||
|
|
||||||
/* The actual MPEG audio class */
|
|
||||||
+
|
|
||||||
+class MPEGaudio;
|
|
||||||
+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
|
||||||
+int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
|
|
||||||
+#ifdef THREADED_AUDIO
|
|
||||||
+int Decode_MPEGaudio(void *udata);
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
class MPEGaudio : public MPEGerror, public MPEGaudioaction {
|
|
||||||
|
|
||||||
friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
This file is part of MXE. See LICENSE.md for licensing information.
|
||||||
|
|
||||||
|
Contains ad hoc patches for cross building.
|
||||||
|
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tony Theodore <tonyt@logyst.com>
|
||||||
|
Date: Thu, 20 Feb 2020 13:41:29 +1100
|
||||||
|
Subject: [PATCH 1/1] fix missing declaration
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/MPEGaudio.h b/MPEGaudio.h
|
||||||
|
index 1111111..2222222 100644
|
||||||
|
--- a/MPEGaudio.h
|
||||||
|
+++ b/MPEGaudio.h
|
||||||
|
@@ -149,6 +149,14 @@ private:
|
||||||
|
};
|
||||||
|
|
||||||
|
/* The actual MPEG audio class */
|
||||||
|
+
|
||||||
|
+class MPEGaudio;
|
||||||
|
+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
||||||
|
+int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
|
||||||
|
+#ifdef THREADED_AUDIO
|
||||||
|
+int Decode_MPEGaudio(void *udata);
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
class MPEGaudio : public MPEGerror, public MPEGaudioaction {
|
||||||
|
|
||||||
|
friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
Loading…
Reference in New Issue