java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.multimedia.QAudioFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores audio stream parameter information
Java wrapper for Qt's class QAudioFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QAudioFormat::Endianstatic enum
Java wrapper for Qt enum QAudioFormat::SampleTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQAudioFormat
(QAudioFormat other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QAudioFormat.Endian
final int
bytesForDuration
(long duration) final int
bytesForFrames
(int frameCount) final int
final int
clone()
final String
codec()
final long
durationForBytes
(int byteCount) final long
durationForFrames
(int frameCount) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final int
framesForBytes
(int byteCount) final int
framesForDuration
(long duration) int
hashCode()
final boolean
isValid()
final int
final int
final QAudioFormat.SampleType
final void
setByteOrder
(QAudioFormat.Endian byteOrder) final void
setChannelCount
(int channelCount) final void
final void
setSampleRate
(int sampleRate) final void
setSampleSize
(int sampleSize) final void
setSampleType
(QAudioFormat.SampleType sampleType) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QAudioFormat
public QAudioFormat() -
QAudioFormat
-
QAudioFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
byteOrder
-
bytesForDuration
-
bytesForFrames
-
bytesPerFrame
-
channelCount
-
codec
-
durationForBytes
-
durationForFrames
-
framesForBytes
-
framesForDuration
-
isValid
-
sampleRate
-
sampleSize
-
sampleType
-
setByteOrder
-
setChannelCount
-
setCodec
-
setSampleRate
-
setSampleSize
-
setSampleType
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-