Then what is the problem?

      typedef float Sample;

      Sample* buf = new Sample[sizeof(Sample) * file_length]; /* C++ */
      buf = (Sample*) malloc (sizeof (Sample) * file_length); /* C */

either you want to use some new-fangled language and don't know how to do
heap allocation or do you don't understand how to get the number of samples
in the file?

On Sat, Feb 28, 2015 at 9:12 PM, Patrick J. Collins <
[email protected]> wrote:

> > I have audio files larger than 100GB. Do you think you can fit those
> into memory?
>
> This DSP tool is for speech analysis..  Worst case scenario we're
> talking about a minute or two or uncompressed audio, so yes memory should
> not
> be an issue.
>
> Patrick J. Collins
> http://collinatorstudios.com
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to