Revision: 45723
http://sourceforge.net/p/vice-emu/code/45723
Author: gpz
Date: 2025-08-02 14:54:31 +0000 (Sat, 02 Aug 2025)
Log Message:
-----------
use 16 bits for the cached sample value, should fix #2142
Modified Paths:
--------------
trunk/vice/src/plus4/ted-sound.c
Modified: trunk/vice/src/plus4/ted-sound.c
===================================================================
--- trunk/vice/src/plus4/ted-sound.c 2025-08-01 23:38:39 UTC (rev 45722)
+++ trunk/vice/src/plus4/ted-sound.c 2025-08-02 14:54:31 UTC (rev 45723)
@@ -47,6 +47,10 @@
/* #define DEBUG_TEDSOUND */
#ifdef DEBUG_TEDSOUND
+#pragma GCC diagnostic warning "-O3"
+#pragma GCC diagnostic warning "-Wall"
+#pragma GCC diagnostic warning "-Wextra"
+#pragma GCC diagnostic ignored "-Wunused-parameter"
#define DBG(x) log_printf x
#else
#define DBG(x)
@@ -178,7 +182,7 @@
uint8_t voice0_cached_output;
uint8_t voice1_cached_output;
- uint8_t digital_cached_output;
+ uint16_t digital_cached_output;
uint32_t oscStep;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|