Using RandomFileAccess to temporarly cache audio data
<p>I'm currently using a simple byte array buffer to cache live audio data and than playback this data. So it's constant reads and writes on this buffer.  My problem is that I sometimes need this buffer to be atleast 1MB and I know that allocating that much memory is most likely not a good idea. So therefore I'm looking into caching data temporarily under the cache folder.</p>

<p>Are there any pitfalls when using RandomFileAccess to continuously seek->read and seek->write? </p>

<p>Are there perhaps better methods to cache temporarily data?</p>

<p>My main concerns are to maximize performance and battery life.</p>
