IVSAudioQuality

Objective-C

enum IVSAudioQuality : NSInteger {}

Swift

enum AudioQuality : Int, @unchecked Sendable

Supported audio quality presets. These will increase the quality of the resulting audio at the expense of CPU time. The impact on CPU is non-negligable, and can take up as much as 30% of the total CPU usage of the SDK. The default value is Medium.

  • The minimum quality audio, but least taxing on the CPU

    Declaration

    Objective-C

    IVSAudioQualityMinimum = 0

    Swift

    case minimum = 0
  • Low quality audio while still efficient for the CPU

    Declaration

    Objective-C

    IVSAudioQualityLow

    Swift

    case low = 1
  • A middle ground between audio quality and CPU usage

    Declaration

    Objective-C

    IVSAudioQualityMedium

    Swift

    case medium = 2
  • Higher quality audio at the cost of more CPU usage

    Declaration

    Objective-C

    IVSAudioQualityHigh

    Swift

    case high = 3
  • The maximum quality audio at the cost of significant CPU resources

    Declaration

    Objective-C

    IVSAudioQualityMaximum

    Swift

    case maximum = 4