Skip to content

Commit

Permalink
Update src/context/concrete_base.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Matuszewski <benjamin.matuszewski@gmail.com>
  • Loading branch information
orottier and b-ma authored Apr 19, 2024
1 parent 8965534 commit 1c36f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/concrete_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ impl ConcreteBaseAudioContext {
/// Updates state of current context
pub(super) fn set_state(&self, state: AudioContextState) {
// Only used from OfflineAudioContext or suspended AudioContext, otherwise the state
// changed ar spawned from the render thread
// changed are spawned from the render thread
let current_state = self.state();
if current_state != state {
self.inner.state.store(state as u8, Ordering::Release);
Expand Down

0 comments on commit 1c36f8e

Please sign in to comment.