playFromSource method
Play from Source
Accepts any Source (e.g., AssetSource, DeviceFileSource, UrlSource).
Skips playback if the channel is inactive.
Implementation
Future<void> playFromSource(Source source) async {
if (_active) {
FiftyAudioLogger.play(source.toString());
await _player.play(source);
} else {
FiftyAudioLogger.log('Skipped (inactive): $source');
}
}