decode method

  1. @override
Future<DecodedAudio?> decode(
  1. String path
)
override

Decodes path, or returns null on failure.

Implementation

@override
Future<DecodedAudio?> decode(String path) async {
  final s = await decodeWithFfmpeg(path, ffmpeg: ffmpeg);
  return s == null ? null : DecodedAudio(s);
}