+
+#else /* NO_SOUND */
+#include "audio.h"
+
+static int vol_master, vol_mus, vol_sfx;
+
+int au_init(void)
+{
+ vol_master = vol_mus = vol_sfx = 255;
+ return 0;
+}
+
+void au_shutdown(void)
+{
+ printf("au_shutdown\n");
+}
+
+struct au_module *au_load_module(const char *fname)
+{
+ return 0;
+}
+
+void au_free_module(struct au_module *mod)
+{
+}
+
+int au_play_module(struct au_module *mod)
+{
+ return -1;
+}
+
+void au_update(void)
+{
+}
+
+int au_stop_module(struct au_module *mod)
+{
+ return -1;
+}
+
+int au_module_state(struct au_module *mod)
+{
+ return AU_STOPPED;
+}
+
+int au_volume(int vol)
+{
+ AU_VOLADJ(vol_master, vol);
+ return vol_master;
+}
+
+int au_sfx_volume(int vol)
+{
+ AU_VOLADJ(vol_sfx, vol);
+ return vol_sfx;
+}
+
+
+int au_music_volume(int vol)
+{
+ AU_VOLADJ(vol_mus, vol);
+ return vol_mus;
+}
+#endif /* NO_SOUND */