GSTLALReblock

GSTLALReblock — Chop audio buffers into smaller pieces to enforce a maximum allowed buffer duration.

Synopsis

struct              GSTLALReblock;
struct              GSTLALReblockClass;
#define             GSTLAL_REBLOCK_TYPE

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GSTLALReblock

Properties

  "block-duration"           guint64               : Read / Write / Construct

Description

Input buffers whose duration is longer than block-duration are split into two or more buffers so that no output buffer is longer than block-duration. This element is a no-op for buffers not longer than block-duration.

If the configured block-duration does not correspond to an integer number of samples of the stream, the number of samples placed into each output buffer is the ceiling of the count of samples corresponding to block-duration. In particular this means that when a buffer is split, each output buffer contains at least 1 sample regardless of the sample rate or block-duration.

Reviewed: 2affb49291b24e189afd23d1fd56690e223845b6 2014-08-12 K. Cannon, J. Creighton, B. Sathyaprakash.

Details

struct GSTLALReblock

struct GSTLALReblock;

struct GSTLALReblockClass

struct GSTLALReblockClass {
	GstElementClass parent_class;
};

GstElementClass parent_class;

the parent class

GSTLAL_REBLOCK_TYPE

#define             GSTLAL_REBLOCK_TYPE

Property Details

The "block-duration" property

  "block-duration"           guint64               : Read / Write / Construct

Maximum output buffer duration in nanoseconds. Buffers may be smaller than this.

Default value: 1000000000