-
Couldn't load subscription status.
- Fork 206
FreeQueue + WASM example #255
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
Open
ahujadivyam
wants to merge
7
commits into
GoogleChromeLabs:main
Choose a base branch
from
ahujadivyam:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d20a9e8
WebAssembly Example
ahujadivyam 82f5489
WebAssembly example, formatting and UI improvement
ahujadivyam a7e8c6d
remove .vscode folder
ahujadivyam d762369
Add README
ahujadivyam 4371644
Format README.md and example.c
ahujadivyam b076335
Format main.js
ahujadivyam 9c6da20
Format sink-processor.js
ahujadivyam 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
ahujadivyam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "C_Cpp.errorSquiggles": "Disabled" | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| {"version":"3.0.2","revision":"2838fd6","lastUpdated":"2022-08-30","copyrightYear":2022} | ||
| {"version":"3.0.2","revision":"d20a9e8","lastUpdated":"2022-09-04","copyrightYear":2022} |
11 changes: 11 additions & 0 deletions
11
src/audio-worklet/free-queue/examples/hello-webassembly/build.cmd
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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| mkdir "build" | ||
| emcc example.c ^ | ||
| -sENVIRONMENT=worker ^ | ||
| -sMODULARIZE=1 ^ | ||
| -sEXPORT_NAME=ExampleModule ^ | ||
| -sEXPORT_ES6=1 ^ | ||
| -sINVOKE_RUN=1 ^ | ||
| -pthread ^ | ||
| -sEXPORTED_RUNTIME_METHODS="['callMain','ccall', 'cwrap']" ^ | ||
| -o build/example.js ^ | ||
| --preload-file moonlight.mp3 |
11 changes: 11 additions & 0 deletions
11
src/audio-worklet/free-queue/examples/hello-webassembly/build.sh
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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| mkdir -p "build" | ||
ahujadivyam marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| emcc example.c \ | ||
| -sENVIRONMENT=worker \ | ||
| -sMODULARIZE=1 \ | ||
| -sEXPORT_NAME=ExampleModule \ | ||
| -sEXPORT_ES6=1 \ | ||
| -sINVOKE_RUN=1 \ | ||
| -pthread \ | ||
| -sEXPORTED_RUNTIME_METHODS="['callMain','ccall', 'cwrap']" \ | ||
| -o build/example.js \ | ||
| --preload-file moonlight.mp3 | ||
Binary file added
BIN
+15.1 MB
src/audio-worklet/free-queue/examples/hello-webassembly/build/example.data
Binary file not shown.
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.