Defined in omni/audio/experimental/IAudioCapture.h

constexpr CaptureStreamStartFlags omni::audio::experimental::fCaptureStreamStartFlagOneShot = 0x1

This will cause recording to be stopped once the full buffer has been recorded.

This may be useful if you want to capture a fixed length of data without having to time stopping the device. After capture has stopped, you can use ICaptureStream_abi::lock_abi() to grab the whole buffer and just use it directly.