FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webaudio/src/cpp/common.cpp at master · node-3d/webaudio · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
node-3d
/
webaudio
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
20
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
webaudio
/
src
/
cpp
/
common.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (15 loc) · 545 Bytes
Breadcrumbs
webaudio
/
src
/
cpp
/
common.cpp
Copy path
File metadata and controls
20 lines (15 loc) · 545 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
include
"
common.hpp
"
#
include
"
audio-context.hpp
"
void
_disconnectNode
(AudioContext *context, NodePtr node) {
lab::AudioContext *ctx = context->
getCtx
().
get
();
ctx->
disconnect
(node,
nullptr
);
}
void
_disconnectParam
(AudioContext *context, ParamPtr param) {
lab::AudioContext *ctx = context->
getCtx
().
get
();
lab::ContextGraphLock
graphLock
(ctx,
"
_disconnectParam
"
);
lab::AudioParam::disconnectAll
(graphLock, param);
}
void
Common::reset
(Napi::Object context) {
_context.
Reset
(context);
_contextVal =
AudioContext::unwrap
(context);
}
Back
|
FazBrowse Home
|
New Git URL