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's class QAudioBuffer
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQAudioBuffer
(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
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QAudioBuffer other) final int
clone()
final ByteBuffer
final ByteBuffer
data()
final long
duration()
final QAudioFormat
format()
final int
final boolean
isValid()
final int
final long
final byte []
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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