java.lang.Object
io.qt.QtObject
io.qt.multimedia.QAudioBuffer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a collection of audio samples with a specific format and sample rate
Java wrapper for Qt class QAudioBuffer
-
Constructor Summary
ConstructorDescriptionQAudioBuffer
(byte [] data, QAudioFormat format) Overloaded constructor forQAudioBuffer(byte[], io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
.QAudioBuffer
(byte [] data, QAudioFormat format, long startTime) Overloaded constructor forQAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
.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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QAudioBuffer other) final int
clone()
Creates and returns a copy of this object.final long
duration()
final QAudioFormat
format()
final int
final boolean
isValid()
final int
final long
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QAudioBuffer
public QAudioBuffer() -
QAudioBuffer
- Parameters:
other
-
-
QAudioBuffer
- Parameters:
data
-format
-startTime
-
-
QAudioBuffer
- Parameters:
numFrames
-format
-startTime
-
-
QAudioBuffer
Overloaded constructor for
QAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
. -
QAudioBuffer
Overloaded constructor for
QAudioBuffer(byte[], io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
. -
QAudioBuffer
Overloaded constructor for
QAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
. -
QAudioBuffer
Overloaded constructor for
QAudioBuffer(int, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
.
-
-
Method Details
-
byteCount
- Returns:
-
duration
- Returns:
-
format
- Returns:
-
frameCount
- Returns:
-
isValid
- Returns:
-
assign
- Parameters:
other
-
-
sampleCount
- Returns:
-
startTime
- Returns:
-
clone
Creates and returns a copy of this object.
-