Constants

The following constants are available globally.

  • Notification that occurs whenever the AudioPlayer changes its audioFile property. Check the new value using the AudioPlayer’s audioFile property.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidChangeAudioFileNotification

    Swift

    static let AudioPlayerDidChangeAudioFile: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer changes its device property. Check the new value using the AudioPlayer’s device property.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidChangeOutputDeviceNotification

    Swift

    static let AudioPlayerDidChangeOutputDevice: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer changes its output component’s pan property. Check the new value using the AudioPlayer’s pan property.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidChangePanNotification

    Swift

    static let AudioPlayerDidChangePan: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer changes its output component’s play state. Check the new value using the AudioPlayer’s isPlaying property.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidChangePlayStateNotification

    Swift

    static let AudioPlayerDidChangePlayState: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer changes its output component’s volume property. Check the new value using the AudioPlayer’s volume property.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidChangeVolumeNotification

    Swift

    static let AudioPlayerDidChangeVolume: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer has reached the end of a file and its shouldLoop property has been set to NO.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidReachEndOfFileNotification

    Swift

    static let AudioPlayerDidReachEndOfFile: NSNotification.Name
  • Notification that occurs whenever the AudioPlayer performs a seek via the seekToFrame method or setCurrentTime: property setter. Check the new currentTime or frameIndex value using the AudioPlayer’s currentTime or frameIndex property, respectively.

    Declaration

    Objective-C

    extern NSString *const AudioPlayerDidSeekNotification

    Swift

    static let AudioPlayerDidSeek: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer changes its audioFile property. Check the new value using the EZAudioPlayer’s audioFile property.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidChangeAudioFileNotification

    Swift

    static let EZAudioPlayerDidChangeAudioFile: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer changes its device property. Check the new value using the EZAudioPlayer’s device property.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidChangeOutputDeviceNotification

    Swift

    static let EZAudioPlayerDidChangeOutputDevice: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer changes its output component’s pan property. Check the new value using the EZAudioPlayer’s pan property.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidChangePanNotification

    Swift

    static let EZAudioPlayerDidChangePan: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer changes its output component’s play state. Check the new value using the EZAudioPlayer’s isPlaying property.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidChangePlayStateNotification

    Swift

    static let EZAudioPlayerDidChangePlayState: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer changes its output component’s volume property. Check the new value using the EZAudioPlayer’s volume property.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidChangeVolumeNotification

    Swift

    static let EZAudioPlayerDidChangeVolume: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer has reached the end of a file and its shouldLoop property has been set to NO.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidReachEndOfFileNotification

    Swift

    static let EZAudioPlayerDidReachEndOfFile: NSNotification.Name
  • Notification that occurs whenever the EZAudioPlayer performs a seek via the seekToFrame method or setCurrentTime: property setter. Check the new currentTime or frameIndex value using the EZAudioPlayer’s currentTime or frameIndex property, respectively.

    Declaration

    Objective-C

    extern NSString *const EZAudioPlayerDidSeekNotification

    Swift

    static let EZAudioPlayerDidSeek: NSNotification.Name
  • The default value used for the maximum rolling history buffer length of any EZAudioPlot. @deprecated This constant is deprecated starting in version 0.2.0. - note: Please use EZAudioPlotDefaultMaxHistoryBufferLength instead.

    Declaration

    Objective-C

    extern const UInt32 kEZAudioPlotMaxHistoryBufferLength

    Swift

    let kEZAudioPlotMaxHistoryBufferLength: UInt32
  • The default value used for the default rolling history buffer length of any EZAudioPlot. @deprecated This constant is deprecated starting in version 0.2.0. - note: Please use EZAudioPlotDefaultHistoryBufferLength instead.

    Declaration

    Objective-C

    extern const UInt32 kEZAudioPlotDefaultHistoryBufferLength

    Swift

    let kEZAudioPlotDefaultHistoryBufferLength: UInt32
  • The default value used for the default rolling history buffer length of any EZAudioPlot.

    Declaration

    Objective-C

    extern const UInt32 EZAudioPlotDefaultHistoryBufferLength

    Swift

    let EZAudioPlotDefaultHistoryBufferLength: UInt32
  • The default value used for the maximum rolling history buffer length of any EZAudioPlot.

    Declaration

    Objective-C

    extern const UInt32 EZAudioPlotDefaultMaxHistoryBufferLength

    Swift

    let EZAudioPlotDefaultMaxHistoryBufferLength: UInt32