iphone xcode 中从麦克风到扬声器的音频流
实际上我是 iOS 开发的新手。 我的客户要求是让 iPhone 作为 MegaPhone 工作。即,音频输入应从蓝牙或麦克风获取,并通过手机扬声器广播。
我可以从麦克风录制音频并使用 AVAudioRecorder 和 AVAudioPlayer 播放它,但实际上我需要的是广播到不录音的扬声器。
伙计们有可用的示例代码吗?
提前致谢。
Actually i'm a newbee to iOS development.
My requirement from a client is to make iPhone work as a MegaPhone. i.e, 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.
Guys any sample codes available for this??
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AurioTouch 示例代码可用于此目的
http://developer. apple.com/library/ios/#samplecode/aurioTouch/Introduction/Intro.html
AurioTouch sample code is available for this purpose
http://developer.apple.com/library/ios/#samplecode/aurioTouch/Introduction/Intro.html