Class InterleavedStreamingAudioSource
Defined in File block.hpp
Inheritance Relationships
Base Type
public eat::framework::StreamingAtomicProcess(Class StreamingAtomicProcess)
Class Documentation
-
class InterleavedStreamingAudioSource : public eat::framework::StreamingAtomicProcess
a process which produces InterleavedSampleBlock objects from a buffer provided at initialisation
Public Functions
-
inline InterleavedStreamingAudioSource(std::string const &name, std::vector<float> samples, BlockDescription blockInfo)
construct with some samples
- Parameters
samples – interleaved samples
blockInfo – shape of the produced blocks. channel_count and sample_rate will be kept as is, but sample_count is treated as the maximum number of samples to produce in one block (if the number of samples is not divisible by blockInfo.sample_count)
-
inline virtual void process() override
-
inline InterleavedStreamingAudioSource(std::string const &name, std::vector<float> samples, BlockDescription blockInfo)