Dela via


Class SPXAudioProcessingOptions

Declaration

@class SPXAudioProcessingOptions : NSObject;

Description

Represents audio processing options used with audio config class.

Methods

init:

Initializes an SPXAudioProcessingOptions object using audio processing flags.

- (instancetype _Nonnull)init:(SPXAudioProcessingConstants)audioProcessingFlags

Parameters

  • audioProcessingFlags - the flags to control the audio processing performed by Speech SDK. It is bitwise OR of SPX_AUDIO_INPUT_PROCESSING_XXX constants from SPXAudioProcessingConstants enum.

Returns

an instance of audio processing options.

Properties

audioProcessingFlags

@property (readonly, atomic) SPXAudioProcessingConstants audioProcessingFlags;

The type of audio processing performed by Speech SDK. Bitwise OR of SPX_AUDIO_INPUT_PROCESSING_XXX constant flags from SPXAudioProcessingConstants enum indicating the input audio processing performed by Speech SDK.