mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
rtaudio: Split thirdparty files
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,18 @@
|
||||
Import('env')
|
||||
Export('env');
|
||||
|
||||
env.add_source_files(env.drivers_sources,"*.cpp")
|
||||
# Not cloning the env, the includes need to be accessible for platform/
|
||||
|
||||
# Thirdparty source files
|
||||
thirdparty_dir = "#thirdparty/rtaudio/"
|
||||
thirdparty_sources = [
|
||||
"RtAudio.cpp",
|
||||
]
|
||||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||
|
||||
env.add_source_files(env.drivers_sources, thirdparty_sources)
|
||||
env.Append(CPPPATH = [thirdparty_dir])
|
||||
|
||||
# Driver source files
|
||||
env.add_source_files(env.drivers_sources, "*.cpp")
|
||||
|
||||
Export('env')
|
||||
|
||||
@@ -27,8 +27,10 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "audio_driver_rtaudio.h"
|
||||
|
||||
#include "globals.h"
|
||||
#include "os/os.h"
|
||||
|
||||
#ifdef RTAUDIO_ENABLED
|
||||
|
||||
const char* AudioDriverRtAudio::get_name() const {
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
#ifdef RTAUDIO_ENABLED
|
||||
|
||||
#include "servers/audio/audio_server_sw.h"
|
||||
#include "drivers/rtaudio/RtAudio.h"
|
||||
|
||||
#include <RtAudio.h>
|
||||
|
||||
class AudioDriverRtAudio : public AudioDriverSW {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user