简体   繁体   English

iPhone Xcode中从麦克风到扬声器的音频流

[英]Audio streaming from microphone to Speaker in iphone xcode

Actually i'm a newbee to iOS development. 实际上,我是iOS开发的新手。 My requirement from a client is to make iPhone work as a MegaPhone. 客户的要求是使iPhone成为MegaPhone。 ie, Audio input should be taken from the bluetooth or microphone and broadcast it through phone speakers. 即,音频输入应从蓝牙或麦克风获取,并通过电话扬声器广播。

I am able to record audio from microphone and play it using AVAudioRecorder and AVAudioPlayer,but what actually i needed is to broadcast to the speakers not recording. 我能够录制来自麦克风的音频,并使用AVAudioRecorder和AVAudioPlayer播放它,但实际上我需要的是广播给未录制的扬声器。

Guys any sample codes available for this?? 伙计们有没有可用的示例代码?

Thanks in advance. 提前致谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM