title: Streaming with an AVAudioplayer
body: <p>In order to load a sound file, I have the following code in my application :</p>
  
  <pre><code>- (id) init:(NSString*)a_filename ext:(NSString*)a_ext 
  {
      ...
  
      NSString *t_soundFilePath = [CFileLoader getPathForResource:filename WithExtension:ext];
      NSURL *t_fileURL = [[[NSURL alloc] initFileURLWithPath: t_soundFilePath] autorelease];
  
      player = [[AVAudioPlayer alloc] initWithContentsOfURL: t_fileURL error: nil];
      [player prepareToPlay];
      ...
  
      }
  </code></pre>
  
  <p>All the sounds that I load are in my bundle, so I would like to know if the method "initwithcontentsofurl" stream the sound file or if all the file is cached.</p>
  
  <p>I have a lot of sprites in my app so I want to minimize memory space used for sounds.</p>
  
  <p>thx for your help</p>