Class QAudioDecoder

java.lang.Object
io.qt.QtObject
io.qt.core.QObject
io.qt.multimedia.QAudioDecoder
All Implemented Interfaces:
QtObjectInterface, QtSignalBlockerInterface, QtSignalEmitterInterface, QtThreadAffineInterface

public class QAudioDecoder extends QObject

Java wrapper for Qt class QAudioDecoder

  • Field Details

  • Constructor Details

    • QAudioDecoder

      public QAudioDecoder(QObject parent)

      See QAudioDecoder::QAudioDecoder(QObject*)

      Parameters:
      parent -
    • QAudioDecoder

      public QAudioDecoder()

      Overloaded constructor for QAudioDecoder(io.qt.core.QObject) with parent = null.

  • Method Details

    • audioFormat

      @QtUninvokable public final QAudioFormat audioFormat()

      See QAudioDecoder::audioFormat()const

      Returns:
    • bufferAvailable

      @QtUninvokable public final boolean bufferAvailable()

      See QAudioDecoder::bufferAvailable()const

      Returns:
    • duration

      @QtUninvokable public final long duration()

      See QAudioDecoder::duration()const

      Returns:
    • error

      @QtUninvokable public final QAudioDecoder.Error error()

      See QAudioDecoder::error()const

      Returns:
    • errorString

      @QtUninvokable public final String errorString()

      See QAudioDecoder::errorString()const

      Returns:
    • isDecoding

      @QtUninvokable public final boolean isDecoding()

      See QAudioDecoder::isDecoding()const

      Returns:
    • isSupported

      @QtUninvokable public final boolean isSupported()

      See QAudioDecoder::isSupported()const

      Returns:
    • position

      @QtUninvokable public final long position()

      See QAudioDecoder::position()const

      Returns:
    • read

      @QtUninvokable public final QAudioBuffer read()

      See QAudioDecoder::read()const

      Returns:
    • setAudioFormat

      @QtUninvokable public final void setAudioFormat(QAudioFormat format)

      See QAudioDecoder::setAudioFormat(QAudioFormat)

      Parameters:
      format -
    • setSource

      @QtUninvokable public final void setSource(QUrl fileName)

      See QAudioDecoder::setSource(QUrl)

      Parameters:
      fileName -
    • setSourceDevice

      @QtUninvokable public final void setSourceDevice(QIODevice device)

      See QAudioDecoder::setSourceDevice(QIODevice*)

      Parameters:
      device -
    • source

      @QtUninvokable public final QUrl source()

      See QAudioDecoder::source()const

      Returns:
    • sourceDevice

      @QtUninvokable public final QIODevice sourceDevice()

      See QAudioDecoder::sourceDevice()const

      Returns:
    • start

      public final void start()

      See QAudioDecoder::start()

    • stop

      public final void stop()

      See QAudioDecoder::stop()

    • setSource

      @QtUninvokable public final void setSource(String fileName)

      Overloaded function for setSource(io.qt.core.QUrl).