mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
no more noise during startup.
This commit is contained in:
parent
2e4428bc97
commit
aee658ef96
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue