在 Cocoa 中捕获音频缓冲区
大家好
在我的应用程序中,我需要启用通过 IP 的语音通信,即需要捕获音频缓冲区并通过安全套接字通过互联网发送, 在下层,一切都准备好了,我需要启动语音通信的入口点,但在Apple文档中没有得到任何指针,到目前为止我已经完成了以下操作,
1 - 在Apple文档中查看CoreAudio编程指南,是这样的正确的开始位置,
2 - 如果是,在某处它说,我需要下载 CoreAudio SDK,它不会与标准 XCOde 和 Cocoa 框架一起提供,
亲切的问候
罗汉
Hello All
In my application , i need to enable voice communication over IP,i.e. need to capture the Audio buffer and send it over the Internet, through secure socket,
In the Lower layer everything is ready, I need the entry point to start Voice Communication, but not getting any pointer in the Apple documentation, so far i have done following,
1 -- In the Apple documentation going through CoreAudio programming guide, is this right place to start,
2 -- if yes, somewhere it says, i need to download CoreAudio SDK, will it not come along with standard XCOde and Cocoa framework,
Kind Regards
Rohan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
1:CoreAudio 编程指南是正确的起点。
Mac 开发中心中也有非常好的示例,也许一些 iPhone 示例也是可移植/有用的(因为 iPhone 中的 CoreAudio 基本上是 Mac 上 CoreAudio 的子集)
2:您不需要下载任何其他内容。如果您有 Xcode,则只需将 CoreAudio.framework 添加到您的项目中并添加
#import
1: CoreAudio programming guide is the right place to start.
Also there are very good samples in Mac Dev Center and perhaps some iPhone examples are portable/useful as well (since CoreAudio in the iPhone is basically a sub-set of CoreAudio for the Mac)
2: You don't need to download anything else. If you have Xcode then just add CoreAudio.framework to your project and add
#import <CoreAudio/CoreAudio.h>
Nacho4d 是对的。您不需要下载任何东西。 CoreAudio.framework 包含在 XCode 中。
至于学习如何使用 Core-Audio 一般来说,如果您不是经验丰富的程序员,那么 Apple 的文档可能会很难使用。到目前为止,关于这个主题只写了一本书:它叫做核心音频(粗剪) 它是由 Kevin Avila 和 Chris Adamson 在 Addison-Wesley Professional 上撰写的。它应该可以帮助您了解基础知识。
Nacho4d is right. You don't need to download anything. The CoreAudio.framework is included in XCode.
As for learning how to work with Core-Audio in general Apple's documentation may be painful to use if you are not a seasoned programmer. Only one book has been written on the subject so far: It's called Core Audio (Rough Cuts) and it's written by Kevin Avila and Chris Adamson on Addison-Wesley Professional. It should help you with the basics.