+
+ return TRUE;
+}
+
+#if !defined(TARGET_SDL)
+static boolean ForkAudioProcess(void)
+{
+ if (pipe(audio.soundserver_pipe) < 0)
+ {
+ Error(ERR_WARN, "cannot create pipe - no sounds");
+ return FALSE;
+ }
+
+ if ((audio.soundserver_pid = fork()) < 0)
+ {
+ Error(ERR_WARN, "cannot create sound server process - no sounds");
+ return FALSE;
+ }
+
+ if (audio.soundserver_pid == 0) /* we are child */
+ {
+ SoundServer();
+
+ /* never reached */
+ exit(0);
+ }
+ else /* we are parent */
+ close(audio.soundserver_pipe[0]); /* no reading from pipe needed */
+
+ return TRUE;
+}
+#endif
+
+void UnixOpenAudio(void)
+{
+ if (!TestAudioDevices())
+ return;
+