About how many channels of 16/44.1 PCM audio should I be able to stream from disk on an iPhone 4?
About how many channels of 16/44.1 PCM audio should I be able to stream from disk on an iPhone 4?
- Subject: About how many channels of 16/44.1 PCM audio should I be able to stream from disk on an iPhone 4?
- From: Morgan Packard <email@hidden>
- Date: Sun, 06 May 2012 17:09:19 -0400
Most of my audio code is built on top of the
STK library. I'm using STK's FileRead class to load audio from disk (which in turn uses fopen to read the files).
I want to be able to play long files (too long to fit in memory), so I'm loading them a bit at a time from disk before mixing them and sending them out via the remoteIO callback.
The code I'm currently running is pretty solid streaming three stereo files from disk, but begins to get glitchy as I start to add files above that.
I'd be grateful for a rough ballpark of how many stereo files I should be able to play back simultaneously.
Questions:
- Am I indeed going to be limited by disk speed to a fairly low number of files?
- Is disc speed enough of a bottleneck so that using compressed files might give me a higher number of parallel playbacks?
- Is there something inherently slow or unreliable or inappropriate for streaming audio from disk about fopen?
thanks,
-Morgan
--
===============
Morgan Packard
cell: (720) 891-0122
aim: mpackardatwork
_______________________________________________
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