toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.audio.sound
/
LogNativeSoundProvider
/
PlatformLogAudioOutput
Platform
Log
Audio
Output
inner
class
PlatformLogAudioOutput
(
val
coroutineContext
:
CoroutineContext
,
val
frequency
:
Int
)
:
PlatformAudioOutput
Members
Members & Extensions
Constructors
Platform
Log
Audio
Output
Link copied to clipboard
constructor
(
coroutineContext
:
CoroutineContext
,
frequency
:
Int
)
Properties
available
Samples
Link copied to clipboard
open
val
availableSamples
:
Int
=
0
coroutine
Context
Link copied to clipboard
val
coroutineContext
:
CoroutineContext
data
Link copied to clipboard
val
data
:
AudioSamplesDeque
frequency
Link copied to clipboard
val
frequency
:
Int
panning
Link copied to clipboard
open
override
var
panning
:
Double
pitch
Link copied to clipboard
open
override
var
pitch
:
Double
volume
Link copied to clipboard
open
override
var
volume
:
Double
Functions
add
Link copied to clipboard
open
suspend override
fun
add
(
samples
:
AudioSamples
,
offset
:
Int
,
size
:
Int
)
suspend
fun
add
(
data
:
AudioData
)
apply
Props
To
Link copied to clipboard
fun
SoundProps
.
applyPropsTo
(
samples
:
AudioSamples
)
fun
SoundProps
.
applyPropsTo
(
samples
:
AudioSamplesInterleaved
)
consume
To
Data
Link copied to clipboard
fun
consumeToData
(
)
:
AudioData
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
)
dispose
Link copied to clipboard
override
fun
dispose
(
)
start
Link copied to clipboard
open
fun
start
(
)
stop
Link copied to clipboard
open
fun
stop
(
)
to
Data
Link copied to clipboard
fun
toData
(
)
:
AudioData
volume
For
Channel
Link copied to clipboard
fun
SoundProps
.
volumeForChannel
(
channel
:
Int
)
:
Double
wait
Link copied to clipboard
open
suspend
fun
wait
(
)