diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-10-29 01:06:48 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-10-29 01:06:48 -0700 |
commit | 3a8f89cb47c0715d091dde6e317cebf9a4796778 (patch) | |
tree | 7cfc6815bf7af3cc8578d24c152babd28d00a9bc /psg.h | |
parent | 0a372b26313bf60fe7afedfcfeea20149f2b4399 (diff) |
Somewhat better handling of high frequency PSG tones. Needs work to fully handle case where frequency > half our output sample rate
Diffstat (limited to 'psg.h')
-rw-r--r-- | psg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ typedef struct { uint16_t lsfr; uint16_t counter_load[4]; uint16_t counters[4]; + int16_t accum; + int16_t sample_count; uint8_t volume[4]; uint8_t output_state[4]; uint8_t noise_out; |