opus_to_pcm
Plugin for common pcm for audio conversion in a specific opus format
Getting Started
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Usage
Add the opus_to_pcm
to dependencies in pubspec.yaml
.
dependencies:
opus_to_pcm: ^0.0.23
Next, import the library into your app.
import 'package:opus_to_pcm/opus_to_pcm.dart';
Next, Declaration object
final _opusToPcmPlugin = OpusToPcm();
Next, call the transcoding method and pass List< int> Byte array parameter
final List<int> _testData = [];
List<int> _result = await _opusToPcmPlugin.opusBytesToPcmBytes(_testData);
Finally, the converted generic pcm audio data stream is obtained