Re: one more RemoteIO question
Re: one more RemoteIO question
- Subject: Re: one more RemoteIO question
- From: William Stewart <email@hidden>
- Date: Sat, 17 Apr 2010 10:47:22 -0700
you also can't do I/O at different sample rates... so if you want 44.1k output, then make sure your category is a play (output only) category.
On Apr 17, 2010, at 7:34 AM, Benjamin Faber wrote:
> Brad,
>
> In my experience, you are limited to 8 kHz on the original iPhone only when using the built in mic or the built in speaker. If you use the headset jack or the dock connector I/O, you can operate the RemoteIO at 44.1k, 48k, and other sample rates. The OS automatically selects your input source based on what hardware you have connected to the iPhone.
>
> Ben Faber
>
>
>
> On Apr 17, 2010, at 7:06 AM, Brad Garton <email@hidden> wrote:
>
>> So there's no way to set up RemoteIO for output only and get 44100k SR on the older hardware?
>>
>> brad
>> http://music.columbia.edu/~brad
>>
>>
>> On Apr 16, 2010, at 8:05 PM, William Stewart wrote:
>>
>>> Yes, on the original phone you can only have 8kHz input
>>>
>>> On Apr 16, 2010, at 3:53 PM, Brad Garton wrote:
>>>
>>>> Thanks to good info from James, etc. I was able to get my renderer working properly (and the inframes do shift around!). However, on the device (I'm testing on an old iPhone) I can only get 8k sampling rate. I tried setting up the RemoteIO using the output scope only:
>>>>
>>>> UInt32 flag = 1;
>>>> AudioUnitSetProperty(rioUnit, kAudioOutputUnitProperty_EnableIO,
>>>> kAudioUnitScope_Output, kOutputBus, &flag, sizeof(flag));
>>>> AudioUnitSetProperty(rioUnit, kAudioUnitProperty_StreamFormat,
>>>> kAudioUnitScope_Output, kInputBus, &audioFormat, sizeof(audioFormat));
>>>> AudioUnitSetProperty(rioUnit, kAudioUnitProperty_SetRenderCallback,
>>>> kAudioUnitScope_Global, kOutputBus, &outputProc, sizeof(outputProc));
>>>>
>>>> with 44100.0 set as the SR in the audioFormat, and also set as the preferred SR. Still it always defaults to a hardware SR of 8000.0. Is this the way life is? Running 3.1.2 on the phone.
>>>>
>>>> brad
>>>> http://music.columbia.edu/~brad
>>>>
>>>> _______________________________________________
>>>> 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
_______________________________________________
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