I implement a streaming player for monophonic Sun (.au) and AIFF (.aif) audio files.
Example of use:
(StreamingMonoSound onFileNamed: 'song.aif') play.
Load the given sound buffer from the samples leftover from the last frame. Answer the number of samples loaded, which typically is less than sampleCount.