Re: Does iOS audio input work with simulator?
Re: Does iOS audio input work with simulator?
- Subject: Re: Does iOS audio input work with simulator?
- From: Chris Adamson <email@hidden>
- Date: Thu, 23 Jan 2014 17:02:07 -0500
Check your code. I just ran CH10_iOSPlayThrough (the one with the Dalek effect) from the book's download code on Xcode 5.0.1's iOS 7 simulators (32- and 64-bit) and it worked just fine. This was on a 2008 Mac Pro with a USB mic.
Also check your OS X System Prefs -> Sound -> Input to make sure you're using the mic you think you're using.
Confusion may be from the fact that AVFoundation capture doesn't work on the simulator. But Core Audio capture has always worked for me on the simulator. Except when my code has sucked. Which happens a lot.
--Chris
On Jan 23, 2014, at 4:34 PM, support (One Red Dog Media) <email@hidden> wrote:
> No I don't believe it does. I've always had to use the real device.
>
> Sent from my iPhone
>
>> On 24 Jan 2014, at 7:35 am, "Beinan Li" <email@hidden> wrote:
>>
>> Hi CoreAudio:
>>
>> I tried to reuse my remoteIO-based audio input code with iPhone or iPad simulator.
>> But seems that all I get from the input callback buffer was silence.
>> The exact same code works with a real device.
>> I also checked all the sound input code examples I can find including the book
>> Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS.
>> None of the examples work with the simulator.
>>
>> Am I missing something?
>>
>> Thanks,
>> Beinan
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Coreaudio-api mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden