WSS File Converter by Stoppelhopser
Used to convert WAV files into WSS files which OFP uses and the other way around.
This program was written for the OFP community to convert BIS´s wss soundfiles to wav format and vice versae.
This program used to be based on two DOS applications called wsscod and wssdec. It used to serve as a GUI for these progs to save the annoying command line inputs. There was, however, the problem that filepaths needed to be converted to 8.3 format, which caused a bug in the application because i did not do it. Instead of adding this feature, i implemented file conversion routines to get rid of the DOS utilities.
OFP uses Microsofts DirectSound runtime to playback sounds. DirectSound is only capable of playing back sound PCM data, which is an uncompressed format. The most common format types are:
Other format types (e.g. 24bit/sample) might also be supported, but this depends on the audio hardware.
If the sound is a 3D-sound (in flashpoint, all sounds except radio and music), it has to be a mono file, because stereo impression is generated dynamically by the DirectSound engine.
Thus, using ogg-files for flashpoint only makes sense for music, environment sounds and (maybe) radio. ogg-compressed files only reduce resource size, but flashpoint must convert these files to PCM before using them, so loading the file may reduce performance due to the required conversion process.