mirror of
https://abf.rosa.ru/djam/SDL2_sound.git
synced 2025-02-23 17:12:48 +00:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff -ur SDL_sound-2.0.1/examples/playsound.c SDL_sound-2.0.1_patched/examples/playsound.c
|
|
--- SDL_sound-2.0.1/examples/playsound.c 2022-03-25 23:17:50.000000000 +0300
|
|
+++ SDL_sound-2.0.1_patched/examples/playsound.c 2022-04-20 09:06:24.649341390 +0300
|
|
@@ -21,7 +21,7 @@
|
|
#ifdef _WIN32
|
|
#define SDL_MAIN_HANDLED /* this is a console-only app */
|
|
#endif
|
|
-#include "SDL.h"
|
|
+#include "SDL2/SDL.h"
|
|
#include "SDL_sound.h"
|
|
|
|
#define DEFAULT_DECODEBUF 16384
|
|
diff -ur SDL_sound-2.0.1/examples/playsound_simple.c SDL_sound-2.0.1_patched/examples/playsound_simple.c
|
|
--- SDL_sound-2.0.1/examples/playsound_simple.c 2022-03-25 23:17:50.000000000 +0300
|
|
+++ SDL_sound-2.0.1_patched/examples/playsound_simple.c 2022-04-20 09:06:40.035635467 +0300
|
|
@@ -18,7 +18,7 @@
|
|
#ifdef _WIN32
|
|
#define SDL_MAIN_HANDLED /* this is a console-only app */
|
|
#endif
|
|
-#include "SDL.h"
|
|
+#include "SDL2/SDL.h"
|
|
#include "SDL_sound.h"
|
|
|
|
/* global decoding state. */
|
|
diff -ur SDL_sound-2.0.1/src/SDL_sound.h SDL_sound-2.0.1_patched/src/SDL_sound.h
|
|
--- SDL_sound-2.0.1/src/SDL_sound.h 2022-03-25 23:17:50.000000000 +0300
|
|
+++ SDL_sound-2.0.1_patched/src/SDL_sound.h 2022-04-20 09:07:06.588326724 +0300
|
|
@@ -50,7 +50,7 @@
|
|
#ifndef _INCLUDE_SDL_SOUND_H_
|
|
#define _INCLUDE_SDL_SOUND_H_
|
|
|
|
-#include "SDL.h"
|
|
+#include "SDL2/SDL.h"
|
|
|
|
#if SDL_MAJOR_VERSION < 2
|
|
#error SDL2_sound requires SDL 2.0.0 or later.
|