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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQAudioBuffer
(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 long
clone()
Creates and returns a copy of this object.final byte []
final ByteBuffer
final QAudioFrame.AsFloat
final QAudioFrame.AsFloat
final ByteBuffer
final QAudioFrame.AsShort
final QAudioFrame.AsShort
final QAudioFrame.AsInt
final QAudioFrame.AsInt
final QAudioFrame.AsByte
final QAudioFrame.AsByte
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
-
QAudioBuffer
-
QAudioBuffer
Overloaded constructor for
QAudioBuffer(io.qt.core.QByteArray, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
. -
QAudioBuffer
Overloaded constructor for
QAudioBuffer(int, io.qt.multimedia.QAudioFormat, long)
withstartTime = -1
.
-
-
Method Details