Does "opening a file" mean loading it completely into memory?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-05-01T13:03:14Z
Indexed on
2010/05/01
13:07 UTC
Read the original article
Hit count: 199
c
|objective-c
There's an AudioFileOpenURL function which opens an file. With AudioFileReadPackets that file is accessed to read packets. But one thing that stucks in my brain is: Does AudioFileOpenURL actually load the whole monster into memory? Or is that a lightweight operation?
So is it possible to read data from a file, only a specific portion, without having the whole terabytes of stuff in memory?
© Stack Overflow or respective owner