bufferDelay

class bufferDelay : public kotekan::Stage

Delays release of frames until the buffer is sufficiently full.

Buffer

  • in_buf Buffer to delay frames from

    • Format: Matches the output buffer

    • Metadata: Matches the output buffer

  • out_buf Buffer to release frames to

    • Format: Matches the input buffer

    • Metadata: Matches the input buffer

Author

James Willis

Param copy_frame:

Bool. Flag to copy or swap frames

Param num_frames_to_hold:

Int. No. of frames to hold in buffer before releasing one

Public Functions

bufferDelay(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)

Constructor.

~bufferDelay() = default

Destructor.

virtual void main_thread() override

Thread for merging the frames.