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
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQAudioFormat::AudioChannelPosition
static enum
Java wrapper for Qt enumQAudioFormat::ChannelConfig
static enum
Java wrapper for Qt enumQAudioFormat::SampleFormat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
SeeQAudioFormat::
NChannelPositions -
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()
Creates and returns a copy of this object.static QAudioFormat.ChannelConfig
defaultChannelConfigForChannelCount
(int channelCount) final long
durationForBytes
(int byteCount) final long
durationForFrames
(int frameCount) final boolean
boolean
final int
framesForBytes
(int byteCount) final int
framesForDuration
(long microseconds) int
hashCode()
Returns the objects's hash code computed byqHash(QAudioFormat)
.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()
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.
-