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::Endian
static enum
Java wrapper for Qt enumQAudioFormat::SampleType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QAudioFormat other) final QAudioFormat.Endian
final int
bytesForDuration
(long duration) final int
bytesForFrames
(int frameCount) final int
final int
clone()
Creates and returns a copy of this object.final String
codec()
final long
durationForBytes
(int byteCount) final long
durationForFrames
(int frameCount) final boolean
equals
(QAudioFormat other) boolean
final int
framesForBytes
(int byteCount) final int
framesForDuration
(long duration) int
hashCode()
Returns the objects's hash code computed byqHash(QAudioFormat)
.final boolean
isValid()
final int
final int
final QAudioFormat.SampleType
final void
setByteOrder
(QAudioFormat.Endian byteOrder) final void
setChannelCount
(int channelCount) final void
final void
setSampleRate
(int sampleRate) final void
setSampleSize
(int sampleSize) final void
setSampleType
(QAudioFormat.SampleType sampleType) toString()
Seeoperator<<(QDebug,
QAudioFormat) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QAudioFormat
public QAudioFormat() -
QAudioFormat
- Parameters:
other
-
-
-
Method Details
-
byteOrder
- Returns:
-
bytesForDuration
- Parameters:
duration
-- Returns:
-
bytesForFrames
- Parameters:
frameCount
-- Returns:
-
bytesPerFrame
- Returns:
-
channelCount
- Returns:
-
codec
- Returns:
-
durationForBytes
- Parameters:
byteCount
-- Returns:
-
durationForFrames
- Parameters:
frameCount
-- Returns:
-
framesForBytes
- Parameters:
byteCount
-- Returns:
-
framesForDuration
- Parameters:
duration
-- Returns:
-
isValid
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
sampleRate
- Returns:
-
sampleSize
- Returns:
-
sampleType
- Returns:
-
setByteOrder
- Parameters:
byteOrder
-
-
setChannelCount
- Parameters:
channelCount
-
-
setCodec
- Parameters:
codec
-
-
setSampleRate
- Parameters:
sampleRate
-
-
setSampleSize
- Parameters:
sampleSize
-
-
setSampleType
- Parameters:
sampleType
-
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QAudioFormat)
. -
toString
See
operator<<(QDebug,
QAudioFormat) -
clone
Creates and returns a copy of this object.
-