Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix performance hit, clicking output with Linux PulseAudio (#180)
* Trying to fix PulseAudio awfulness - put Circle buffer back * Writes to circle buffer. Need to separate stream initialization now. * Getting better! Don't wait for operations in Start/Stop output function though - chain callbacks together * Playback is smooth! Delay in the UI though but maybe that's OK * Source cleanup, remove useless mOutputIsRunning variable * Include time.h to fix broken Linux build * clean lint trap * Weird that pthread is missing here * Clean up logging, fix header file * Drain, then cork PA in StopOutput. * Apply clang-format * GLARING error in StreamDrainedCB header Don't write more than consumed from CircleBuffer ... cleanup some more junk * Safe PA operation unreffing * More cleanup and comments. Works much better than before. Probably not bug-free though. * remove lint from belly button * clear defs when DEBUG_SOUND is off eliminate warnings and errorText variable
- Loading branch information