namespace Core::AudioDataOpsGeneric

Overview

Generic audio data operations without optimizations. More…

namespace AudioDataOpsGeneric {

// global functions

INLINE void clear(AudioData& dst);
INLINE void copyFrom(AudioData& dst, const AudioData& src);
INLINE void addFrom(AudioData& dst, const AudioData& src, float gain = 1.f);

} // namespace AudioDataOpsGeneric

Detailed Documentation

Generic audio data operations without optimizations.

Global Functions

INLINE void clear(AudioData& dst)

Clear all audio samples.

INLINE void copyFrom(AudioData& dst, const AudioData& src)

Copy data from other buffer.

INLINE void addFrom(AudioData& dst, const AudioData& src, float gain = 1.f)

Add (accumulate) data from other buffer.