New audio subsystem.
[jog] / err.c
diff --git a/err.c b/err.c
index 27065b0..e34b555 100644 (file)
--- a/err.c
+++ b/err.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: err.c,v 1.1 2002/01/25 19:34:45 mdw Exp $
+ * $Id: err.c,v 1.2 2002/02/02 19:16:46 mdw Exp $
  *
  * Error reporting
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: err.c,v $
+ * Revision 1.2  2002/02/02 19:16:46  mdw
+ * New audio subsystem.
+ *
  * Revision 1.1  2002/01/25 19:34:45  mdw
  * Initial revision
  *
@@ -50,7 +53,7 @@
 #include <mLib/exc.h>
 #include <mLib/quis.h>
 
-/* #include "au.h" */
+#include "auerr.h"
 #include "err.h"
 
 /*----- Static variables --------------------------------------------------*/
@@ -78,7 +81,7 @@ void err_abortv(int reason, unsigned long err, const char *msg, va_list *ap)
   fprintf(stderr, "%s: fatal error (code %d-%lu): ", QUIS, reason, err);
   vfprintf(stderr, msg, *ap);
   putc('\n', stderr);
-  /* au_abort(reason, err); */
+  auerr_abort(reason, err);
   abort();
 }
 
@@ -151,7 +154,7 @@ void err_reportv(int ctx, int reason, unsigned long err,
   if (ctx && !(flags & f_thread)) {
     unsigned f = flags;
     flags |= f_thread;
-/*     au_misc(AU_ERROR, ctx, reason, err); */
+    auerr(ctx, reason, err);
     flags = f;
   }
   t = time(0);