INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Smaller prebuffering  (Read 8423 times)

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Smaller prebuffering
« on: October 22, 2012, 10:13:26 pm »

Is it possible to make prebuffering having smaller size? Minimum at 2000ms is quite high comparing to foobar2000 that can set down to 50ms if its software buffering is similar to jriver's prebuffering?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Smaller prebuffering
« Reply #1 on: October 22, 2012, 10:22:18 pm »

I believe you are comparing apples and oranges.

But what problem are you experiencing that you're trying to solve?
Logged
Matt Ashland, JRiver Media Center

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Smaller prebuffering
« Reply #2 on: October 23, 2012, 12:00:17 pm »

I believe being capable to operate on smaller buffer playback can lead to improvements of low latency playback. I love solid performance like lower loopback/buffering. Just saying it would be nice if that could be improved some ways like no DSP chain mode for lower DSP latency. ;D
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2677
Re: Smaller prebuffering
« Reply #3 on: October 23, 2012, 12:03:11 pm »

I believe being capable to operate on smaller buffer playback can lead to improvements of low latency playback. I love solid performance like lower loopback/buffering. Just saying it would be nice if that could be improved some ways like no DSP chain mode for lower DSP latency. ;D

Hardware buffering is set in the output mode settings and can go as low as your hardware allows (<10m).
Logged

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Smaller prebuffering
« Reply #4 on: October 23, 2012, 12:38:20 pm »

I'm not referring to hardware buffering but secondary prebuffering in J River option having default at 6000ms. I can set down to 2000ms. I believe this is for DSP pre-processing part before feeding to output.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Smaller prebuffering
« Reply #5 on: October 23, 2012, 12:51:08 pm »

I believe being capable to operate on smaller buffer playback can lead to improvements of low latency playback. I love solid performance like lower loopback/buffering. Just saying it would be nice if that could be improved some ways like no DSP chain mode for lower DSP latency. ;D

Bryan gave good advice.

The loopback latency is directly related to the primary buffer size, set in:
Options > Audio > Output mode settings...

The secondary buffer size in Options > Audio > Prebuffering has no impact on latency, and the setting is essentially ignored during loopback.
Logged
Matt Ashland, JRiver Media Center

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Smaller prebuffering
« Reply #6 on: October 23, 2012, 01:23:56 pm »

What is secondary buffer being used for? For processing DSP?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Smaller prebuffering
« Reply #7 on: October 23, 2012, 01:29:19 pm »

DSP is processed just-in-time (JIT) before data reaches the primary/hardware buffer.

This was one of the major architecture shifts in the JRiver audio engine compared to Winamp (or similar), and it's really smart in my opinion.  It allows low latency _and_ flexible pre-buffering, gapless, cross-fading, etc.
Logged
Matt Ashland, JRiver Media Center

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Smaller prebuffering
« Reply #8 on: October 23, 2012, 01:34:41 pm »

So it works like buffer pool for pre-processing some output effects like what you mentioned. Is it possible to make test features like 'pure direct' mode bypassing those and optimize secondary buffering to its minimalist. I think it could easily be adjusted to 50ms-100ms with effects bypassed. It's alright if this is too hard for burden to test but I want to confirm something against other audiophile apps. They claim direct mode/low buffer for purer sound.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Smaller prebuffering
« Reply #9 on: October 23, 2012, 01:48:21 pm »

They claim direct mode/low buffer for purer sound.

The hardware buffer (the only buffer that could possibly matter) is fully configurable.

If the arrangement of general memory in your computer affected sound quality, a typical computer with 4GB of memory would have 256^4294967296 possible memory configurations (each byte of 8 bits has 256 arrangements).

My calculator exploded trying to do this math, but I believe that's more atoms than the universe contains (around 10^82 atoms).

So how could we begin searching for the best arrangement of memory to optimize sound quality?
Logged
Matt Ashland, JRiver Media Center

windowsx

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Smaller prebuffering
« Reply #10 on: October 23, 2012, 02:31:03 pm »

lol. but still nice if things could be optimized for lower buffer pool (100ms buffer pool would be nice if possible) so those who favor others can test this ones. If there's no changes in performance, that'd be a laughter. :D
Logged
Pages: [1]   Go Up