VSU works now

This commit is contained in:
2024-10-21 19:39:35 -05:00
parent 0a57ef0faf
commit c06da32321
4 changed files with 87 additions and 58 deletions
+2 -3
View File
@@ -64,8 +64,7 @@ typedef struct {
} wave;
/* Other state */
uint32_t clocks; /* Clocks until next sample */
uint16_t output[2]; /* Current output sample */
uint32_t clocks; /* Clocks until next sample */
} Channel;
/* Simulation state */
@@ -297,7 +296,7 @@ struct VB {
float o1[2]; /* Previous analog output sample */
uint32_t capacity; /* Number of audio frames in samples */
uint32_t offset; /* Position in output buffer */
int16_t *samples; /* Output memory */
int16_t *samples; /* Output memory */
} out;
/* Memory */