Skip to main content

non-interleaved 32-bit floats for RemoteIO

✓ Published0🌍 Public
Aartgillespie
Last edited Oct 8, 2011
Created on Oct 8, 2011

This example configures an iOS RemoteIO audio unit to request non-interleaved 32-bit float audio data. It shows how to set a custom stream format on the audio unit’s input scope using an `AudioStreamBasicDescription` structure. The code specifies a 44.1 kHz sample rate, two channels, and linear PCM with float flags via `AudioUnitSetProperty` and the `kAudioUnitProperty_StreamFormat` property. It demonstrates the required fields for preparing the RemoteIO unit to deliver floating-point samples instead of the default fixed-point format.

AI-generated description