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::AudioChannelPositionstatic enum
Java wrapper for Qt enum QAudioFormat::ChannelConfigstatic enum
Java wrapper for Qt enum QAudioFormat::SampleFormatNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
bytesForDuration
(long microseconds) final int
bytesForFrames
(int frameCount) final int
final int
static QAudioFormat.ChannelConfig
channelConfig
(QAudioFormat.AudioChannelPosition... channels) final int
final int
clone()
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 microseconds) int
hashCode()
final boolean
isValid()
final float
normalizedSampleValue
(Buffer sample) final int
final void
final void
setChannelCount
(int channelCount) final void
final void
setSampleRate
(int sampleRate) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QAudioFormat
public QAudioFormat() -
QAudioFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bytesForDuration
-
bytesForFrames
-
bytesPerFrame
-
bytesPerSample
-
channelConfig
-
channelCount
-
channelOffset
-
durationForBytes
-
durationForFrames
-
framesForBytes
-
framesForDuration
-
isValid
-
normalizedSampleValue
-
sampleFormat
-
sampleRate
-
setChannelConfig
-
setChannelCount
-
setSampleFormat
-
setSampleRate
-
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
-
channelConfig
public static QAudioFormat.ChannelConfig channelConfig(QAudioFormat.AudioChannelPosition... channels) -
toString
-
clone
-