Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <queue.h>
Public Member Functions | |
virtual ROC_ATTR_NODISCARD status::StatusCode | read (PacketPtr &packet) |
Read next packet. More... | |
virtual ROC_ATTR_NODISCARD status::StatusCode | write (const PacketPtr &packet) |
Add packet to the queue. More... | |
size_t | size () const |
Get number of packets in queue. More... | |
|
virtual |
Read next packet.
Implements roc::packet::IReader.
size_t roc::packet::Queue::size | ( | ) | const |
Get number of packets in queue.
|
virtual |
Add packet to the queue.
Implements roc::packet::IWriter.