java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QAudioFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QAudioFormat extends QtObject implements Cloneable
Stores audio stream parameter information
Java wrapper for Qt class QAudioFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QAudioFormat.Endian
Java wrapper for Qt enum QAudioFormat::Endianstatic class
QAudioFormat.SampleType
Java wrapper for Qt enum QAudioFormat::SampleType -
Constructor Summary
Constructors Modifier Constructor Description QAudioFormat()
QAudioFormat(QAudioFormat other)
protected
QAudioFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QAudioFormat.Endian
byteOrder()
int
bytesForDuration(long duration)
int
bytesForFrames(int frameCount)
int
bytesPerFrame()
int
channelCount()
QAudioFormat
clone()
String
codec()
long
durationForBytes(int byteCount)
long
durationForFrames(int frameCount)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
framesForBytes(int byteCount)
int
framesForDuration(long duration)
int
hashCode()
boolean
isValid()
int
sampleRate()
int
sampleSize()
QAudioFormat.SampleType
sampleType()
void
setByteOrder(QAudioFormat.Endian byteOrder)
void
setChannelCount(int channelCount)
void
setCodec(String codec)
void
setSampleRate(int sampleRate)
void
setSampleSize(int sampleSize)
void
setSampleType(QAudioFormat.SampleType sampleType)
String
toString()
-
Constructor Details
-
QAudioFormat
public QAudioFormat() -
QAudioFormat
-
QAudioFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
byteOrder
-
bytesForDuration
-
bytesForFrames
-
bytesPerFrame
-
channelCount
-
codec
-
durationForBytes
-
durationForFrames
-
framesForBytes
-
framesForDuration
-
isValid
-
sampleRate
-
sampleSize
-
sampleType
-
setByteOrder
-
setChannelCount
-
setCodec
-
setSampleRate
-
setSampleSize
-
setSampleType
-
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
-
toString
-
clone
-