startPlayerFromMic method
Future<int>
startPlayerFromMic(
- FlutterSoundPlayerCallback callback, {
- int? numChannels,
- int? sampleRate,
- int bufferSize = 20480,
- bool enableVoiceProcessing = false,
override
Implementation
@override
Future<int> startPlayerFromMic(FlutterSoundPlayerCallback callback,
{int? numChannels,
int? sampleRate,
int bufferSize = 20480,
bool enableVoiceProcessing = false}) {
return invokeMethod(
callback,
'startPlayerFromMic',
{
'numChannels': numChannels,
'sampleRate': sampleRate,
'bufferSize': bufferSize,
'enableVoiceProcessing': enableVoiceProcessing ? 1 : 0,
},
);
}