initMemoryAudioStream method

  1. @override
Future<int?> initMemoryAudioStream(
  1. int samplerRate,
  2. int bitRate,
  3. int channel
)
override

Implementation

@override
Future<int?> initMemoryAudioStream(
    int samplerRate, int bitRate, int channel) async {
  Map<String, Object> map = {
    "samplerRate": samplerRate,
    "bitRate": bitRate,
    "channel": channel
  };
  final result =
      await methodChannel.invokeMethod<int>('initMemoryAudioStream', map);
  return result;
}