Closed LemmaEOF closed 5 months ago
This is a variation of the pending work for #13
I have for now surfaced the AudioFrame structure, but also the API with a "OpaquePointer", which you will need to cast into AudioFrame* (something like UnsafeMutableBufferPointer
Describe the bug
AudioStreamPlayback
has a_mix
method that is defined inextension_api.json
but is not exposed to SwiftGodot. The extension description is as follows:The
buffer
argument'sAudioFrame*
type is an array that is modified as a side-effect of the operation, so it will need to be aninout [AudioFrame]
in the Swift type signature. This is critical for tasks like processing audio for visualization, and its exclusion makes those currently impossible.