java.lang.Object
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 enumQAudioFormat::AudioChannelPositionstatic enumJava wrapper for Qt enumQAudioFormat::ChannelConfigstatic enumJava wrapper for Qt enumQAudioFormat::SampleFormat -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSeeQAudioFormat::NChannelPositions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intbytesForDuration(long microseconds) final intbytesForFrames(int frameCount) final intfinal intstatic QAudioFormat.ChannelConfigchannelConfig(QAudioFormat.AudioChannelPosition ... channels) final intfinal intclone()Creates and returns a copy of this object.static QAudioFormat.ChannelConfigdefaultChannelConfigForChannelCount(int channelCount) final longdurationForBytes(int byteCount) final longdurationForFrames(int frameCount) final booleanbooleanfinal intframesForBytes(int byteCount) final intframesForDuration(long microseconds) inthashCode()Returns the objects's hash code computed byqHash(QAudioFormat).final booleanisValid()final floatnormalizedSampleValue(Buffer sample) final intfinal voidfinal voidsetChannelCount(int channelCount) final voidfinal voidsetSampleRate(int sampleRate) toString()Seeoperator<<(QDebug,QAudioFormat) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
NChannelPositions
public static final int NChannelPositionsSee
QAudioFormat::NChannelPositions
-
-
Constructor Details
-
QAudioFormat
public QAudioFormat() -
QAudioFormat
-
-
Method Details
-
bytesForDuration
-
bytesForFrames
-
bytesPerFrame
-
bytesPerSample
-
channelConfig
-
channelCount
-
channelOffset
-
durationForBytes
-
durationForFrames
-
framesForBytes
-
framesForDuration
-
isValid
-
normalizedSampleValue
-
equals
-
sampleFormat
-
sampleRate
-
setChannelConfig
-
setChannelCount
-
setSampleFormat
-
setSampleRate
-
defaultChannelConfigForChannelCount
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QAudioFormat). -
channelConfig
public static QAudioFormat.ChannelConfig channelConfig(QAudioFormat.AudioChannelPosition ... channels) -
toString
See
operator<<(QDebug,QAudioFormat) -
clone
Creates and returns a copy of this object.
-