|
|
@ -194,11 +194,13 @@ class _RandomABAudio extends _Audio {
|
|
|
|
await Future.wait(
|
|
|
|
await Future.wait(
|
|
|
|
[
|
|
|
|
[
|
|
|
|
createAudioPool(
|
|
|
|
createAudioPool(
|
|
|
|
source: DeviceFileSource(prefixFile(audioAssetA), mimeType: 'audio/mpeg'),
|
|
|
|
source:
|
|
|
|
|
|
|
|
DeviceFileSource(prefixFile(audioAssetA), mimeType: 'audio/mpeg'),
|
|
|
|
maxPlayers: 4,
|
|
|
|
maxPlayers: 4,
|
|
|
|
).then((pool) => audioA = pool),
|
|
|
|
).then((pool) => audioA = pool),
|
|
|
|
createAudioPool(
|
|
|
|
createAudioPool(
|
|
|
|
source: DeviceFileSource(prefixFile(audioAssetB), mimeType: 'audio/mpeg'),
|
|
|
|
source:
|
|
|
|
|
|
|
|
DeviceFileSource(prefixFile(audioAssetB), mimeType: 'audio/mpeg'),
|
|
|
|
maxPlayers: 4,
|
|
|
|
maxPlayers: 4,
|
|
|
|
).then((pool) => audioB = pool),
|
|
|
|
).then((pool) => audioB = pool),
|
|
|
|
],
|
|
|
|
],
|
|
|
|