mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 01:17:42 +01:00
switch from glib atomic to std::atomic (libs edition)
This commit is contained in:
parent
d7922738f0
commit
4ba4cd69ff
77 changed files with 630 additions and 603 deletions
|
|
@ -19,10 +19,11 @@
|
|||
#ifndef __libbackend_alsa_slave_h__
|
||||
#define __libbackend_alsa_slave_h__
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include "pbd/ringbuffer.h"
|
||||
#include "pbd/g_atomic_compat.h"
|
||||
|
||||
#include "zita-resampler/vresampler.h"
|
||||
#include "zita-alsa-pcmi.h"
|
||||
|
|
@ -84,7 +85,7 @@ private:
|
|||
|
||||
volatile double _slave_speed;
|
||||
|
||||
GATOMIC_QUAL gint _draining;
|
||||
std::atomic<int> _draining;
|
||||
|
||||
PBD::RingBuffer<float> _rb_capture;
|
||||
PBD::RingBuffer<float> _rb_playback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue