pub trait AyAudioFrame<B>where
    B: Blep,
{ fn render_ay_audio_frame<V>(&mut self, blep: &mut B, channels: [usize; 3])
    where
        V: AmpLevels<<B as Blep>::SampleDelta>
; }
Expand description

A trait for interfacing controllers to render square-wave audio pulses from an AY-3-891x emulator.

Required Methods§

Renders square-wave pulses via Blep interface.

Provide AmpLevels that can handle level values from 0 to 15 (4-bits). channels - target Blep audio channels for [A, B, C] AY-3-891x channels.

Implementors§