20 May '13 - 05:44 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: buffer  (Read 852 times)
Richardb
Posts: 37


« on: 15 Oct '07 - 16:41 »
Reply with quoteQuote

I have a dilema! BASS_SetConfig(BASS_CONFIG_BUFFER, bufferlength) seems to be global. I have an app that needs BIG buffers to ensure consistant playback ( across a networkk as well ) and applyying DSP quickly! is there a solution to settng buffers differently?
Logged
radio42
Posts: 4012


« Reply #1 on: 15 Oct '07 - 16:54 »
Reply with quoteQuote

BASS_CONFIG_BUFFER affects any HMUSIC/HSTREAM channels that are created afterwards. So it is not really a global setting, as you might adjust it e.g. before any BASS_StreamCreateFile call.

However big output buffers always increase the latency for any DSP, since data which was already placed to the output buffer for playback an not be modified anymore.

The question is why and if you really need a 'BIG' output buffer.
May be you can explain a little more how you play your audio over a network and if there aren't other ways to keep the latency small (samll buffers) but still ensure consistant network playback.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines