Comments (4)
What sample rate? At 48khz 512 samples would be greater than the audio engine periodicity and result in glitches.
from synchronousaudiorouter.
I am running at 48K, the RME drivers will allow me to set and use 512 samples and I am not encountering any issues. Problem I am facing is that audio is giving me crackles at 256 samples, specifically when running certain games on the 4K monitor and then opening for instance a browser or something else on one of my two 1080p monitors. When I do not run SAR I'm not having this issue. I want to try and run at 512 samples to see if that makes a difference as the latency is not an issue in my situation anyway. I guess I will try at 44K when I get back home this week..
from synchronousaudiorouter.
So, tried this with 44.1K samplerate and get same result. anything over 256 buffer will fail when using SAR, when using the RME drivers on their own I have no issues with this.
from synchronousaudiorouter.
Yeah, unfortunately the tradeoff SAR makes to get minimum latency does mandate that the buffer size be less than 10ms worth of samples. If you're experiencing crackling, make sure your audio software is running at real time priority and consider checking your system with LatencyMon or another DPC latency tester. If that doesn't help, I'm sorry to say you may need to find some other solution.
To give way too much detail, there are 2 sources of periodic events happening, the ASIO tick (driven by the audio hardware's sample clock normally) and the Windows audio engine's timer (every 10ms driven by a system timer interrupt). Increasing the ASIO buffer size slows the frequency of ASIO tick events and if it becomes slower than the Windows audio engine's frequency, because of the way SAR integrates with WaveRT this will cause bad buffer underruns. To prevent this scenario, SAR currently does not allow buffer sizes greater than the sample rate divided by 100. I don't have an immediate fix for it; though I'm sure it's possible to resolve, it just hasn't been a high priority as low latency was the whole point of writing it for me.
from synchronousaudiorouter.
Related Issues (20)
- Error on installing on Windows 10 HOT 11
- Can't unninstall HOT 1
- Is there a signed version of SAR? HOT 10
- [SOLVED] Not working with Audiobox 44vsl = I had to update to Audiobox's latest driver :)
- Spotify PC playing mono - Winamp OK - Firefox OK - Chrome OK - Anyone knows why? Or how to fix it. HOT 1
- Synchronous audio router&Reaper HOT 1
- Please update SAR with signed drivers! HOT 6
- Is SAR still not workable with chromium audio sandbox :? HOT 5
- SAR Implementation and Windows Server 2022 HOT 1
- WDF_VIOLATION bsod on input change HOT 2
- Permanent endpoints HOT 1
- How is it uninstalled? HOT 1
- Completely stopped working
- No output for Discord media/notifications (--disable-features=AudioServiceSandbox doesn't work) HOT 3
- SynchronousAudioRouter HOT 6
- Not working on Windows 11 HOT 1
- Configure button creates a second instance of ASIO driver in violation of ASIO spec HOT 2
- SAR doesn't create WADs HOT 1
- Is there interest in continuing this project if the signing situation could be solved? HOT 9
- Berkley clock synchronisation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synchronousaudiorouter.