From 3ed73e16b6aa2ca4e33692ed93718a860b94d4df Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 9 Jan 2006 02:23:02 +0000 Subject: [PATCH] Add a do_play_audio_message() function which is tied to the "play-audio-function" command. This function can be called from internal code, from nasal scripts, or from external scripts to play a single one-off wav file. File/audio data is loaded and unloaded on the fly automatically. --- src/Main/fg_commands.cxx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 97f017f22..2c2e90df3 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -28,6 +28,7 @@ # include #endif #include +#include #include