no more noise during startup.
This commit is contained in:
parent
2e4428bc97
commit
aee658ef96
@ -205,7 +205,12 @@ AudioEngine::process_callback (pframes_t nframes)
|
|||||||
if (_session) {
|
if (_session) {
|
||||||
Xrun();
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user