English 中文(简体)
使用音频Que进行录音的最适当方式?
原标题:Most suitable way for audio streaming using AudioQue?

I am writing an application, which sends audio data to server in real-time. I have done this task but, some time it make error. I believe, this is due to the bad architecture of my program. The program content is as follows:

- 关于录音,我写了音像录音课,该课采用了音像制品。 在这种方法中,我利用NSOutputStream将音频数据带入缓冲并送往服务器。

- 流层、NSOutputStream和NSInputStream的电流在音像录音带上。

- 流处理活动方法(按流层排列)也采用同一录音带。

在开发这一应用的同时 我接着谈谈问题。

(1) 我想用某种方法简化另一个类别,并发送缓冲。 但是,它的工作很紧。 因此,我以同一类别执行。

2) 当我要发出“端”信息时(After 点击尾纽顿),我试图利用NSOutputStream的事例,在Button终端方法中发出。 但是,这肯定是成功的。 因此,我确定,它将一些参数放在音频CallBack。

q1) Why I cannot make streaming part in another class ? q2) What is the better way to organize this type of application in order to iPhone application development.

iii

问题回答

暂无回答




相关问题
Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a null exception : file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

Play sound in iPhone web app with Javascript?

I m currently creating an iPhone web application for piano chords, and I wanted to add an option that would let the user press a Play button and play the selected chord. However, I m not sure how to ...

热门标签