vdr-plugin-softhddevice-drm-gles 1.6.2
ringbuffer.h File Reference

Audio Ringbuffer Header File. More...

#include <cstddef>

Go to the source code of this file.

Classes

class  cSoftHdRingbuffer
 Ringbuffer (FIFO) Implementation. More...
 

Macros

#define atomic_set(ptr, val)   __atomic_store_n(ptr, val, __ATOMIC_SEQ_CST)
 
#define atomic_read(ptr)   __atomic_load_n(ptr, __ATOMIC_SEQ_CST)
 
#define atomic_inc(ptr)   __atomic_add_fetch(ptr, 1, __ATOMIC_SEQ_CST)
 
#define atomic_dec(ptr)   __atomic_sub_fetch(ptr, 1, __ATOMIC_SEQ_CST)
 
#define atomic_add(val, ptr)   __atomic_add_fetch(ptr, val, __ATOMIC_SEQ_CST)
 
#define atomic_sub(val, ptr)   __atomic_sub_fetch(ptr, val, __ATOMIC_SEQ_CST)
 

Typedefs

typedef volatile int atomic_t
 Atomic Wrapper Macros.
 

Detailed Description

Audio Ringbuffer Header File.

Definition in file ringbuffer.h.