toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.audio.sound
/
SoundChannelGroup
Sound
Channel
Group
class
SoundChannelGroup
(
volume
:
Double
=
1.0
,
pitch
:
Double
=
1.0
,
panning
:
Double
=
0.0
)
:
SoundChannelBase
Members
Members & Extensions
Constructors
Sound
Channel
Group
Link copied to clipboard
constructor
(
volume
:
Double
=
1.0
,
pitch
:
Double
=
1.0
,
panning
:
Double
=
0.0
)
Properties
panning
Link copied to clipboard
open
override
var
panning
:
Double
paused
Link copied to clipboard
val
SoundChannelBase
.
paused
:
Boolean
pitch
Link copied to clipboard
open
override
var
pitch
:
Double
playing
Link copied to clipboard
val
SoundChannelBase
.
playing
:
Boolean
playing
Or
Paused
Link copied to clipboard
val
SoundChannelBase
.
playingOrPaused
:
Boolean
state
Link copied to clipboard
open
override
val
state
:
SoundChannelState
volume
Link copied to clipboard
open
override
var
volume
:
Double
Functions
add
Link copied to clipboard
fun
add
(
channel
:
SoundChannelBase
)
apply
Props
To
Link copied to clipboard
fun
SoundProps
.
applyPropsTo
(
samples
:
AudioSamples
)
fun
SoundProps
.
applyPropsTo
(
samples
:
AudioSamplesInterleaved
)
await
Link copied to clipboard
suspend
fun
SoundChannelBase
.
await
(
)
copy
Sound
Props
From
Link copied to clipboard
fun
SoundProps
.
copySoundPropsFrom
(
other
:
ReadonlySoundProps
)
copy
Sound
Props
From
Combined
Link copied to clipboard
fun
SoundProps
.
copySoundPropsFromCombined
(
l
:
ReadonlySoundProps
,
r
:
ReadonlySoundProps
)
remove
Link copied to clipboard
fun
remove
(
channel
:
SoundChannelBase
)
reset
Link copied to clipboard
open
override
fun
reset
(
)
stop
Link copied to clipboard
open
override
fun
stop
(
)
volume
For
Channel
Link copied to clipboard
fun
SoundProps
.
volumeForChannel
(
channel
:
Int
)
:
Double