A block to supply audio input to a render block.
- iOS 10.0+
- macOS 10.12+
- tvOS 10.0+
The caller must supply valid buffers in the input data’s
m fields (
m must be consistent with
frame). This block may provide input in those specified buffers, or it may replace the
m pointers with pointers to memory which it owns and guarantees will remain valid until the next render cycle.
The block returns an audio unit status result code. If instead an error is returned, the input data should be assumed to be invalid.
The block takes the following parameters:
The pointer to the action flags.
The HAL time at which the input data will be rendered. If there is a sample rate conversion or time compression/expansion downstream, the sample time will not be valid.
The number of input sample frames requested.
The index of the input bus being pulled.
The input audio data.