Small buffer & max channel

#1

I have a scenario where I need to use a small buffer, probably as small as 64, for use where low latency is critical

however, all my audio is coming from files, so using a small buffer causes lots of reads

consequently, lots of reads mean I very quickly reach a finite number of channels that can be handled - this seems to be about 8…

my files are being read first into AudioFormatReaderSource then put into AudioTransportSource and then being added to MixerAudioSource

I’m wondering what might be a best approach to this…

will using the TimeSliceThread and reading ahead give me more room for additional channels?

Or maybe the MemoryAudioSource and putting everything into Memory? There’s not much I can find about this Source.

Or perhaps there is a better way? Does anyone have any suggestions?

0 Likes