Avoiding SRC in the File Player unit
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