aurioTouch示例应用程序的音频播放/通过不起作用? [英] aurioTouch sample app's audio playback/thru not working?

查看:66
本文介绍了aurioTouch示例应用程序的音频播放/通过不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Apple的描述,aurioTouch示例应用程序假设是获取音频输入并将其复制到输出,我认为这意味着该应用程序将播放/通过iPhone麦克风从iPhone扬声器拾取的任何声音。

According to Apple's description, the aurioTouch sample app is suppose to "get the audio input and copy it to the output", which I think means that the app will playback/thru any sound the iPhone's mike picks up through the iPhone's speakers.

但是,当我将应用程序加载到iPhone(更新为2.2)时,playthru功能似乎根本无法正常工作。屏幕上的示波器会按预期响应声音和声音,因此应用程序的音频输入部分显然可以正常工作。

When I loaded the app onto my iPhone (updated to 2.2), however, the playthru feature does not seem to work at all. The on-screen oscilliscope reponds as expected to voices and sounds, so the audio input half of the app is clearly working.

是的,我尝试切换应用程序的静音按钮,是的,我确保iPhone的铃声/静音开关未设置为静音,并且音量未设置为零。
我缺少了什么?

Yes, I have tried toggling the app's "MUTE" button, and yes, I made sure the iPhone's "ringer/silent" switch is not set to silent, and that the volume is not set to zero. What am I missing?

推荐答案

问题是辅助代码中的DC过滤器编写不正确。

The issue is an incorrectly written DC filter in the helper code.

注释掉AppDelegate代码的第210和211行,它们调用DC过滤器,您将立即启动并运行。

Comment out lines 210 and 211 of the AppDelegate code, which invoke the DC filter, and you'll be up and running immediately.

这篇关于aurioTouch示例应用程序的音频播放/通过不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆