# SampleInfoEvent Enumeration

    public enum SampleInfoEvent

Event returned while reading decrypted audio samples.

- `format(_:)`

  Audio format metadata. Usually emitted before the first sample and after relevant format changes.

  #### Declaration

  Swift

      case format(AudioFormat)

- `sample(_:)`

  A decrypted compressed audio sample.

  #### Declaration

  Swift

      case sample(AudioSample)

- `discontinuity(_:)`

  A timeline or stream boundary that consumers may need to handle.

  #### Declaration

  Swift

      case discontinuity(AudioDiscontinuity)

- `endOfStream`

  End of the selected audio stream.

  #### Declaration

  Swift

      case endOfStream