mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
CoreAudio: use libardour provided DSP load calc.
This commit is contained in:
parent
e125c78070
commit
1c43383e92
2 changed files with 8 additions and 12 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include "ardour/audio_backend.h"
|
||||
#include "ardour/dsp_load_calculator.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "coreaudio_pcmio.h"
|
||||
|
|
@ -371,6 +372,7 @@ class CoreAudioBackend : public AudioBackend {
|
|||
|
||||
/* processing */
|
||||
float _dsp_load;
|
||||
ARDOUR::DSPLoadCalculator _dsp_load_calc;
|
||||
uint64_t _processed_samples;
|
||||
|
||||
pthread_t _main_thread;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue