void decref()
Decrement context reference counter.
ctl::ControlLoop & control_loop()
Get control event loop.
core::BufferFactory< audio::sample_t > & sample_buffer_factory()
Get sample buffer factory.
Context(const ContextConfig &config, core::IAllocator &allocator)
Initialize.
bool valid()
Check if successfully constructed.
bool is_used()
Check if context is still in use.
void incref()
Increment context reference counter.
core::IAllocator & allocator()
Get allocator.
netio::NetworkLoop & network_loop()
Get network event loop.
packet::PacketFactory & packet_factory()
Get packet factory.
core::BufferFactory< uint8_t > & byte_buffer_factory()
Get byte buffer factory.
size_t max_frame_size
Maximum size in bytes of an audio frame.
size_t max_packet_size
Maximum size in bytes of a network packet.