Skip to main content
Version: 2.x

Push Samples

Pushes raw audio samples (32-bit float, interleaved if stereo) into the encoder. The pipeline processes them on the next Pop Datagram. Only needed if you feed the encoder yourself instead of using an audio generator.

  • Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
  • Target: Odin Encoder
  • Menu category: Odin › Audio Pipeline
  • C++: UOdinEncoder::Push

Inputs​

NameTypeDescription
TargetOdin EncoderThe Odin Encoder to call this function on.
SamplesArray of FloatThe audio samples.

Outputs​

NameTypeDescription
Return ValueIntegerNumber of samples pushed, 0 on failure.