Skip to content

Commit

Permalink
initialize audio manager only if an instance needs it
Browse files Browse the repository at this point in the history
partially addressing [this request](https://rive.app/community/forums/bugs/fsLjspgTHYcR/new-web-runtime-is-trying-to-setup-audiocontext-before-user-interaction/ftnduzDdPGw9) from a user
this improves how we handle audio in web.
Now, instead of requesting an audio context for all cases, we reduce it to scenarios where an animation has an audio event.

Diffs=
328d307df initialize audio manager only if an instance needs it (#7132)
  • Loading branch information
bodymovin committed Apr 25, 2024
1 parent 3a71eba commit d1bc5d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4ed7c7a7149d6ea5c795ca9250fb1f3ef550d920
328d307dfdfcc3c4a9d7c726f783b5325bfbef43
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f633a67073ae9d7987ad4b8f858595fbdbc1a7ec
9ff95579df275d60e9c2c49c7b4e8630d915e1a5
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit d1bc5d2

Please sign in to comment.