• 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
Avoiding SRC in the File Player unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding SRC in the File Player unit


  • Subject: Avoiding SRC in the File Player unit
  • From: "McGrath, Christopher" <email@hidden>
  • Date: Tue, 12 Feb 2013 00:38:32 +0000
  • Thread-topic: Avoiding SRC in the File Player unit

Hi,

I have a collection of Audio Units on iOS all running at 48kHz - using a RemoteIO unit for both input and output, with the device rate set to 48kHz. Operating at this sample rate is important to me, because of the kind of measurement that I'm doing.

However, part of the measurement involves me feeding the RemoteIO's bus 0 with audio from a file, and I use an AUAudioFilePlayer to do this. Unfortunately the unit seems to output 44.1kHz regardless of what input file I throw at it (my real input files will be 48kHz) and it forces me to place another sample rate conversion unit in the graph. The stream format of the player unit's output scope doesn't seem to be writable, which I would otherwise be setting.

I was wondering if others have solved this problem, or if I should just write my own code to do the job (probably just filling up some circular buffer in another thread, to feed to the render callback).

Cheers,
Chris.
 _______________________________________________
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: Avoiding SRC in the File Player unit
      • From: "McGrath, Christopher" <email@hidden>
  • Prev by Date: Re: AUSampler Properties/Parameters Spec
  • Next by Date: Can't load preset into iOS Audio Unit Sampler
  • Previous by thread: Re: Carbon vs Cocoa views in AU
  • Next by thread: Re: Avoiding SRC in the File Player unit
  • Index(es):
    • Date
    • Thread