Class AudioSink.WriteException

    • Field Detail

      • isRecoverable

        public final boolean isRecoverable
        If the exception can be recovered by recreating the sink.
      • format

        public final Format format
        The input Format of the sink when the error occurs.
    • Constructor Detail

      • WriteException

        public WriteException​(int errorCode,
                              Format format,
                              boolean isRecoverable)
        Creates an instance.
        Parameters:
        errorCode - The error value returned from the sink implementation.
        format - The input format of the sink when the error occurs.
        isRecoverable - Whether the exception can be recovered by recreating the sink.