-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crackling #171
Comments
Buffering IssueIt's taking too long to read from disk. IdeasMake another source (in audio/source) that buffers more audio into memory, ahead of whats needed.
|
I've just been looking through the code and I think threading this samples stream type (the |
One thing that will be affected by threading the WAV file reading is the WAV file "Seek"ing which is performed to synchronise the
Option 1 might be a no-go as once seeking, the audio thread would have to either wait for the file reader thread to seek to the new WAV position and send over the new samples or write silence for the first buffer. Option 2 might require changing the Option 3 (just came to me after thinking about option 2) is probably the best way to go. It should be the easiest and most accurate approach as we have direct access to the current |
Ok this is good to know. |
for reference later |
Getting crackling on large project
The text was updated successfully, but these errors were encountered: