]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/dac.h
Initial stab at getting the DSP to run in the host audio IRQ. Needs testing.
[virtualjaguar] / src / dac.h
index 914ff6a5d6e1c11ea176d0b46a63a1ac3ee932b9..ef30549a237436128fa1c4a15ea5c009d1249e98 100644 (file)
--- a/src/dac.h
+++ b/src/dac.h
@@ -5,11 +5,17 @@
 #ifndef __DAC_H__
 #define __DAC_H__
 
-#include "types.h"
+//this is here, because we have to compensate in more than just dac.cpp...
+#define NEW_DAC_CODE                                                   // New code paths!
+
+//#include "types.h"
+#include "memory.h"
 
 void DACInit(void);
 void DACReset(void);
 void DACDone(void);
+int GetCalculatedFrequency(void);
+void DACSetNewFrequency(int);
 
 // DAC memory access
 
@@ -20,6 +26,6 @@ uint16 DACReadWord(uint32 offset, uint32 who = UNKNOWN);
 
 // Global variables
 
-extern uint16 lrxd, rrxd;                                                      // I2S ports (into Jaguar)
+//extern uint16 lrxd, rrxd;                                                    // I2S ports (into Jaguar)
 
 #endif // __DAC_H__