java.lang.Object
io.qt.internal.NativeUtility.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 long
clone()
final void
detach()
final long
duration()
final QAudioFormat
format()
final long
final boolean
isValid()
final long
final long
final void
swap
(QAudioBuffer other) 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