unsigned int prevflags:3; // flags from previous block\r
unsigned int bIgnoreLoop:1; // Ignore loop\r
unsigned int bNewPitch:1; // pitch changed\r
+ unsigned int bStarting:1; // starting after keyon\r
union {\r
struct {\r
int iLeftVolume; // left volume\r
void schedule_next_irq(void);\r
void check_irq_io(unsigned int addr);\r
\r
-#define do_samples_if_needed(c, sync) \\r
+#define do_samples_if_needed(c, sync, samples) \\r
do { \\r
- if (sync || (int)((c) - spu.cycles_played) >= 16 * 768) \\r
+ if (sync || (int)((c) - spu.cycles_played) >= (samples) * 768) \\r
do_samples(c, sync); \\r
} while (0)\r
\r