-#ifdef USE_NEW_AY8910
- uint16_t s1 = AYGetSample(0);
- uint16_t s2 = AYGetSample(1);
- uint16_t adjustedMockingboard = s1 + s2;
-#else
- int16_t s1, s2, s3, s4, s5, s6;
- int16_t * bufPtrs[6] = { &s1, &s2, &s3, &s4, &s5, &s6 };
- AY8910Update(0, bufPtrs, 1);
- AY8910Update(1, &bufPtrs[3], 1);
- int16_t adjustedMockingboard = (s1 / 8) + (s2 / 8) + (s3 / 8)
- + (s4 / 8) + (s5 / 8) + (s6 / 8);
-#endif
+// uint16_t s1 = AYGetSample(0);
+// uint16_t s2 = AYGetSample(1);
+ uint16_t s1 = mb[0].ay[0].GetSample();
+ uint16_t s2 = mb[0].ay[1].GetSample();