Commit e59c3b9
authored
feat: extract AudioContext from audio_context_config (#1440)
# Description
To properly extend the `audioplayers_platform_interface` it is necessary
to expose some of their classes. To do this in a further step, it is
cleaner to extract the `AudioContext` from the `audio_context_config`
and only expose the `AudioContext` and not the `AudioContextConfig` in
the platform interface.
## Migration instructions
Before:
```
import 'package:audioplayers_platform_interface/api/audio_context_config.dart';
```
After:
```
import 'package:audioplayers_platform_interface/api/audio_context.dart';
import 'package:audioplayers_platform_interface/api/audio_context_config.dart';
```1 parent a051c33 commit e59c3b9
8 files changed
Lines changed: 485 additions & 481 deletions
File tree
- packages
- audioplayers_platform_interface/lib
- api
- audioplayers_web/lib
- audioplayers/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
| 199 | + | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments