1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Adds comment to explain channel allocations.

This commit is contained in:
Thomas Harte 2020-02-16 15:04:52 -05:00
parent 43740a4b2f
commit 808e4e8537

View File

@ -126,6 +126,8 @@ class AYDeferrer {
/// Constructs a new AY instance and sets its clock rate. /// Constructs a new AY instance and sets its clock rate.
AYDeferrer() : ay_(GI::AY38910::Personality::AY38910, audio_queue_), speaker_(ay_) { AYDeferrer() : ay_(GI::AY38910::Personality::AY38910, audio_queue_), speaker_(ay_) {
speaker_.set_input_rate(1000000); speaker_.set_input_rate(1000000);
// Per the CPC Wiki:
// "A is output to the right, channel C is output left, and channel B is output to both left and right".
ay_.set_output_mixing(true, 0.0, 0.5, 1.0, 1.0, 0.5, 0.0); ay_.set_output_mixing(true, 0.0, 0.5, 1.0, 1.0, 0.5, 0.0);
} }