aboutsummaryrefslogtreecommitdiff
path: root/emu8k_internal.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-02-05 15:43:59 +0100
committerJavier <dev.git@javispedro.com>2022-02-05 15:43:59 +0100
commit774984e2f00b4ea81060adf7a0625706ddaa42a5 (patch)
treeb28bc676598432953ce1002b93b0d7b584500df2 /emu8k_internal.h
parent176ec23dd48c50c87e5394b702e2cf0fe72957db (diff)
downloadvmusic-774984e2f00b4ea81060adf7a0625706ddaa42a5.tar.gz
vmusic-774984e2f00b4ea81060adf7a0625706ddaa42a5.zip
increment the emu's sample count between audio callbacks as per the virtual clock, to aid programs that poll it
Diffstat (limited to 'emu8k_internal.h')
-rw-r--r--emu8k_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/emu8k_internal.h b/emu8k_internal.h
index a8e3ea8..19132fa 100644
--- a/emu8k_internal.h
+++ b/emu8k_internal.h
@@ -401,7 +401,8 @@ typedef struct emu8k_t
uint32_t smalr, smarr, smalw, smarw;
uint16_t smld_buffer, smrd_buffer;
- uint16_t wc;
+ uint16_t sample_count;
+ uint16_t sample_count_virtual;
uint16_t id;