class

Swanium::Core::PcmSampleBuffer

Inherits Reference < Object

Owns completed stereo PCM samples between the deterministic APU producer and the frontend audio consumer.

Constructors

new(initial_capacity : Int32 = 1024)
Source

Instance methods

append_silence(frames : UInt32) : Nil
Source
append_stereo(left : Int16, right : Int16) : Nil
Source
drain
Source
load_state(io : IO) : Nil
Source
reset
Source
save_state(io : IO) : Nil
Source
snapshot
Source