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

Re: Avoiding SRC in the File Player unit


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

Apologies for the noise, it was my mistake.

I had to uninitialize the AUAudioFilePlayer unit before the output stream format could be set. This has solved my problem.

Chris.

On 12/02/2013, at 11:38 AM, "McGrath, Christopher" <email@hidden>
 wrote:

> 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


 _______________________________________________
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

References: 
 >Avoiding SRC in the File Player unit (From: "McGrath, Christopher" <email@hidden>)

  • Prev by Date: Re: Can't load preset into iOS Audio Unit Sampler
  • Next by Date: Crash in AUGraphInitialize()
  • Previous by thread: Avoiding SRC in the File Player unit
  • Next by thread: Can't load preset into iOS Audio Unit Sampler
  • Index(es):
    • Date
    • Thread