engineSetSampleRate method

  1. @override
Future<void> engineSetSampleRate(
  1. int sampleRate
)
override

设置当前评测的采样率信息

Implementation

@override
Future<void> engineSetSampleRate(int sampleRate) async {
  List<dynamic> params = [sampleRate];
  await methodChannel.invokeMethod('engineSetSampleRate', params);
  return;
}