In attempting to test out Cameron's emu10k1 support, one quickly notices that
the build dies in $SUBJECT due to unresolved constants.

The attached patch fixes the problem. I'm happy to report that mpg123 is
playing mp3's quite fine. There's a little burst of static when it first
starts up, but other than that, things look fine for me.

josh

-- 
Give me rampant intellectualism as a coping strategy!
                                   -- Chuck Palahniuk in Invisible Monsters
--- emu10k1.h   Sun Apr  2 03:41:17 2000
+++ /tmp/emu10k1.h      Sun Apr  2 19:01:32 2000
@@ -663,4 +663,12 @@
 #define HIWORD_RESULT_MASK     0x000ffc00      /* Instruction result                  
         */
 #define HIWORD_OPA_MASK                0x000003ff      /* Instruction operand A       
                 */
 
+/* Following constants lifted from Creative's hwaccess.h file */
+/* Needed to get emu10k1.c rev 1.1 to compile */
+#define ENABLE 0xffffffff
+#define DISABLE 0x00000000
+
+#define ENV_ON 0x80
+#define ENV_OFF 0x00
+
 #endif /* _8010_H */

Reply via email to