diff -u xmms-arts-0.4/artsout.h xmms-arts-0.4.patched/artsout.h --- xmms-arts-0.4/artsout.h 2000-09-01 05:35:06.000000000 +0200 +++ xmms-arts-0.4.patched/artsout.h 2002-10-23 23:30:25.000000000 +0200 @@ -38,6 +38,7 @@ #include <xmms/plugin.h> #include <xmms/configfile.h> +#include <xmms/util.h> extern OutputPlugin op; diff -u xmms-arts-0.4/audio.c xmms-arts-0.4.patched/audio.c --- xmms-arts-0.4/audio.c 2000-11-21 05:24:25.000000000 +0100 +++ xmms-arts-0.4.patched/audio.c 2002-10-23 23:30:16.000000000 +0200 @@ -242,6 +242,12 @@ { gint length, cnt; + int errorcode; + errorcode = arts_init(); + if (errorcode < 0) { + fprintf(stderr,"arts_init error: %s\n", arts_error_text(errorcode)); + pthread_exit(NULL); + } while (going) {