Skip to content
  • Arun Raghavan's avatar
    osxaudio: Don't set the format on an initialized AudioUnit · 691ecebe
    Arun Raghavan authored and Arun Raghavan's avatar Arun Raghavan committed
    We need to initialize the AudioUnit early to be able to probe the
    underlying device, but according to the AudioUnitInitialize() and
    AudioUnitUninitialize() documentation, format changes should be done
    while the AudioUnit is uninitialized. So we explicitly uninitialize the
    AudioUnit during a format change and reinitialize it when we're done.
    691ecebe