FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webaudio/src/cpp/audio-buffer-source-node.hpp 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
/
audio-buffer-source-node.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
45 lines (30 loc) · 1.16 KB
Breadcrumbs
webaudio
/
src
/
cpp
/
audio-buffer-source-node.hpp
Copy path
File metadata and controls
45 lines (30 loc) · 1.16 KB
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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
pragma
once
#
include
"
common.hpp
"
class
AudioBufferSourceNode
:
public
CommonNode
{
DECLARE_ES5_CLASS
(AudioBufferSourceNode, AudioBufferSourceNode);
public:
static
void
init
(Napi::Env env, Napi::Object exports);
explicit
AudioBufferSourceNode
(
const
Napi::CallbackInfo &info);
~AudioBufferSourceNode
();
void
_destroy
();
private:
Napi::ObjectReference _buffer;
Napi::ObjectReference _playbackRate;
Napi::ObjectReference _detune;
bool
_isLooping;
float
_loopStart;
float
_loopEnd;
JS_DECLARE_METHOD
(AudioBufferSourceNode, destroy);
JS_DECLARE_METHOD
(AudioBufferSourceNode, start);
JS_DECLARE_METHOD
(AudioBufferSourceNode, schedule);
JS_DECLARE_GETTER
(AudioBufferSourceNode, buffer);
JS_DECLARE_SETTER
(AudioBufferSourceNode, buffer);
JS_DECLARE_GETTER
(AudioBufferSourceNode, playbackRate);
JS_DECLARE_GETTER
(AudioBufferSourceNode, detune);
JS_DECLARE_GETTER
(AudioBufferSourceNode, loop);
JS_DECLARE_SETTER
(AudioBufferSourceNode, loop);
JS_DECLARE_GETTER
(AudioBufferSourceNode, loopStart);
JS_DECLARE_SETTER
(AudioBufferSourceNode, loopStart);
JS_DECLARE_GETTER
(AudioBufferSourceNode, loopEnd);
JS_DECLARE_SETTER
(AudioBufferSourceNode, loopEnd);
};
Back
|
FazBrowse Home
|
New Git URL