engine
 
载入中...
搜索中...
未找到
所有成员列表
Audio::TCircularAudioBuffer< SampleType, Alignment > 模板类 参考

Basic implementation of a circular buffer built for pushing and popping arbitrary amounts of data at once. 更多...

#include <Dsp.h>

详细描述

template<typename SampleType, size_t Alignment = 16>
class Audio::TCircularAudioBuffer< SampleType, Alignment >

Basic implementation of a circular buffer built for pushing and popping arbitrary amounts of data at once.

Designed to be thread safe for SPSC; However, if Push() and Pop() are both trying to access an overlapping area of the buffer, One of the calls will be truncated. Thus, it is advised that you use a high enough capacity that the producer and consumer are never in contention.


该类的文档由以下文件生成: