简体   繁体   English

收听声音只能在iPhone模拟器上使用,而不能在设备上使用

[英]Listening to sounds works on the iPhone simulator but not on the device

I am trying to process a blowing sound in my iPhone app. 我正在尝试在我的iPhone应用程序中处理吹响的声音。 I tried both solutions below. 我在下面尝试了两种解决方案。 They both work fine in the simulator but not on my device. 它们都可以在模拟器中正常运行,但不能在我的设备上运行。

I have seen similar questions around this topic but haven't find an answer yet. 我已经看到与此主题相关的类似问题,但尚未找到答案。 Do I need to turn on something in my app or settings? 我需要在我的应用程序或设置中打开某些内容吗?

Diferent sound cards have different 'gains' or amplifications. 不同的声卡具有不同的“增益”或放大率。 I had an issue with an app that detected DTMF sounds. 我检测到DTMF声音的应用程序出现问题。 It worked perfectly on my pc but not on other machines. 它可以在我的电脑上正常运行,但不能在其他机器上运行。

Phones also have noise cancellation systems and that may be causing the issue. 手机还具有噪音消除系统,这可能是造成此问题的原因。 Have you tried diferent devices? 您尝试过其他设备吗?

Maybe you should create your own app that renders a sound pitch value and see what happens... 也许您应该创建自己的应用程序以呈现音高值并查看会发生什么...

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

相关问题 适用于iPhone Simulator,但不适用于设备 - Works on iPhone Simulator but not on device 应用程序只能在iPhone设备上运行,而不能在模拟器上运行 - App works on iPhone device, but not on Simulator 代码可在iPhone模拟器上运行,但不能在设备上运行 - Code works on iPhone simulator but not on the device iPhone 4:Touches在模拟器上有效,但在设备上无效 - iPhone 4: Touches works on simulator but not on device Facebook登录可在iPhone模拟器上使用,但不能在iPhone设备上使用 - facebook login works on iphone simulator but not on iphone device 在iPhone模拟器中工作正常,但在iPhone设备中锁定 - Works fine in iphone simulator but lockup in an iphone device iPhone HTTP服务器可在模拟器上运行,但不适用于iPhone设备 - iPhone HTTP server works on simulator but not on iPhone device 我的iPhone应用程序可以在设备上运行,但不能在模拟器上运行 - My iPhone app works on the device, but not the simulator iPhone 6上的本机分辨率可在模拟器上使用,但不能在设备上使用 - Native resolution on iPhone 6, works on simulator but not on device iPhone的Xmppframework在模拟器上工作正常,但在设备上工作不正常? - Xmppframework for iphone works fine on simulator but not on device?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM