13
0

no more noise during startup.

This commit is contained in:
Robin Gareus 2015-05-03 23:17:15 +02:00
parent 2e4428bc97
commit aee658ef96

View File

@ -205,7 +205,12 @@ AudioEngine::process_callback (pframes_t nframes)
if (_session) {
Xrun();
}
_processed_frames = next_processed_frames;
/* really only JACK requires this
* (other backends clear the output buffers
* before the process_callback. it may even be
* jack/alsa only). but better safe than sorry.
*/
PortManager::silence_physical (nframes);
return 0;
}