mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
coreaudio: fix dsp stats collection
This commit is contained in:
parent
a05bf30ccb
commit
74c93f3ff3
2 changed files with 5 additions and 4 deletions
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#include <glibmm.h>
|
||||
#include "pbd/timing.h"
|
||||
#include "coreaudio_pcmio.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
|
|
@ -795,7 +796,7 @@ CoreAudioPCM::pcm_start (
|
|||
uint32_t device_id_in, uint32_t device_id_out,
|
||||
uint32_t sample_rate, uint32_t samples_per_period,
|
||||
int (process_callback (void*, const uint32_t, const uint64_t)), void *process_arg,
|
||||
PBD::Timing& dsp_timer)
|
||||
PBD::TimingStats& dsp_timer)
|
||||
{
|
||||
|
||||
assert(_device_ids);
|
||||
|
|
|
|||
|
|
@ -81,8 +81,8 @@ public:
|
|||
uint32_t sample_rate,
|
||||
uint32_t samples_per_period,
|
||||
int (process_callback (void*, const uint32_t, const uint64_t)),
|
||||
void * process_arg
|
||||
PBD::Timing& dsp_timer,
|
||||
void * process_arg,
|
||||
PBD::TimingStats& dsp_timer
|
||||
);
|
||||
|
||||
void set_error_callback (
|
||||
|
|
@ -179,7 +179,7 @@ private:
|
|||
int (* _process_callback) (void*, const uint32_t, const uint64_t);
|
||||
void * _process_arg;
|
||||
|
||||
PBD::Timing* _dsp_timer;
|
||||
PBD::TimingStats* _dsp_timer;
|
||||
|
||||
void (* _error_callback) (void*);
|
||||
void * _error_arg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue