We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3a61e commit a8743e8Copy full SHA for a8743e8
lib/material/audios.dart
@@ -45,7 +45,7 @@ class SoundState extends State<Sound> {
45
@override
46
void initState() {
47
super.initState();
48
- _pool = Soundpool(streamType: StreamType.music);
+ _pool = Soundpool(streamType: StreamType.music, maxStreams: 4);
49
_soundIds = Map();
50
for (var value in _SOUNDS) {
51
scheduleMicrotask(() async {
pubspec.yaml
@@ -18,7 +18,7 @@ dependencies:
18
flutter_localizations:
19
sdk: flutter
20
overlay_support: ^0.0.4
21
- soundpool: ^0.4.1
+ soundpool: ^0.5.0
22
23
dev_dependencies:
24
flutter_test:
0 commit comments