Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
8981ff8a
Commit
8981ff8a
authored
Oct 13, 2016
by
Rémi Verschelde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtaudio: Split thirdparty files
parent
5c12c9e6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
4 deletions
+33
-4
SCsub
drivers/SCsub
+2
-1
SCsub
drivers/rtaudio/SCsub
+16
-2
audio_driver_rtaudio.cpp
drivers/rtaudio/audio_driver_rtaudio.cpp
+2
-0
audio_driver_rtaudio.h
drivers/rtaudio/audio_driver_rtaudio.h
+2
-1
README.md
thirdparty/README.md
+11
-0
RtAudio.cpp
thirdparty/rtaudio/RtAudio.cpp
+0
-0
RtAudio.h
thirdparty/rtaudio/RtAudio.h
+0
-0
No files found.
drivers/SCsub
View file @
8981ff8a
...
...
@@ -18,7 +18,8 @@ SConscript("png/SCsub");
if (env["builtin_zlib"]=="yes"):
SConscript("builtin_zlib/SCsub");
SConscript("rtaudio/SCsub");
if (env["platform"] == "windows"):
SConscript("rtaudio/SCsub");
SConscript("nrex/SCsub");
SConscript("chibi/SCsub");
if (env["tools"]=="yes"):
...
...
drivers/rtaudio/SCsub
View file @
8981ff8a
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')
drivers/rtaudio/audio_driver_rtaudio.cpp
View file @
8981ff8a
...
...
@@ -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
{
...
...
drivers/rtaudio/audio_driver_rtaudio.h
View file @
8981ff8a
...
...
@@ -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
{
...
...
thirdparty/README.md
View file @
8981ff8a
...
...
@@ -147,6 +147,17 @@ Files extracted from upstream source:
-
all of them: rg_etc1.{cpp,h}
## rtaudio
-
Upstream: http://www.music.mcgill.ca/~gary/rtaudio/
-
Version: 4.1.2
-
License: MIT-like
Files extracted from upstream source:
-
RtAudio.{cpp,h}
## theora
-
Upstream: https://www.theora.org
...
...
drivers
/rtaudio/RtAudio.cpp
→
thirdparty
/rtaudio/RtAudio.cpp
View file @
8981ff8a
File moved
drivers
/rtaudio/RtAudio.h
→
thirdparty
/rtaudio/RtAudio.h
View file @
8981ff8a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment