Ios 为什么在iPhone上使用NuGet package Plugin.AudioRecorder播放whisper会很安静?
使用Xamarin Forms/iOS中的Plugin.AudioRecorder NuGet,我可以在iPhone8上录制音频,但在播放时声音很轻。如何增加音量 在AppDelegate.cs中,我有:Ios 为什么在iPhone上使用NuGet package Plugin.AudioRecorder播放whisper会很安静?,ios,xamarin.forms,avplayer,volume,Ios,Xamarin.forms,Avplayer,Volume,使用Xamarin Forms/iOS中的Plugin.AudioRecorder NuGet,我可以在iPhone8上录制音频,但在播放时声音很轻。如何增加音量 在AppDelegate.cs中,我有: AudioPlayer.RequestAVAudioSessionCategory (AVAudioSessionCategory.PlayAndRecord); 默认情况下,播放是通过手机的高音扬声器进行的。将输出定向到较低的扬声器解决了这个问题 在AppDelegate.cs中,添加:
AudioPlayer.RequestAVAudioSessionCategory (AVAudioSessionCategory.PlayAndRecord);
默认情况下,播放是通过手机的高音扬声器进行的。将输出定向到较低的扬声器解决了这个问题 在AppDelegate.cs中,添加:
AudioPlayer.OnPrepareAudioSession = x =>
{
// Route audio to the lower speaker rather than the upper speaker so sound volume is not minimal
x.OverrideOutputAudioPort ( AVAudioSessionPortOverride.Speaker, out NSError error );
};
非常奇怪为什么投票失败。我应该提到什么是隐含的,音量按钮设置为最大?我倒不是很烦