• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
one more RemoteIO question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

one more RemoteIO question


  • Subject: one more RemoteIO question
  • From: Brad Garton <email@hidden>
  • Date: Fri, 16 Apr 2010 18:53:09 -0400

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

  • Follow-Ups:
    • Re: one more RemoteIO question
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: question about AudioUnit render buffer size
  • Next by Date: Re: one more RemoteIO question
  • Previous by thread: Re: question about AudioUnit render buffer size
  • Next by thread: Re: one more RemoteIO question
  • Index(es):
    • Date
    • Thread