12 #ifndef ROC_AUDIO_FRAME_FACTORY_H_
13 #define ROC_AUDIO_FRAME_FACTORY_H_
FrameFactory(core::IArena &arena, size_t buffer_size)
Initialize with default pools. buffer_size defines number of bytes in frame buffer.
size_t raw_buffer_size() const
Get number of samples in raw sample buffer.
core::Slice< uint8_t > new_byte_buffer()
Allocate byte buffer.
size_t byte_buffer_size() const
Get number of bytes in byte buffer.
FrameFactory(core::IPool &buffer_pool)
Initialize with custom pools. buffer_pool is a pool of core::Buffer objects.
core::Slice< sample_t > new_raw_buffer()
Allocate raw sample buffer.
Base class for non-copyable objects.
Optionally constructed object.
Optionally constructed object.