toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.audio.sound
/
SoundChannelBase
Sound
Channel
Base
interface
SoundChannelBase
:
SoundProps
Inheritors
SoundChannelGroup
SoundChannel
Members
Members & Extensions
Properties
panning
Link copied to clipboard
abstract
override
var
panning
:
Double
paused
Link copied to clipboard
val
SoundChannelBase
.
paused
:
Boolean
pitch
Link copied to clipboard
abstract
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
abstract
val
state
:
SoundChannelState
volume
Link copied to clipboard
abstract
override
var
volume
:
Double
Functions
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
)
reset
Link copied to clipboard
abstract
fun
reset
(
)
stop
Link copied to clipboard
abstract
fun
stop
(
)
volume
For
Channel
Link copied to clipboard
fun
SoundProps
.
volumeForChannel
(
channel
:
Int
)
:
Double