12 #ifndef ROC_PACKET_DELAYED_READER_H_
13 #define ROC_PACKET_DELAYED_READER_H_
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
Sample specification. Describes sample rate and channels.
Base class for non-copyable objects.
virtual ROC_ATTR_NODISCARD status::StatusCode read(PacketPtr &)
Read packet.
DelayedReader(IReader &reader, core::nanoseconds_t target_delay, const audio::SampleSpec &sample_spec)
Initialize.
bool is_valid() const
Check if object was constructed successfully.
int64_t nanoseconds_t
Nanoseconds.
uint32_t stream_timestamp_t
Packet stream timestamp.
Various units used in packets.