-
Notifications
You must be signed in to change notification settings - Fork 304
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
Add support for Web Audio (Emscripten/WebAssembly) #887
Draft
fwcd
wants to merge
32
commits into
PortAudio:master
Choose a base branch
from
fwcd:wasm
base: master
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.
Commits on Mar 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 448425f - Browse repository at this point
Copy the full SHA 448425fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f8f8d - Browse repository at this point
Copy the full SHA 01f8f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8aee40 - Browse repository at this point
Copy the full SHA a8aee40View commit details -
Make sure that PortAudio and consumers are compiled with -pthread
We need pthreads and since WebAudio does not support linking non-pthread and pthread-enabled object files, we have to make this public.
Configuration menu - View commit details
-
Copy full SHA for ac876e6 - Browse repository at this point
Copy the full SHA ac876e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0770e36 - Browse repository at this point
Copy the full SHA 0770e36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da3745 - Browse repository at this point
Copy the full SHA 8da3745View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848fbdd - Browse repository at this point
Copy the full SHA 848fbddView commit details -
Configuration menu - View commit details
-
Copy full SHA for da02a65 - Browse repository at this point
Copy the full SHA da02a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a6865 - Browse repository at this point
Copy the full SHA c1a6865View commit details -
Set VCPKG_CHAINLOAD_TOOLCHAIN_FILE in CI
This should hopefully ensure that Emscripten is actually used
Configuration menu - View commit details
-
Copy full SHA for 1706a88 - Browse repository at this point
Copy the full SHA 1706a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3f169 - Browse repository at this point
Copy the full SHA be3f169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 692d915 - Browse repository at this point
Copy the full SHA 692d915View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83eb5a5 - Browse repository at this point
Copy the full SHA 83eb5a5View commit details -
Create a separate audio context per stream
While we could try multiplexing streams into a single audio context, we can only set one sink per context. Both therefore, and because the start/stop semantics seem to map nicely to AudioContext's resume/suspend, we will create a context per stream.
Configuration menu - View commit details
-
Copy full SHA for 1431da1 - Browse repository at this point
Copy the full SHA 1431da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a02a4e2 - Browse repository at this point
Copy the full SHA a02a4e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42bdb7c - Browse repository at this point
Copy the full SHA 42bdb7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d27dbc5 - Browse repository at this point
Copy the full SHA d27dbc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2639d6 - Browse repository at this point
Copy the full SHA d2639d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c679a - Browse repository at this point
Copy the full SHA 33c679aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e356cd - Browse repository at this point
Copy the full SHA 6e356cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8d1abf - Browse repository at this point
Copy the full SHA c8d1abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for edffb12 - Browse repository at this point
Copy the full SHA edffb12View commit details -
Configuration menu - View commit details
-
Copy full SHA for deb8a57 - Browse repository at this point
Copy the full SHA deb8a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4057598 - Browse repository at this point
Copy the full SHA 4057598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2ff90 - Browse repository at this point
Copy the full SHA 6d2ff90View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2102c5 - Browse repository at this point
Copy the full SHA a2102c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d4202 - Browse repository at this point
Copy the full SHA 47d4202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6375db9 - Browse repository at this point
Copy the full SHA 6375db9View commit details
Commits on Mar 11, 2024
-
Add PA_WEBAUDIO_ASYNCIFY and experimental synchronous mode
This synchronous mode uses `emscripten_thread_sleep` instead of `emscripten_sleep` and is intended to run from a separate thread where blocking is allowed. In its current state, this seems to depend on WebAudio/web-audio-api#2423 The alternative would be to proxy audio context-related calls to the main thread.
Configuration menu - View commit details
-
Copy full SHA for 831c636 - Browse repository at this point
Copy the full SHA 831c636View commit details -
Configuration menu - View commit details
-
Copy full SHA for c80758a - Browse repository at this point
Copy the full SHA c80758aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6a5b7 - Browse repository at this point
Copy the full SHA 3a6a5b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9015e5 - Browse repository at this point
Copy the full SHA c9015e5View commit details
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.