openrndr
0.4.5-dev.4.uncommitted+98ebace
jvm
openrndr-openal
/
org.openrndr.openal
/
AudioQueueSource
Audio
Queue
Source
class
AudioQueueSource
(
source
:
Int
,
bufferCount
:
Int
=
2
,
val
queueSize
:
Int
=
20
,
pullFunction
:
(
)
->
AudioData
?
?
=
null
)
:
AudioSource
(
source
)
Members
Constructors
Audio
Queue
Source
Link copied to clipboard
constructor
(
source
:
Int
,
bufferCount
:
Int
=
2
,
queueSize
:
Int
=
20
,
pullFunction
:
(
)
->
AudioData
?
?
=
null
)
Functions
dispose
Link copied to clipboard
fun
dispose
(
)
flush
Link copied to clipboard
fun
flush
(
)
pause
Link copied to clipboard
fun
pause
(
)
play
Link copied to clipboard
fun
play
(
)
queue
Link copied to clipboard
fun
queue
(
data
:
AudioData
)
resume
Link copied to clipboard
fun
resume
(
)
stop
Link copied to clipboard
fun
stop
(
)
Properties
buffer
Offset
Link copied to clipboard
var
bufferOffset
:
Long
direction
Link copied to clipboard
var
direction
:
Vector3
gain
Link copied to clipboard
var
gain
:
Double
output
Queue
Full
Link copied to clipboard
val
outputQueueFull
:
Boolean
position
Link copied to clipboard
var
position
:
Vector3
queue
Size
Link copied to clipboard
val
queueSize
:
Int
=
20
sample
Offset
Link copied to clipboard
val
sampleOffset
:
Long
velocity
Link copied to clipboard
var
velocity
:
Vector3