add some DSP stats to the JACK backend
This commit is contained in:
parent
d8e2f2fcad
commit
8afc994177
@ -979,11 +979,15 @@ JACKAudioBackend::process_thread ()
|
||||
while (1) {
|
||||
GET_PRIVATE_JACK_POINTER_RET(_priv_jack,0);
|
||||
|
||||
dsp_stats[AudioBackend::DeviceWait].start ();
|
||||
pframes_t nframes = jack_cycle_wait (_priv_jack);
|
||||
dsp_stats[AudioBackend::DeviceWait].update ();
|
||||
|
||||
dsp_stats[AudioBackend::ProcessCallback].start();
|
||||
if (engine.process_callback (nframes)) {
|
||||
return 0;
|
||||
}
|
||||
dsp_stats[AudioBackend::ProcessCallback].update();
|
||||
|
||||
jack_cycle_signal (_priv_jack, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user