java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QAudioBuffer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QAudioBuffer extends QtObject implements Cloneable
Represents a collection of audio samples with a specific format and sample rate
Java wrapper for Qt class QAudioBuffer
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QAudioBuffer()
QAudioBuffer(int numFrames, QAudioFormat format)
Overloaded constructor forQAudioBuffer(int, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
.QAudioBuffer(int numFrames, QAudioFormat format, long startTime)
QAudioBuffer(QByteArray data, QAudioFormat format)
Overloaded constructor forQAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
.QAudioBuffer(QByteArray data, QAudioFormat format, long startTime)
QAudioBuffer(QAudioBuffer other)
protected
QAudioBuffer(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description int
byteCount()
QAudioBuffer
clone()
ByteBuffer
constData()
ByteBuffer
data()
long
duration()
QAudioFormat
format()
int
frameCount()
boolean
isValid()
int
sampleCount()
long
startTime()
byte[]
toByteArray()
-
Constructor Details
-
QAudioBuffer
public QAudioBuffer() -
QAudioBuffer
-
QAudioBuffer
Overloaded constructor for
QAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
. -
QAudioBuffer
-
QAudioBuffer
Overloaded constructor for
QAudioBuffer(int, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
. -
QAudioBuffer
-
QAudioBuffer
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details