class

Swanium::Core::WonderSwanVoiceChannel

Inherits Reference < Object

Channel-two streamed PCM interpolation and stereo routing state.

Constructors

Instance methods

load_state(io : IO) : Nil
Source
mix(ports : Bytes, scale : Int32) : Tuple(Int32, Int32)

Resets the analog interpolation state when voice mode is disabled, matching the APU's sample-boundary behaviour.

Source
reset
Source
save_state(io : IO) : Nil
Source
write(sample : UInt8) : Nil
Source