spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
createBuffer
game
audio
Undocumented in source. Be warned that the author may not have intended to support it.
nothrow @
safe
@
trusted
AudioBuffer
createBuffer
(
ref
BaseAudioContext
ctx
,
uint
numberOfChannels
,
uint
length
,
float
sampleRate
)
Meta
Source
See Implementation
game
audio
aliases
WaveForm
functions
applyDelay
audioBufferGetChannelData
audioBufferSourceNodeBuffer
audioBufferSourceNodeConnect
audioBufferSourceNodeLoopSet
audioBufferSourceNodeStart
baseAudioContextCreateBuffer
baseAudioContextCreateBufferSource
baseAudioContextDestination
connect
createAudioBuffer
createBuffer
createBufferSource
createSfx
createSoundPlayer
float32ArraySet
generateBuffer
getAudioBuffer
getChannelData
getnotefreq
newAudioContext
osc_saw
osc_sin
osc_square
osc_tri
set
start
windowNewAudioContext
manifest constants
MAX_TIME
WAVE_SPS
static variables
explodeFx
gSoundPlayer
hitFx
shootFx
terminalFx
structs
AudioBuffer
AudioBufferSourceNode
AudioContext
AudioDestinationNode
BaseAudioContext
Buffer
Float32Array
Instrument
SoundPlayer