"Pull" based DMA for SB - doesn't require DMA interval dithering

This commit is contained in:
Ian Scott committed 2026-03-16 23:14:05 -06:00
1 parent fee4b40d76
commit a2e72cdc6f
3 files changed
+126 -50

No files matched your search

+2 -2
View File
@@ -137,8 +137,8 @@ void audio_sample_handler(void) {
#else
uint32_t card_stereo = sbdsp_sample_stereo();
#endif
sample_l = (int16_t)(card_stereo & 0xFFFF);
sample_r = (int16_t)(card_stereo >> 16);
sample_l = scale_sample((int16_t)(card_stereo & 0xFFFF), sb_volume, 0);
sample_r = scale_sample((int16_t)(card_stereo >> 16), sb_volume, 0);
}
#endif