Streaming an OGG source with an InputStream

Started by Cruben, February 06, 2012, 21:54:53

Previous topic - Next topic

Cruben

Hi everyone,

I want to be able to play a large OGG file without loading it into memory. Currently I am using Slick-Util for loading sounds and playing them, but if need be I can use the OpenAL classes. My current system reads the entire InputStream from the OGG source and then turns it into an Audio file, and in doing so clogs the memory and makes loading time slow.

Any help is appreciated,
Cruben


Note- I am not loading a file. I do not need to know about file loading etc.