==================================================================
= =
= FSSound v1.4 -- A sound module for FS98, CFS and FS2000 =
= =
= Copyright (c) 1999-2000 by Daniel Steiner <[email protected]> =
= =
==================================================================
The FSSound module enables you to play back sound files in Microsoft Flight Simulator 98, Flight Simulator 2000 and Combat Flight Simulator gauges trough an easy to use interface. Check the header file and the examples to figure out how to use it (read the comments!).
available versions:
-------------------
1) Developer version (this version)
2) End user version (included in the FSSoundEndUser.zip file, see distribution rules below)
3) Source code version
installation:
-------------
1) Copy the FSSound.dll file to the modules subfolder of your Flight Simulator installation.
2) I'd bet you know what to do with all the other files. Since the module is built with the GNU C compiler, I don't have a clue whether one of the provided import libraries (FSSound_msvc.lib or FSSound_bor.lib) works for you. If it doesn't, you should be able to build a new one with the tools that come with your compiler. Something like "LIB /OUT:FSSound.lib /DEF:FSSound.def" should actually do the job for the Microsoft compiler and "IMPLIB -c FSSound.lib FSSound.dll" should work for the Borland compiler. If you use the GNU Compiler Suite you can use the libfssound.a import library which DOES work.
some things you should know:
----------------------------
1) The macros that are used in the example are provided for convenience only and don't have to be used. However, you should check the play macros to find out more about error handling.
2) The paths to the wave file need to be specified relative to the main installation directory of FS (not the sound, modules or gauges subfolder).
3) If you don't have hardware that does the sound mixing, you should use the same format for all wave files. Else, the CPU needs to convert them on the fly while mixing (normally 8bit, 22kHz and mono should be good enough).
4) Before sounds can be played back, they need to be registered by calling the appropriate method.
5) The module will only play back resources of type "SOUND". Check the example to see how resources can be used.
6) Since the FSSound module is not unloaded, when the user selects an other panel (which nobody hopes), it is absolutely necessary to unregister sounds that are no longer needed. Else, you start filling the sound card memory and later the main memory with sound data, that is no longer referenced and that can never be played back again anyway, until the user of your panel decides to or is forced to close FS.
7) The volume is specified in hundredths of decibels. So 0 (0dB, the default) means maximum volume and -10000 (-100dB) means silence. Note: Even when the volume is set to the minimum and you cannot hear the sound any more, the mixing process consumes CPU cycles that FS could use for better things. So: stop play back when you mute the sound.
8) The pan is also specified in hundredths of decibels. A value of -10000 (-100dB) means full left, 10000 (100dB) means full right and 0 (0dB) means both channels are at full volume. When you give (e.g.) 3412 as parameter, the left channel is attenuated by 34.12dB and the sound source appears to be more to the right.
9) The frequency is specified in hertz. The value must be between 100Hz and 100000Hz. The special value 0Hz resets the frequency to the default as in the sound file.
10) Do not mess around with the FSSound struct. Usually, the FSSound module knows better what to do with its data than you ;-)
Have a lot of fun with this module and feel free to provide any kind of feedback!
Daniel Steiner
--------------------------------------------------------------------------------
Distribution rules:
FSSound and all parts of it are freeware and not Public Domain software.
It may NOT be included or used in any commercial or shareware package without a written agreement from the author.
It may NOT be distributed on any kind of media, such as CDROM, disk or other without a written agreement from the author.
It may NOT be uploaded to any online library and may not be published on the Internet without a written agreement from the author.
It may be included in a freeware panel package free of charge, if the copyright information is clearly marked in the documentation and if ALL files contained in the FSSoundEndUser.zip archive are included with your panel package.
| Имя файла | Дата | Размер |
|---|---|---|
| G100 INTER/model/ | 28.03.2003 11:55 | |
| G100 INTER/model/model.cfg | 19.02.2003 00:05 | 38 B |
| G100 INTER/model/gulfstream_g100.mdl | 29.03.2003 12:53 | 727 KB |
| G100 INTER/panel/ | 14.03.2003 04:22 | |
| G100 INTER/panel/Thumbs.db | 10.03.2003 23:01 | 27 KB |
| G100 INTER/panel/Panel.cfg | 27.03.2003 19:32 | 8 KB |
| G100 INTER/panel/Beck-Left.bmp | 24.02.2003 18:08 | 769 KB |
| G100 INTER/panel/Beck-right.bmp | 24.02.2003 19:03 | 769 KB |
| G100 INTER/panel/BECK.bmp | 24.02.2003 13:54 | 769 KB |
| G100 INTER/panel/CD_Player.bmp | 12.08.2002 21:06 | 69 KB |
| G100 INTER/panel/Front-Left.bmp | 01.03.2003 03:19 | 769 KB |
| G100 INTER/panel/Front-Right.bmp | 01.03.2003 19:35 | 769 KB |
| G100 INTER/panel/HUD.bmp | 17.03.2003 14:53 | 121 KB |
| G100 INTER/panel/Attendant.bmp | 11.03.2003 03:02 | 77 KB |
| G100 INTER/panel/G100-UP.bmp | 16.03.2003 20:00 | 769 KB |
| G100 INTER/panel/Left.bmp | 01.03.2003 20:39 | 769 KB |
| G100 INTER/panel/Gulf-Blue.bmp | 16.03.2003 02:45 | 769 KB |
| G100 INTER/panel/Right.bmp | 24.02.2003 19:28 | 769 KB |
| G100 INTER/panel/G100-Throttle.bmp | 01.03.2003 20:30 | 168 KB |
| G100 INTER/texture/ | 28.03.2003 11:58 | |
| G100 INTER/texture/Thumbs.db | 14.03.2003 00:06 | 23 KB |
| G100 INTER/texture/G100Partes_t.bmp | 22.03.2003 04:15 | 341 KB |
| G100 INTER/texture/cromo_t.bmp | 11.08.2002 15:33 | 21 KB |
| G100 INTER/texture/cromo_L.bmp | 11.08.2002 15:21 | 21 KB |
| G100 INTER/texture/spoilers.bmp | 20.03.2001 03:35 | 257 KB |
| G100 INTER/texture/cockpit_t.bmp | 21.09.2002 14:17 | 257 KB |
| G100 INTER/texture/cockpit_l.bmp | 21.09.2002 14:16 | 257 KB |
| G100 INTER/texture/G100Base_T.bmp | 28.03.2003 14:07 | 1 MB |
| G100 INTER/texture/fusint_t.bmp | 21.09.2002 15:03 | 341 KB |
| G100 INTER/texture/fusint_l.bmp | 21.09.2002 15:04 | 341 KB |
| G100 INTER/texture/pilotos.bmp | 27.03.2003 00:47 | 257 KB |
| G100 INTER/texture/G100Base_l.bmp | 27.03.2003 01:38 | 1 MB |
| G100 INTER/G100MOZp.jpg | 28.03.2003 14:49 | 45 KB |
| G100 INTER/gulfstream_g100_CHECK.CFG | 04.06.1999 01:44 | 1 KB |
| G100 INTER/INSTALL & Copyrights/ | 11.03.2003 14:41 | |
| G100 INTER/INSTALL & Copyrights/ACS-GPS/ | 09.02.2003 15:12 | |
| G100 INTER/INSTALL & Copyrights/ACS-GPS/ACS Read 2.txt | 31.01.2003 03:06 | 447 B |
| G100 INTER/INSTALL & Copyrights/ACS-GPS/ACS_exe.zip | 05.01.2003 20:51 | 50 KB |
| G100 INTER/INSTALL & Copyrights/ACS-GPS/MOZ.prg | 20.01.2003 19:03 | 379 B |
| G100 INTER/INSTALL & Copyrights/ACS-GPS/MOZBIQUE.prg | 22.03.2001 14:57 | 952 B |
| G100 INTER/INSTALL & Copyrights/CD Muzik/ | 09.02.2003 15:12 | |
| G100 INTER/INSTALL & Copyrights/CD Muzik/readme-cd.1st | 30.09.2001 12:38 | 4 KB |
| G100 INTER/INSTALL & Copyrights/CD Muzik/userguide.gif | 30.09.2001 11:44 | 26 KB |
| G100 INTER/INSTALL & Copyrights/CD Muzik/CD-musik.jpg | 09.02.2003 16:10 | 70 KB |
| G100 INTER/INSTALL & Copyrights/Effects/ | 09.02.2003 15:12 | |
| G100 INTER/INSTALL & Copyrights/Effects/fx_Falc.fx | 04.09.2002 19:27 | 1 KB |
| G100 INTER/INSTALL & Copyrights/Effects/install2.txt | 01.02.2003 15:01 | 27 B |
| G100 INTER/INSTALL & Copyrights/Modules/ | 11.03.2003 14:14 | |
| G100 INTER/INSTALL & Copyrights/Modules/readme.txt | 15.05.2001 05:44 | 5 KB |
| G100 INTER/INSTALL & Copyrights/Modules/FSSound.dll | 15.05.2001 05:48 | 13 KB |
| G100 INTER/INSTALL & Copyrights/Modules/Modlule Install.txt | 11.03.2003 14:47 | 27 B |
| G100 INTER/INSTALL & Copyrights/sound/ | 11.03.2003 14:40 | |
| G100 INTER/INSTALL & Copyrights/sound/OUTERMK.WAV | 14.11.1999 21:57 | 22 KB |
| G100 INTER/INSTALL & Copyrights/sound/APU-SND.WAV | 13.03.2000 01:31 | 105 KB |
| G100 INTER/INSTALL & Copyrights/sound/click.wav | 26.01.2002 21:18 | 3 KB |
| G100 INTER/INSTALL & Copyrights/sound/sound install.txt | 11.03.2003 14:46 | 25 B |
| G100 INTER/INSTALL & Copyrights/sound/Signs.wav | 26.09.2000 10:14 | 17 KB |
| G100 INTER/INSTALL & Copyrights/sound/SWITCH.wav | 26.01.2002 21:23 | 652 B |
| G100 INTER/INSTALL & Copyrights/recommended-soundsettings.jpg | 23.04.2002 02:52 | 172 KB |
| G100 INTER/INSTALL & Copyrights/README Taxispeed.txt | 23.02.2003 06:37 | 7 KB |
| G100 INTER/INSTALL & Copyrights/GAUGES CREDITS.txt | 11.03.2003 15:16 | 653 B |
| G100 INTER/INSTALL & Copyrights/gauge.zip | 17.03.2003 21:30 | 3 MB |
| G100 INTER/INSTALL & Copyrights/How To.jpg | 18.04.2002 14:55 | 47 KB |
| G100 INTER/INSTALL & Copyrights/FSNAV readme.txt | 17.12.2001 19:31 | 3 KB |
| G100 INTER/INSTALL & Copyrights/G100 - INTER.doc | 28.03.2003 16:54 | 1 MB |
| G100 INTER/gulfstream_g100V1.air | 19.03.2003 19:32 | 13 KB |
| G100 INTER/AIRCRAFT.CFG | 28.03.2003 16:56 | 8 KB |
| G100 INTER/G100MOZ.jpg | 28.03.2003 14:48 | 18 KB |
| G100 INTER/G100MOZpn.jpg | 28.03.2003 14:51 | 46 KB |
| G100 INTER/Sound/ | 29.03.2003 13:11 | |
| G100 INTER/Sound/Sound.cfg | 01.09.2002 14:21 | 32 B |
| G100 INTER/Gulfstream_g100V1_notes.txt | 20.03.2003 02:25 | |
| G100 INTER/ | 14.03.2003 04:22 | |
| avsim_ru.diz | 14.03.2004 00:18 | 425 B |
| Итого: | 17 MB | |