java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QAudioFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores audio stream parameter information
Java wrapper for Qt 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
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface.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()See 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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
channelConfig
public static QAudioFormat.ChannelConfig channelConfig(QAudioFormat.AudioChannelPosition... channels) -
toString
-
clone
-