Skip to content

Commit

Permalink
docs: Update deprecated setGlobalAudioContext to setAudioContext (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 authored Dec 1, 2023
1 parent fd33b1d commit 3b81432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ An Audio Context is a (mostly mobile-specific) set of secondary, platform-specif
The Audio Context configuration can be set globally for all players via:

```dart
AudioPlayer.global.setGlobalAudioContext(AudioContextConfig(/*...*/).build());
AudioPlayer.global.setAudioContext(AudioContextConfig(/*...*/).build());
```

To configure a player specific Audio Context (if desired), use:
Expand Down

0 comments on commit 3b81432

Please sign in to comment.