From 9d835614a91c6ca1c68a2bfd8bfc053af30db5dc Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sat, 18 Aug 2018 20:19:54 -0400 Subject: [PATCH] I_GetMusicLoopPoint and I_SetMusicLoopPoint for other targets --- src/android/i_sound.c | 11 +++++++++++ src/djgppdos/i_sound.c | 11 +++++++++++ src/dummy/i_sound.c | 11 +++++++++++ src/sdl/sdl_sound.c | 11 +++++++++++ src/win32/win_snd.c | 11 +++++++++++ 5 files changed, 55 insertions(+) diff --git a/src/android/i_sound.c b/src/android/i_sound.c index 08721c6a3..6f70134b0 100644 --- a/src/android/i_sound.c +++ b/src/android/i_sound.c @@ -163,6 +163,17 @@ UINT32 I_GetMusicLength(void) return 0; } +boolean I_SetMusicLoopPoint(UINT32 looppoint) +{ + (void)looppoint; + return false; +} + +UINT32 I_GetMusicLoopPoint(void) +{ + return 0; +} + boolean I_SetMusicPosition(UINT32 position) { (void)position; diff --git a/src/djgppdos/i_sound.c b/src/djgppdos/i_sound.c index 8f4e560a8..dbf7a0142 100644 --- a/src/djgppdos/i_sound.c +++ b/src/djgppdos/i_sound.c @@ -556,6 +556,17 @@ UINT32 I_GetMusicLength(void) return 0; } +boolean I_SetMusicLoopPoint(UINT32 looppoint) +{ + (void)looppoint; + return false; +} + +UINT32 I_GetMusicLoopPoint(void) +{ + return 0; +} + boolean I_SetMusicPosition(UINT32 position) { (void)position; diff --git a/src/dummy/i_sound.c b/src/dummy/i_sound.c index c16dd8a3f..4cea29049 100644 --- a/src/dummy/i_sound.c +++ b/src/dummy/i_sound.c @@ -151,6 +151,17 @@ UINT32 I_GetMusicLength(void) return 0; } +boolean I_SetMusicLoopPoint(UINT32 looppoint) +{ + (void)looppoint; + return false; +} + +UINT32 I_GetMusicLoopPoint(void) +{ + return 0; +} + boolean I_SetMusicPosition(UINT32 position) { (void)position; diff --git a/src/sdl/sdl_sound.c b/src/sdl/sdl_sound.c index 748eb4427..e88d874fd 100644 --- a/src/sdl/sdl_sound.c +++ b/src/sdl/sdl_sound.c @@ -1993,6 +1993,17 @@ UINT32 I_GetMusicLength(void) return 0; } +boolean I_SetMusicLoopPoint(UINT32 looppoint) +{ + (void)looppoint; + return false; +} + +UINT32 I_GetMusicLoopPoint(void) +{ + return 0; +} + boolean I_SetMusicPosition(UINT32 position) { (void)position; diff --git a/src/win32/win_snd.c b/src/win32/win_snd.c index 987e3498d..066392a41 100644 --- a/src/win32/win_snd.c +++ b/src/win32/win_snd.c @@ -783,6 +783,17 @@ UINT32 I_GetMusicLength() return length; } +boolean I_SetMusicLoopPoint(UINT32 looppoint) +{ + (void)looppoint; + return false; +} + +UINT32 I_GetMusicLoopPoint(void) +{ + return 0; +} + boolean I_SetMusicPosition(UINT32 position) { if(midimode)