From: curt Date: Mon, 9 Jan 2006 02:23:02 +0000 (+0000) Subject: Add a do_play_audio_message() function which is tied to the X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ed73e16b6aa2ca4e33692ed93718a860b94d4df;p=flightgear.git 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. --- 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