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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QAudioFormat::AudioChannelPositionstatic enumJava wrapper for Qt enum QAudioFormat::ChannelConfigstatic enumJava wrapper for Qt enum QAudioFormat::SampleFormatNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal intbytesForDuration(long microseconds) final intbytesForFrames(int frameCount) final intfinal intstatic QAudioFormat.ChannelConfigchannelConfig(QAudioFormat.AudioChannelPosition... channels) final intfinal intclone()final longdurationForBytes(int byteCount) final longdurationForFrames(int frameCount) booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final intframesForBytes(int byteCount) final intframesForDuration(long microseconds) inthashCode()final booleanisValid()final floatnormalizedSampleValue(Buffer sample) final intfinal voidfinal voidsetChannelCount(int channelCount) final voidfinal voidsetSampleRate(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:io.qt.QtObjectUsed 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
-