closePlayer method
Implementation
@override
Future<int> closePlayer(
FlutterSoundPlayerCallback callback,
) async {
int slotno = findSession(callback);
int r = _slots[slotno]!.releaseMediaPlayer();
_slots[slotno] = null;
return r;
}
@override
Future<int> closePlayer(
FlutterSoundPlayerCallback callback,
) async {
int slotno = findSession(callback);
int r = _slots[slotno]!.releaseMediaPlayer();
_slots[slotno] = null;
return r;
}