Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MINT
godot-addons
gdpd
Commits
733c0d8b
Commit
733c0d8b
authored
May 09, 2020
by
BERTHAUT Florent
Browse files
Fixed default in and out
parent
a5f28c51
Changes
3
Hide whitespace changes
Inline
Side-by-side
SConstruct
View file @
733c0d8b
...
...
@@ -49,7 +49,7 @@ if env['platform'] == '':
if
env
[
'platform'
]
==
"osx"
:
env
[
'target_path'
]
+=
'osx/'
cpp_library
+=
'.osx'
env
.
Append
(
CPPDEFINES
=
[
'__MACOSX_CORE__'
])
env
.
Append
(
CPPDEFINES
=
[
'__MACOSX_CORE__'
,
'HAVE_UNISTD_H'
])
env
.
Append
(
CXXFLAGS
=
[
'-std=c++17'
])
env
.
Append
(
LINKFLAGS
=
[
'-arch'
,
'x86_64'
,
'-framework'
,
'CoreAudio'
,
'-framework'
,
'CoreFoundation'
])
...
...
src/gdpd.cpp
View file @
733c0d8b
...
...
@@ -61,7 +61,7 @@ int Gdpd::init(int nbInputs, int nbOutputs, int sampleRate, int bufferSize) {
RtAudio
::
StreamParameters
outParams
,
inParams
;
unsigned
int
sr
=
m_audio
.
getDeviceInfo
(
outParams
.
deviceId
).
preferredSampleRate
;
outParams
.
deviceId
=
m_audio
.
getDefaultOutputDevice
();
inParams
.
deviceId
=
m_audio
.
getDefault
Out
putDevice
();
inParams
.
deviceId
=
m_audio
.
getDefault
In
putDevice
();
outParams
.
nChannels
=
m_nbInputs
=
nbInputs
;
inParams
.
nChannels
=
m_nbOutputs
=
nbOutputs
;
m_bufferFrames
=
bufferSize
;
...
...
src/rtaudio/RtAudio.os
View file @
733c0d8b
No preview for this file type
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