-
-
Notifications
You must be signed in to change notification settings - Fork 46
Refactor/internal tools #932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
43fed07
refactor: audio array
6ad3a2b
feat: audio bus
f32a9f7
chore: added docs for both utils
91503c4
ci: lint
456b139
refactor: audio array and fft
8f439a6
chore: requested changes
e74317f
refactor: next part for audio bus and audio array
d1dede6
refactor: wip
1eca174
Merge branch 'main' into refactor/internal-tools
55bb04b
fix: a few fixes
e3b937c
fix: lint
83e8fdd
fix: fixed tests
122b9e0
fix: todos
a87f2f7
refactor: nits
58471e4
fix: nitpick
1b51ce6
refactor: added copyWithin - memmove to audio array
8127fa2
fix: memmove
2b01ac3
chore: updated custom processor template
dd2bf6b
refactor: optimized interleaveTo function
40d3ce7
refactor: renaming
7703767
refactor: renaming
a39e955
refactor: renaming
f9a3ac2
refactor: doxygen for AudioBuffer
a92bbf9
refactor: deinterleave audio data using AudioBuffer method
49537d0
refactor: broader support for circular data structures operations and…
7a13612
chore: requuested changes from code review
8587663
fix: nits
2e7538a
Merge branch 'main' into refactor/internal-tools
a033e12
ci: lint
0e95b8a
chore: requested changes from cr
60ea709
ci: lint
3c43693
refactor: get channel by type
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
packages/custom-node-generator/templates/basic/shared/MyProcessorNode.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,16 @@ | ||
| #include "MyProcessorNode.h" | ||
| #include <audioapi/utils/AudioBus.h> | ||
| #include <audioapi/utils/AudioBuffer.h> | ||
|
|
||
| namespace audioapi { | ||
| MyProcessorNode::MyProcessorNode(std::shared_ptr<BaseAudioContext> context) | ||
| MyProcessorNode::MyProcessorNode( | ||
| const std::shared_ptr<BaseAudioContext> &context, ) | ||
| : AudioNode(context) { | ||
| isInitialized_ = true; | ||
| isInitialized_ = true; | ||
| } | ||
|
|
||
| std::shared_ptr<AudioBus> MyProcessorNode::processNode(const std::shared_ptr<AudioBus> &bus, | ||
| int framesToProcess) { | ||
| // put your processing logic here | ||
| std::shared_ptr<AudioBuffer> | ||
| MyProcessorNode::processNode(const std::shared_ptr<AudioBuffer> &buffer, | ||
| int framesToProcess) { | ||
| // put your processing logic here | ||
| } | ||
| } // namespace audioapi | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.