Skip to content

Commit 8476153

Browse files
committed
Move internal audio source files to internal subdir
1 parent 9fbd24f commit 8476153

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

src/audio/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
option(LIBSCRATCHCPP_AUDIO_SUPPORT "Audio support" ON)
22

33
add_library(scratchcpp-audio STATIC)
4-
set(MINIAUDIO_SRC thirdparty/miniaudio)
4+
set(MINIAUDIO_SRC internal/thirdparty/miniaudio)
55

66
if (LIBSCRATCHCPP_AUDIO_SUPPORT)
77
add_library(miniaudio STATIC
@@ -24,15 +24,15 @@ target_sources(scratchcpp-audio
2424
if (LIBSCRATCHCPP_AUDIO_SUPPORT)
2525
target_sources(scratchcpp-audio
2626
PUBLIC
27-
audioengine.cpp
28-
audioengine.h
29-
audioplayer.cpp
30-
audioplayer.h
27+
internal/audioengine.cpp
28+
internal/audioengine.h
29+
internal/audioplayer.cpp
30+
internal/audioplayer.h
3131
)
3232
else()
3333
target_sources(scratchcpp-audio
3434
PUBLIC
35-
audioplayerstub.cpp
36-
audioplayerstub.h
35+
internal/audioplayerstub.cpp
36+
internal/audioplayerstub.h
3737
)
3838
endif()

src/audio/audioplayerfactory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "audioplayerfactory.h"
44

55
#ifdef LIBSCRATCHCPP_AUDIO_SUPPORT
6-
#include "audioplayer.h"
6+
#include "internal/audioplayer.h"
77
#else
8-
#include "audioplayerstub.h"
8+
#include "internal/audioplayerstub.h"
99
#endif
1010

1111
using namespace libscratchcpp;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#pragma once
44

5-
#include "iaudioplayer.h"
5+
#include "../iaudioplayer.h"
66

77
struct ma_decoder;
88
struct ma_sound;
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)