odin_encoder_push
Overview
Pushes raw audio samples to the encoder for processing. The provided audio samples, which must be interleaved floating-point values in the range [-1, 1], are processed through the encoder's pipeline.
Parameters
| Name | Type | Description |
|---|---|---|
encoder | struct OdinEncoder * | The encoder handle. |
samples | const float * | Buffer of interleaved float samples. |
samples_count | uint32_t | Number of samples in the buffer. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |