Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用AVCaptureSession. 捕捉输入是标准的音频和视频AVCaptureDevice。捕获输出为AVCaptureMovieFileOutput. 如何改变音量?
AVCaptureSession
AVCaptureDevice
AVCaptureMovieFileOutput
可以通过共享更改音频音量,AVAudioSession如下所示:
AVAudioSession
try! AVAudioSession.sharedInstance().setInputGain(0.5)