diff --git a/SQCSim2021/SQCSim2021.vcxproj b/SQCSim2021/SQCSim2021.vcxproj index 457adbb..16ab9cc 100644 --- a/SQCSim2021/SQCSim2021.vcxproj +++ b/SQCSim2021/SQCSim2021.vcxproj @@ -21,6 +21,7 @@ + @@ -37,6 +38,7 @@ + @@ -105,23 +107,23 @@ true - external\glew170\include;external\devil178\include;external\sfml23\include;$(IncludePath) - external\glew170\lib;external\devil178\lib;external\sfml23\lib;$(LibraryPath) + D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\include;external\glew170\include;external\devil178\include;external\sfml23\include;$(IncludePath) + external\glew170\lib;external\devil178\lib;external\sfml23\lib;$(LibraryPath);D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\lib\Win32-visualStudio true - external\devil178\include;external\sfml23\include;$(IncludePath) - external\devil178\lib;external\sfml23\lib;$(LibraryPath) + D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\include;external\devil178\include;external\sfml23\include;$(IncludePath) + external\devil178\lib;external\sfml23\lib;$(LibraryPath);D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\lib\Win32-visualStudio false - external\sfml23\include;external\devil178\include;external\glew170\include;$(IncludePath) - external\sfml23\lib;external\devil178\lib;external\glew170\lib;$(LibraryPath) + D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\include;external\sfml23\include;external\devil178\include;external\glew170\include;$(IncludePath) + external\sfml23\lib;external\devil178\lib;external\glew170\lib;$(LibraryPath);D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\lib\Win32-visualStudio false - external\sfml23\include;external\devil178\include;external\glew170\include;$(IncludePath) - external\sfml23\lib;external\devil178\lib;external\glew170\lib;$(LibraryPath) + D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\include;external\sfml23\include;external\devil178\include;external\glew170\include;$(IncludePath) + external\sfml23\lib;external\devil178\lib;external\glew170\lib;$(LibraryPath);D:\Repos\SQCSim2021\SQCSim2021\external\irrKlang-1.6.0\lib\Win32-visualStudio @@ -130,11 +132,12 @@ Level3 Disabled WIN32;_DEBUG;_CONSOLE;NOMINMAX;%(PreprocessorDefinitions) + stdcpp17 Console true - sfml-main-d.lib;sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;glew32.lib;%(AdditionalDependencies) + irrKlang.lib;sfml-main-d.lib;sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;glew32.lib @@ -144,11 +147,12 @@ Level3 Disabled WIN32;_DEBUG;_CONSOLE;NOMINMAX;%(PreprocessorDefinitions) + stdcpp17 Console true - sfml-main-d.lib;sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;%(AdditionalDependencies) + irrKlang.lib;sfml-main-d.lib;sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;glew32.lib @@ -160,13 +164,14 @@ true true WIN32;NDEBUG;_CONSOLE;NOMINMAX;%(PreprocessorDefinitions) + stdcpp17 Console true true true - sfml-main.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;%(AdditionalDependencies) + irrKlang.lib;sfml-main.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;%(AdditionalDependencies);winmm.lib;mmsystem.lib @@ -178,13 +183,14 @@ true true WIN32;NDEBUG;_CONSOLE;NOMINMAX;%(PreprocessorDefinitions) + stdcpp17 Console true true true - sfml-main.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;%(AdditionalDependencies) + irrKlang.lib;sfml-main.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;GlU32.Lib;OpenGL32.Lib;DevIL.lib;ILU.lib;ILUT.lib;%(AdditionalDependencies);winmm.lib;mmsystem.lib diff --git a/SQCSim2021/SQCSim2021.vcxproj.filters b/SQCSim2021/SQCSim2021.vcxproj.filters index 16bfb28..875278b 100644 --- a/SQCSim2021/SQCSim2021.vcxproj.filters +++ b/SQCSim2021/SQCSim2021.vcxproj.filters @@ -59,6 +59,9 @@ Fichiers d%27en-tĂȘte + + Fichiers d%27en-tĂȘte + @@ -97,6 +100,9 @@ Fichiers sources + + Fichiers sources + diff --git a/SQCSim2021/audio.cpp b/SQCSim2021/audio.cpp new file mode 100644 index 0000000..e768842 --- /dev/null +++ b/SQCSim2021/audio.cpp @@ -0,0 +1,14 @@ + #include "audio.h" + +Audio::Audio() { m_WavEngine = irrklang::createIrrKlangDevice(); } + +Audio::~Audio() { m_WavEngine->drop(); } + +bool Audio::GetState() const { return m_state; } + +void Audio::SetState(bool state) { + if (state) + m_WavEngine->play2D(AUDIO_PATH "music01.wav", true); + else m_WavEngine->stopAllSounds(); + m_state = state; +} diff --git a/SQCSim2021/audio.h b/SQCSim2021/audio.h new file mode 100644 index 0000000..332d5f5 --- /dev/null +++ b/SQCSim2021/audio.h @@ -0,0 +1,22 @@ +#ifndef AUDIO_H__ +#define AUDIO_H__ + +#include +#include "define.h" + +class Audio { +private: + irrklang::ISoundEngine* m_WavEngine; + bool m_state = false; + +public: + Audio(); + ~Audio(); + + bool GetState() const; + + void SetState(bool state); + +}; + +#endif // AUDIO_H__ \ No newline at end of file diff --git a/SQCSim2021/define.h b/SQCSim2021/define.h index 711b143..afed738 100644 --- a/SQCSim2021/define.h +++ b/SQCSim2021/define.h @@ -20,8 +20,10 @@ typedef uint8_t BlockType; enum BLOCK_TYPE { BTYPE_AIR, BTYPE_DIRT, BTYPE_GRASS }; + #define TEXTURE_PATH "../SQCSim2021/media/textures/" #define SHADER_PATH "../SQCSim2021/media/shaders/" +#define AUDIO_PATH "../SQCSim2021/media/audio/" #define VIEW_DISTANCE 128 #endif // DEFINE_H__ diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index a2d54b1..463e79d 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -46,6 +46,9 @@ void Engine::Init() // Objet de skybox avec sa propre texture et son propre shader! m_skybox.Init(0.00013f); + // Objet de musique! + m_music.SetState(true); + // Init testChunk for (int x = 0; x < CHUNK_SIZE_X; ++x) { for (int z = 0; z < CHUNK_SIZE_Z; ++z) { @@ -111,7 +114,7 @@ void Engine::Render(float elapsedTime) all.Use(); m_shader01.Use(); m_textureFloor.Bind(); - float nbRep = 5.f; + float nbRep = 10.f; glBegin(GL_QUADS); glNormal3f(0, 1, 0); // Normal vector glTexCoord2f(0, 0); @@ -190,6 +193,7 @@ void Engine::KeyPressEvent(unsigned char key) break; case 24: // Y - Ignorer case 255: // Fn - Ignorer + case 12: // M - Ignorer break; default: std::cout << "Unhandled key: " << (int)key << std::endl; @@ -199,6 +203,9 @@ void Engine::KeyPressEvent(unsigned char key) void Engine::KeyReleaseEvent(unsigned char key) { switch (key) { + case 12: + m_music.SetState(!m_music.GetState()); + break; case 24: // Y m_wireframe = !m_wireframe; if (m_wireframe) diff --git a/SQCSim2021/engine.h b/SQCSim2021/engine.h index bc462ec..2d454b9 100644 --- a/SQCSim2021/engine.h +++ b/SQCSim2021/engine.h @@ -8,6 +8,7 @@ #include "player.h" #include "chunk.h" #include "skybox.h" +#include "audio.h" class Engine : public OpenglContext { @@ -41,6 +42,8 @@ private: Skybox m_skybox; Shader m_shader01; Chunk m_testChunk; + Audio m_music; + Player m_player = Player(Vector3f(0, 0, 0)); bool m_keyW = false; diff --git a/SQCSim2021/external/irrKlang-1.6.0/changes.txt b/SQCSim2021/external/irrKlang-1.6.0/changes.txt new file mode 100644 index 0000000..157dde9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/changes.txt @@ -0,0 +1,780 @@ + +irrKlang 1.6 + +- stopped support for .NET 1.1, please use the versions for .NET 2 or .NET 4 instead, + or an older version of irrKlang if you still need .NET 1 support + +- irrKlang for .NET 4 now needs version 4.5 at miminum + +- there is now a new function stopAllSoundsOfSoundSource() to stop all sounds of a specific sound source + +- irrKlang.NET for .NET 4 now also has a strong name (it is now a signed assembly) + +- irrklang for gcc now supports gcc 5.1 + +- irrKlang 1.5 for windows was depending on the MSVC runtime dll, this is now + no longer the case with irrKlang 1.6 + +- fixed a bug causing duplicated DirectSound buffers to share the playbackSpeed sometimes, causing + some sounds to have a wrong frequency when played. + +- fixed update() problem in single threaded mode + if you run irrKlang in single threaded mode, you can now call irrKlang::update as often and + fast as you want. This was supposed to be called only about once every second prevousliy, and + could cause irrklang to stall previously if called too often. + +- added support for Visual Studio 2017 + + +------------------------------------------------------------------------ + +irrKlang 1.5 + +- Added support for unicode file names. + irrKlang now uses UTF8 internally on all operating systems. If you are running it on Windows, and want to use + wchar_t types, you can use the irrKlang provided function makeUTF8fromUTF16string() to convert your wchar_t* string to + a char* string. + In the .NET version of irrKlang, the API hasn't changed, but irrklang now supports unicode + file names there automatically as well. + +- Added 64 bit support. + There is now a separate irrKlang SDK for 64 bit builds + +- Added support for playing back 24 bit flac files + +- Uses less resources on linux now: PCM handles are now closed as soon as possible, freeing resources much earlier. + +------------------------------------------------------------------------ + + +irrKlang 1.4.1 + +- irrKlang now loads the alsa lib from the correct directory on previously unsupported linux systems. + +------------------------------------------------------------------------ + +irrKlang 1.4.0 + +- Fixed a potential crash in the windows version, when using DirectSound8 + +- Improved speed of the Windows version of irrKlang by about 20% + +- irrKlang now also works with newer Linux distributions (like Ubuntu 12), + which moved the ALSA lib file into a new directory. + +- Cleared up some inconsistencies in the documentation + +- Removed a very small memory leak in Linux and Mac OS X + +--------------------------------------------------------------------- + +irrKlang 1.3.0b + +- Added support for .NET framework 4. + +- Fixed a problem with audio recording: GUIDs were not correctly + decoded for some devices, causing manual device selection to fail + on Windows. + +--------------------------------------------------------------------- + +irrKlang 1.3.0 + +- There is now the possibility to capture the mixed output audio data + from irrKlang, using the ISoundMixedOutputReceiver interface. + Can be used to store the sound output as .wav file or for creating + an Oscillograph and similar. + +- The movement speed of 3d sound listeners has been ignored in previous + releases for 3d sound doppler effects, this has been corrected now. + +- irrKlang now also runs on 64 bit linux systems. It previously + looked for the alsa lib in /usr/lib/libasound.so, but on 64 bit + system this is located in /usr/lib32/libasound.so. This is fixed now. + +--------------------------------------------------------------------- + +irrKlang 1.2.0 + +- Added .flac file playback support. Implemented as plugin, ikpFlac.dll. + +- Fixed a bug causing the volume of 3D sounds not to be set correctly + when using DirectSound8 and playing more than one 3D sound of the + same file at the same time. + +- File formats with unknown extensions are now loaded by Plugins only + if they could not be loaded by the internal decoders. + +- Several API documentation updates and improvements. + +- C++ documentation now has search functionality + +- Replaced .chm documentation files now with plain .html files + +----------------------------------------------------------------------- + +irrKlang 1.1.3c + +- [This update only changes the implementation, the interfaces all remain the + same, so only the irrKlang.dll file needs to be replaced since version 1.1.3.] + +- Fixed a bug causing irrKlang to crash when playing looped, streamed sounds in 3D + under special circumstances. + +----------------------------------------------------------------------- + +irrKlang 1.1.3b + +- [This update only changes the implementation, the interfaces all remain the + same, so only the irrKlang.dll file needs to be replaced since version 1.1.3.] + +- Small bug fix for the DirectSound drivers: Looped streamed sounds sometimes + restarted with a small pause (~10 ms) in between. + +- The ISound and ISoundSource classes in irrKlang.NET now implement the + IDisposable interface, so it is now easily possible to free their resources + manually. + +- The .NET version now uses less memory (earlier unmanaged resource disposal). + +----------------------------------------------------------------------- + +irrKlang 1.1.3 + +- Added support for multichannel audio recording. When starting audio recording using + startRecordingBufferedAudio() or startRecordingCustomHandledAudio(), + set the new last parameter to the amount of channels you want to record audio data. + +- Reduced latency of the Linux version (ALSA). + +- Improved Mac OS X performance (CoreAudio), irrKlang now performs better on computers + with slow hardware. + +- Added two VisualBasic.NET examples + +- ForcedStreamingThreshold property of ISound now also available in + the .NET verion of irrKlang. + +- IAudioRecoder::IsRecording now returns the correct value in the .NET + version of irrKlang. + +- IAudioRecorder now correctly returns a SampleFormat data with a lenght of 0 if + nothing has been recorded before. + +- In irrKlang.NET, IAudioRecorder.RecordedAudioData does not throw an + OutOfMemoryException anymore if nothing has been recorded yet. + +- ISoundSource::getForcedStreamingForceThreshold has been renamed to + ISoundSource::getForcedStreamingThreshold + +----------------------------------------------------------------------- + +irrKlang 1.1.2b + +- Added support for (external) multichannel sound hardware on MacOSX. + +----------------------------------------------------------------------- + +irrKlang 1.1.2 + +- Added support to play back 24 bit wave files. + +- The DirectSound drivers now use more aggressive sound buffer sharing, + causing irrKlang to use a lot less memory and also speeding it up a lot + when playing a lot of big sounds. + +- There is now a way to access the internal used audio interfaces (ALSA, DirectSound, + DirectSound8, WinMM, CoreAudio) using ISoundEngine::getInternalAudioInterface(). + +- There are now two .NET versions of irrKlang available, one for the .NET CLR 1.1 + and one for .NET CLR 2.0 (.NET Framework 2, 3 and 3.5). Of course, you can still + use every version with every project, this is mainly to reduce the size of installers. + See details in readme.txt + +- It is now possible in the .NET version to access the decoded sample audio data of + non-streamed sounds using ISound.SampleData + +- It is now possible in the .NET version to access the recorded audio data directly + using IAudioRecorder.RecordedAudioData + +- Fixed a bug in the .NET version of the method EnableCompressorSoundEffect() + which totally skrewed up its parameters. + +- Fixed a bug causing the AudioRecorder only to work for one recording session + in DirectSound. + +- Fixed a bug causing the irrklang DirectSound driver to start playing the sound when + it changing its 'looped' flag when the sound is paused. + +- There is now a new example for C# available which shows how to use irrKlang with + Windows.Forms. + +- The forced streaming treshold has been adjusted to 2MB + +- Fixed some documentation mistakes in ISoundEngine::addSoundSourceFromPCMData + +----------------------------------------------------------------------- + +irrKlang 1.1.0 + +- Several speed optimizations and memory usage improvments. + +- It is now possible to directly access the decoded PCM sample data of + every loaded sound source. + Use ISoundSource::getSampleData() for this. + +- Fixed a bug causing the UserData object and other resources not to be garbage + collected when using ISoundStopEventReceiver in the .NET version of irrKlang. + +- Fixed a bug causing the sudden end of sound loops under very rare circumstances. + +- The 'Could not init COM' warning was senseless and has been removed. + +----------------------------------------------------------------------- +irrKlang 1.0.4 + +- irrKlang is now able to record audio. Use createIrrKlangAudioRecorder() to create an + audio recorder object. It currently only works in Windows and with DirectSound (subject to change). + +- A new method ISoundEngine::addSoundSourceFromPCMData() now adds to possibility to use sound + source from pure PCM data. + +- The three method overloads of addSoundSource() have now been renamed to + addSoundSourceFromFile(), addSoundSourceFromMemoryFile(), and addSoundSourceAlias(). + +----------------------------------------------------------------------- +irrKlang 1.0.3 + +- irrKlang now supports Power PCs (PPC). All features and file formats except + Module playback (.mod, .it, .xm, .s3m) are now supported on this platform. + +- There is now a function to enumerate available audio devices. Select a device ID from this list to + let irrKlang use a specific audio device. You can create this list using + irrklang::ISoundDeviceList* list = createSoundDeviceList(); + or in .NET (C#): + IrrKlang.ISoundDeviceList list = new IrrKlang.ISoundDeviceList(); + +- The sound stop event receiver now has an additional parameter, describing the reason why the + sound has been stopped. The signature of the method is now + virtual void OnSoundStopped(ISound* sound, E_STOP_EVENT_CAUSE reason, void* userData) = 0; + or in .NET (C#): + public void OnSoundStopped(IrrKlang.ISound sound, IrrKlang.StopEventCause reason, object userData); + +- irrKlang.NET is now a signed assembly to work around some security hassle Microsoft introduced on Vista. + +- On newer linux versions (such as Ubuntu 7.10), irrKlang sometimes would play sound too fast or with + a lot of noise, this is repaired now. + +- The Linux version of irrKlang shared object file is now named + libirrKlang.so instead of previously irrKlang.so + +- ALSA driver latency highly improved + +- IrrKlang.NET now supports retrieving the audio format of a sound, using ISoundSource::AudioFormat. + +- IrrKlang can now optionally be told which sound device to use for sound output. In addition using + this feature, it is now possible to define an ALSA device name to be used for alsa output when calling + createIrrKlangDevice(). + +- irrKlang ignored the new flag ESEO_PRINT_DEBUG_INFO_TO_STDOUT on unix based operation systems, + this is fixed now. + +----------------------------------------------------------------------- +irrKlang 1.0.2 + +- Breaking interface changes: + - All interfaces are now located in one single, new namespace named 'irrklang'. + - vector3df is now named vec3df + - IReadFile is now named IFileReader + - IReferenceCounted is now named IRefCounted and IVirtualReferenceCounted now IVirtualRefCounted + - primitive types now have the prefix ik_ + - all header files have now the prefix ik_ + - IFileFactory::createAndOpenFile() is now named createFileReader(). + These changes where necessary to simplify and clean up the interface, as well as to make irrklang independent + of future changes of the Irrlicht Engine. + +- It is now possible to change the play position of a sound using ISound::setPlayPosition(). + +- Software devices such as ALSA, WinMM and CoreAudio also support teh setPlaybackSpeed() functionality now. + +- Max values of 3D sound now behave differently: They won't mute the sound anymore when + the max distance is reached. This should not affect if you set your 3D sound min/max values + correctly before: The audible radius of a sound is only influenced by the minimum value, + the maximum should be set to a extremely high value usually (such as 1mio) which is the + default. If the maximum value is set to a small value, the sound won't attenuate anymore + after this distance and stay audible from then on. + In short: In nearly all cases, it is not necessary to change the max value of the sound + if not in linear rolloff mode. Details can be found in the documentation. + +- It is now possible to retrieve the audio format of sound sources. Informations + like channel count (mono/stereo), frame count, sample rate, etc are possible to + be retrieved using ISoundSource::getAudioFormat() + +- The internals of irrKlang has been refactored: irrKlang.dll/.so/.dylib files are now smaller, use + an improved thread locking mechanism and should run a bit faster. + +- irrKlang now supports a RollOff factor for 3D sounds. Use ISoundEngine::setRolloffFactor() for this. + +- it is now possible to get the name of the used sound driver by calling ISoundEngine::getDriverName(); + +- irrKlang now only prints status messages to stdout if ESEO_PRINT_DEBUG_INFO_TO_STDOUT was set when + creating the device (which is the default). + +- There is a new example application included in the SDK: A music player. + +- ISound::getPlayPosition() didn't return 100% accurate positions in all cases, this is fixed now. + +- irrKlang won't touch files anymore for preloading when streaming was specified. + +- ISoundSource::getIsSeekingSupported() now returns if the sound supports seeking using + ISound::setPlayPosition(). + +- Fixed a problem with 3D sounds: On some sound boards on windows operating systems older than Vista, + the 3D sound would not stop at the maximum 3D distance when using DirectSound. + +- Using ISoundEngine::setDefault3DSoundMaxDistance() had a small bug, which caused the max distance + not to work in all cases, this is fixed now. + +----------------------------------------------------------------------- +irrKlang 1.0.1 + +- Removed the deprecated header ESoundEffects.h + +- Fixed a rarely happening bug causing irrKlang to crash when stopping streamed sounds in the software devices + at disadvantageous times. + +- Fixed a rarely happening bug which could have caused a deadlock when stopping a huge + amount of streamed at the same time sounds. + +- Documentation fixes + +----------------------------------------------------------------------- +irrKlang 1.0 + +- Added ISound::setIsLooped(), to make it possible to change the loop mode of sounds during runtime. + +- It is now possible to preload sounds when using the addSoundSource() method, by + setting the parameter 'preload' to true. If this flag is set to false (which is default) + the sound engine will not try to load the sound file when calling this method, + but only when play() is called with this sound source as parameter. + +- Plugins can now be loaded manually from a custom path using ISoundEngine::loadPlugins(); + +- The listener position is now set to a default value when starting up irrKlang. + Previously, when playing 3D sounds without changing or setting the listener position at all, + 3D sounds would sound differently based on the chosen audio driver. + +- Fixed a bug of the Linux version of irrKlang, causing ALSA to crash on + some very few systems (known as the '!snd_interval_empty(i)'-problem). + +- Resampling mono sounds in all devices except directSound (it was ok there already) + now uses only half the memory as before. + +- To reduce name clashes with the windows headers for people not using namespaces, + the Interface IUnknown has been renamed to IRefCounted. + +- IrrKlang can now be used easily together with the latest 6 versions of + Irrlicht (header compatibility). + +- Fixed a small bug in the .NET version which could return 'false' instead of 'true' under + special circumstances when calling isCurrentlyPlaying() (Microsoft compiler bug). + +- The documentation has been updated and extended with lots of examples. + +- Examples now also include project files for visual studio 6.0 + +----------------------------------------------------------------------- +irrKlang 1.0-RC1 + +- irrKlang now supports MacOSX, using CoreAudio. + There is a new sound output driver enumeration literal, named ESOD_CORE_AUDIO, which + will be chosen automaticly when using ESOD_AUTO_DETECT on MacOsX. + Please note that irrKlang is a universal binary for both x86 and ppc, but + only x86 hardware is supported yet, altough some few features might work with the + ppc irrKlang version. + +- This version is release candiate 1 for version 1.0. There are now known bugs in irrKlang + currently, and if no major bugs will be found, version 1.0 will be released after some time. + We are already working on new user requested features which will be integrated after the + 1.0 release. + +- irrKlang.NET is now able to override the file access just like the C++ version. There is + a tutorial in examples.net\CSharp.04.OverrideFileAccess demonstrating this. + Use IFileFactory with ISoundEngine::addFileFactory for this. + +- Added a method to irrKlang.NET, making it possible to add System::IO::Streams as sound + sources. Note that the stream is totally read into memory when adding the sound source. + If you want irrKlang to dynamically open and close custom file streams without loading + everything into memory, use the addFileFactory with your own IFileFactory implementation. + +- Documentation improvements for the .NET version. + +----------------------------------------------------------------------- +irrKlang 0.9.1 + +- License change: All of the irrKlang Pro features (except static linking and signed assembly) + are now available for non-commercial use too. Please take a closer look at the new + license and the website for details. + The license was changed because of lots of user requests, so that free and open + source projects are now able to use irrKlang pro's features as well. To compensate this, + this means that irrKlang is no more free for commercial use. + +- Mp3 files with ID3 v2 or later tags in it have not been played correctly in irrKlang, this is + fixed now. + +- It is now possible to add sound source aliases for an existing sound source. + This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. + Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances. + Use the now existing third overload of ISoundEngine::addSoundSource() which takes another + sound source as parameter for this. + +- added ISound::PlayLength property to irrKlang.NET to retrieve the length of sounds in milliseconds. + +- irrKlang.NET now needs a lower amount of memory every time a sound is played and also + frees the memory used by these sounds earlier. + +- irrKlang.NET now supports sound sources just as the irrKlang C++ version does, + which means better access and possibility to influence sounds. + +- irrKlang.NET now also supports default 3D min and max distances. + +- irrKlang.NET now supports playing sounds directly from custom memory areas, + byte arrays (byte[]). Use ISoundEngine.addSoundSource(yourMemoryArray, someName) for this. + +- Using irrKlang.NET, streamed sound files have not been closed on some systems. This is fixed now. + +- It is now possible to set the wanted stream mode for sound sources using + ISoundSource::setStreamMode(). + +- Reduced the file size of the irrKlang library again a bit. + +- There are two new tutorials for irrKlang.NET in C# available now. + +----------------------------------------------------------------------- + +irrKlang 0.9 + +- irrKlang is now available in two editions: + - irrKlang which is still free, also for commercial use + - irrKlang Pro, for a small license fee (see details on http://ambiera.com) + Some of the new features added in this version are only available in + irrKlang Pro (see website for details). The 'pro' features can be accessed + and tested with the free version as well, but the audio engine will start playing + additional sounds (female voice saying 'irrKlang pro') from time to time once + a pro feature has been used. + +- irrKlang now supports DirectSound8 as additional sound output driver. + Note that the E_SOUND_OUTPUT_DRIVER enumeration has a new member now: + ESOD_DIRECT_SOUND_8. The ESOD_DIRECT_SOUND is still available. + +- Doppler effects are now supported (with the DirectSound drivers at least). + Use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() + to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to + adjust two parameters influencing the doppler effects intensity. + +- There are now sound stop events: Events which are called when a sound has finished + playback. Use the new interface ISoundStopEventReciever for this. + The interface has only one method to be implemented by the user: OnSoundStopped(). + Implement this interface and set it via ISound::setSoundStopEventReciever(). + The sound stop event is guaranteed to be called when a sound or sound stream is finished, + either because the sound reached its playback end, its sound source was removed, + ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. + +- Sound effects are now usable when using the ESOD_DIRECT_SOUND_8 + driver (default). Available sound effects are: + - Chorus + - Compressor + - Distortion + - Echo + - Flanger + - Gargle + - 3DL2Reverb + - ParamEq + - WavesReverb + Those effects can be accessed via ISound::getSoundEffectControl(), if the + 'enableSoundEffects' flag was set to true when starting the sound with + play2D() or play3D(). + +- There is now the option to change the play back speed and the frequency + of a sound. Use ISound::setPlaybackSpeed() for this. + +- It is now possible to set a default volume for every sound source via + ISoundSource::setDefaultVolume(). + +- There is now a statically linkable version of irrKlang available (currently + windows and irrKlang pro only). + Just #Define IRRKLANG_STATIC in your project settings or before including the + irrKlang headers to use the static lib version of irrKlang. + Note that you need to use multi threaded runtime libraries in your project + when using irrKlang as static lib, other wise you will get linker errors + (like "__getmbcp already defined in LIBC.lib(mbctype.obj)") or random crashes. + In Visual Studio, this setting can be found in + Project Settings -> C++ -> Code Generation -> Runtime Library. + +- Memory sound sources are now copied by default, so the memory block can be discarded after + calling ISoundEngine::addSoundSource(). There is a new parameter 'copyMemory' which + can be set to false to make the engine use the old, non memory copying behavior. + +- ISoundEngine::getSoundSource() now has a second parameter making it possible + to only retrieve a already added sound source without loading it. + +- There is a new example available showing how to use sound effects. + +- Refactored a lot of internal code, reducing the file size of the + irrKlang binaries. + +- Fixed a possible synchronization problem (possible crash) + +----------------------------------------------------------------------- + +irrKlang 0.8.1 + +- There was a serious bug in the WAV file reader which read over the end of files, + when streamed, causing a short 'click' sound. Fixed now. + +- 8 Bit sound streams don't produce a click when stopped anymore. + +- Audio stream readers which report a wrong amount of frames in the stream now + don't get clipped before playing the end of the sound anymore. + +----------------------------------------------------------------------- + +irrKlang 0.8 + +- There are now two ways to set default min and max distances for 3D sounds: + ISoundEngine::setDefault3DSoundMinDistance(), ISoundEngine::setDefault3DSoundMaxDistance + for global min/max control, as well as + ISoundSource::setDefaultMinDistance(), ISoundSource::setDefaultMaxDistance(). + to influence the default min/max value based on the sound source. + +- Some documentation updates + +- The short 'click'/'pop' sound which sometimes has been played on streamed, non looped sounds + when using the DirectSound device is now removed. + +- The ALSA driver now also works with sound hardware not supporting power of two buffer sizes. + +- License change: irrKlang.so file may also be redistributed. + +----------------------------------------------------------------------- + +irrKlang 0.7 + +- Added possibility to remove sound sources (selective or all at once). + See ISoundEngine::removeSoundSource() (two overloads) and + ISoundEngine::removeAllSoundSources(). + +- There is now the possibility to get the length of any sound source or playing sound. + See ISound::getPlayLength() and ISoundSource::getPlayLength(). + +- Resources of finished played sounds are now freed much earlier, causing smaller memory usage. + +- When stream playback is paused, the play position returned by ISound::getPlayPosition() + won't advance forward anymore in DirectSound, this was a bug which is now fixed. + +- Fixed a bug which caused ISound::isFinished() to be returned incorrect values when + using the DirectSound driver. + +- Fixed a bug causing a wrong value being reported using getPlayPosition() when playing + very long streams using the WinMM or the ALSA driver. + +----------------------------------------------------------------------- + +irrKlang 0.6 + +- There are some new supported file formats: MOD, XM, IT and S3M. Implemented using the + excellent Dynamic Universal Music Bibliotheque. + +- irrKlang now is available for .NET languages (C#, VisualBasic.NET, + IronPhyton, Boo, Delphi.NET etc). + See /bin/dotnet for the binary, and /examples.net for some examples. + +- irrKlang now chooses sound drivers in a more intelligent way when running in + driver auto detect mode (ESOD_AUTO_DETECT). + For example when DirectSound is available but fails starting up (for whatever reason), + irrKlang will select the winMM driver instead of not playing any sound. + +- It is now possible to influence or disable the threshold where irrKlang desides + to stream a file regardless of the user specified setting. + Use ISoundSource::setForcedStreamingThreshold for this. + +- irrKlang is now compatible with Irrlicht 1.3, the IFileReader interface has been + updated. Meaning you can use the same IFileReader interfaces between those two + engines and for example make irrKlang read files using Irrlicht's file system. + +- irrKlang now needs even less memory when playing a lot of short soundfiles at the same time, + achieved through a nicer internal (de)allocation scheme. + +- When using software 3d sound (using winMM or ALSA), the left and right speaker were swapped. + This is fixed now. + +- Failed COM initialization is now only a warning, and irrKlang will not abort with an error. + +- Under some circumstances (bad windows scheduling, cpu intensive applications etc) it could + happen that looped, streamed sound filed played via DirectSound in irrKlang would play + strange noises after the first repeat. This has been corrected now. + +- On some hardware under Linux, irrKlang wasn't able to set the wanted buffer size, + this has been improved now. + +- Removed a bug causing visual studio 2005 projects not to compile when using irrKlang without + a WIN32 define. + +----------------------------------------------------------------------- + +irrKlang 0.5 + +- Linux is now supported as platform. irrKlang uses ALSA as output target here by default. + +- irrKlang now supports winMM as output driver next to DirectSound in Windows. + +- added a new method to pause/unpause all sounds: + ISoundEngine::setAllSoundsPaused( bool bPaused = true ) + +- The flag ESEO_LOAD_PLUGINS now correctly prevents loading of plugins if + not set. This was not working before. + +- ISoundEngine::stopAllSounds() didn't work with the DirectSound output driver correctly, + this has been corrected now. + +- irrKlang can now be used as static lib. Just #Define IRRKLANG_STATIC in your project + settings or before including the irrKlang headers to use the static lib version + of irrKlang. Note that you need to use multi threaded runtime libraries in your project + when using irrKlang as static lib, other wise you will get linker errors + (like "__getmbcp already defined in LIBC.lib(mbctype.obj)") or random crashes. + In Visual Studio, this setting can be found in + Project Settings -> C++ -> Code Generation -> Runtime Library. + (If the static library isn't released in this package it may come as separate archive) + +----------------------------------------------------------------------- + +irrKlang 0.4 + +- Added support for the GCC compiler + +- Added the possibility to load sounds directly from memory. + For this, two overloaded methods to the ISoundEngine interface have been added: + ISoundSource* addSoundSource(void* memory, ik_s32 sizeInBytes, const ik_c8* soundName); + ISoundSource* addSoundSource(const ik_c8* fileName, E_STREAM_MODE mode=SM_AUTO_DETECT); + +- Added possibility to override file access easily. + +- Added two tutorials: MemoryPlayback and OverrideFileAccess. + +- Added support for the Code::Blocks IDE + +- Removed streamMode parameter from getSoundSource(). If you needed this, please use + addSoundSource() now instead. + +- Sounds are now loaded correctly independent of their file extension. + +- irrKlang no longer crashes if more than one instance of it is created. + +----------------------------------------------------------------------- + +irrKlang 0.3 + +- Added the option to play mp3 files. This functionality is available as plugin and + works when the file ikpMP3.dll is available. Simply remove it if you don't want + or need mp3 support for your software. Please note that if you are using mp3 + files in your application, you might need to pay a license fee to Thompson for + their patent (This is nothing irrKlang specific, every application needs to do + this today if Thompson wants it to.) + The ikpMP3.dll decoder is available as full source in the \plugins directory + and licensed under the LGPL. + +- Added plugin support. Create a .dll which starts with ikp (for IrrKlangPlugin) + including a function looking like this: + __declspec(dllexport) void __stdcall irrKlangPluginInit( + ISoundEngine* engine, const char* version) { // your code here } + irrKlang will load the dll and invoke that function. There is an example plugin + with full source code in the \plugins directory which enhances irrKlang + to decode mp3 files. + +- IrrKlang now supports 3D buffers (enabled by default). Previously, they have been + emulated. By not specifying the ESEO_USE_3D_BUFFERS flag when calling + createIrrKlangDevice(), irrKlang will not use 3D buffers. + +- Added the possibility to write debug info to any windows debugger supporting + OutputDebugString() (like VisualStudio). This is pretty useful if your application + does not capture any console output. Use ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER to + enable this feature when calling createIrrKlangDevice(). + +- irrKlang now supports multiple rolloff models. 3D sounds are now played back with + a logarithmic rolloff by default. In previous versions, irrKlang used a linear rolloff + model. Use ESEO_LINEAR_ROLLOFF when calling createIrrKlangDevice() to switch + to the linear rolloff model. + +- The createIrrKlangDevice() function now accepts several options as flags. Note that + the C++ compiler automaticly converts bools to this flags so if you used a previous + version of the engine you might want to check if your parameters are correctly set. + +- Added the method ISound::getPlayPosition() which returns the current play position of + the sound in milliseconds. + +- Fixed a possible crash when stopping a streamed sound manually at the same time + it also stopped automaticly. + +- Fixed playback of looped streamed sounds causing artifacts under several circumstances. + +----------------------------------------------------------------------- + +irrKlang 0.2 + +- Fixed 3d positioning of sounds + +- Fixed a bug in ik_ISound.h causing irrKlang header not to compile with some strict compiler settings. + +- Added some internal performance improvements + +----------------------------------------------------------------------- + +irrKlang 0.1 + +Initial release. + +Although this is the first release, irrKlang already has some features: + +- Support for .WAV and .OGG files (MP3, FLAC, SPEEX support planned and +coming soon) + +- Buffered and streamed audio playback + +- Seamless 2D and 3D audio: It is possible to play short simple stereo +sounds as well multiple large streamed sound files in 3D space at the +same time for example. + +- High level autodetection: The engine can do everything for you. Just +tell it to play a sound file, and it will load, cache and/or stream +sound data for you automaticly, depending on what is best for +performance and memory usage. But if you want to specify how the engine +should handle this, you can specify this as well. + +- Extendable: Possibility to write own file format readers/decoders to +extend the engine with it. + +- Multi/Singlethreaded modes: The engine can run both multithreaded or +singlethreaded in the same thread as your application, to make it +possible to debug your application easier for example. + +- Low level audio output manipulation: Before starting to play a sound +or even during it is already playing, it is possible of course to alter +any aspect of it like panning, volume and 3d position. + +- Fast 3D audio on low end hardware: Because some low end audio hardware +is not able to play 3D sounds without significant performance loss or +some don't support 3d audio buffers at all, irrEdit has a high +performance 3d sound buffer emulator built-in, causing a sound +experience nearly as it was a real 3d sound buffer. + +- Separate music and sound control: As most applications want to +separate between sound and music playback, the engine offers to control +them separately, like for example via a master volume control. No need +to manage alls your playing sounds just to change the volume of all +sounds. (The control of the 'music' part in the API is not available in +version 0.1 yet, but can be used via normal sounds already) + +- Full playback control: Play any sound and forget about it if you want. +Then later, you can query at any time which sound is currently playing +and influene this if you want. + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/annotated.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/annotated.html new file mode 100644 index 0000000..6ad80c5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/annotated.html @@ -0,0 +1,99 @@ + + + + + +irrKlang: Class List + + + + + + + + + +
+

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + + + + + + + + + + + + + + + + + + +
irrklang::IAudioRecorderInterface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function
irrklang::IAudioStreamReads and decodes audio data into an usable audio stream for the ISoundEngine
irrklang::IAudioStreamLoaderClass which is able to create an audio file stream from a file
irrklang::ICapturedAudioDataReceiverInterface to be implemented by the user if access to the recorded audio data is needed
irrklang::IFileFactoryInterface to overwrite file access in irrKlang
irrklang::IFileReaderInterface providing read acess to a file
irrklang::IRefCountedBase class of most objects of the irrKlang
irrklang::ISoundRepresents a sound which is currently played
irrklang::ISoundDeviceListA list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list
irrklang::ISoundEffectControlInterface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound
irrklang::ISoundEngineInterface to the sound engine, for playing 3d and 2d sound and music
irrklang::ISoundMixedOutputReceiverInterface to be implemented by the user, which recieves the mixed output when it it played by the sound engine
irrklang::ISoundSourceA sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings
irrklang::ISoundStopEventReceiverInterface to be implemented by the user, which recieves sound stop events
irrklang::IVirtualRefCountedReference counting base class for objects in the Irrlicht Engine similar to IRefCounted
irrklang::SAudioStreamFormatStructure describing an audio stream format with helper functions
irrklang::SInternalAudioInterfaceStructure for returning pointers to the internal audio interface
irrklang::vec3d< T >3d vector template class for representing vectors and points in 3d
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classes.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classes.html new file mode 100644 index 0000000..251f3e4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classes.html @@ -0,0 +1,85 @@ + + + + + +irrKlang: Alphabetical List + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder-members.html new file mode 100644 index 0000000..7757b4f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder-members.html @@ -0,0 +1,93 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IAudioRecorder Member List

This is the complete list of members for irrklang::IAudioRecorder, including all inherited members. + + + + + + + + + + + + + +
addSoundSourceFromRecordedAudio(const char *soundName)=0irrklang::IAudioRecorder [pure virtual]
clearRecordedAudioDataBuffer()=0irrklang::IAudioRecorder [pure virtual]
drop()irrklang::IRefCounted [inline]
getAudioFormat()=0irrklang::IAudioRecorder [pure virtual]
getDriverName()=0irrklang::IAudioRecorder [pure virtual]
getRecordedAudioData()=0irrklang::IAudioRecorder [pure virtual]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
isRecording()=0irrklang::IAudioRecorder [pure virtual]
startRecordingBufferedAudio(ik_s32 sampleRate=22000, ESampleFormat sampleFormat=ESF_S16, ik_s32 channelCount=1)=0irrklang::IAudioRecorder [pure virtual]
startRecordingCustomHandledAudio(ICapturedAudioDataReceiver *receiver, ik_s32 sampleRate=22000, ESampleFormat sampleFormat=ESF_S16, ik_s32 channelCount=1)=0irrklang::IAudioRecorder [pure virtual]
stopRecordingAudio()=0irrklang::IAudioRecorder [pure virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.gif new file mode 100644 index 0000000..fb2f19d Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.html new file mode 100644 index 0000000..3998265 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_recorder.html @@ -0,0 +1,368 @@ + + + + + +irrKlang: irrklang::IAudioRecorder Class Reference + + + + + + + + + +
+

irrklang::IAudioRecorder Class Reference

+

Interface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function. +More...

+ +

#include <ik_IAudioRecorder.h>

+
+Inheritance diagram for irrklang::IAudioRecorder:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual bool startRecordingBufferedAudio (ik_s32 sampleRate=22000, ESampleFormat sampleFormat=ESF_S16, ik_s32 channelCount=1)=0
 Starts recording audio.
virtual bool startRecordingCustomHandledAudio (ICapturedAudioDataReceiver *receiver, ik_s32 sampleRate=22000, ESampleFormat sampleFormat=ESF_S16, ik_s32 channelCount=1)=0
 Starts recording audio.
virtual void stopRecordingAudio ()=0
 Stops recording audio.
virtual ISoundSourceaddSoundSourceFromRecordedAudio (const char *soundName)=0
 Creates a sound source for the recorded audio data.
virtual void clearRecordedAudioDataBuffer ()=0
 Clears recorded audio data buffer, freeing memory.
virtual bool isRecording ()=0
 Returns if the recorder is currently recording audio.
virtual SAudioStreamFormat getAudioFormat ()=0
 Returns the audio format of the recorded audio data.
virtual void * getRecordedAudioData ()=0
 Returns a pointer to the recorded audio data.
virtual const char * getDriverName ()=0
 returns the name of the sound driver, like 'ALSA' for the alsa device.
+

Detailed Description

+

Interface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function.

+

It creates sound sources into an ISoundEngine which then can be played there. See Recording Audio for an example on how to use this.

+

Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual ISoundSource* irrklang::IAudioRecorder::addSoundSourceFromRecordedAudio (const char *  soundName )  [pure virtual]
+
+
+ +

Creates a sound source for the recorded audio data.

+

The returned sound source pointer then can be used to play back the recorded audio data using ISoundEngine::play2D(). This method only will succeed if the audio was recorded using startRecordingBufferedAudio() and audio recording is currently stopped.

+
Parameters:
+ + +
soundName Name of the virtual sound file (e.g. "someRecordedAudio"). You can also use this name when calling play3D() or play2D().
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::IAudioRecorder::clearRecordedAudioDataBuffer ( )  [pure virtual]
+
+
+ +

Clears recorded audio data buffer, freeing memory.

+

This method will only succeed if audio recording is currently stopped.

+ +
+
+ +
+
+ + + + + + + + +
virtual SAudioStreamFormat irrklang::IAudioRecorder::getAudioFormat ( )  [pure virtual]
+
+
+ +

Returns the audio format of the recorded audio data.

+

Also contains informations about the length of the recorded audio stream.

+ +
+
+ +
+
+ + + + + + + + +
virtual const char* irrklang::IAudioRecorder::getDriverName ( )  [pure virtual]
+
+
+ +

returns the name of the sound driver, like 'ALSA' for the alsa device.

+

Possible returned strings are "NULL", "ALSA", "CoreAudio", "winMM", "DirectSound" and "DirectSound8".

+ +
+
+ +
+
+ + + + + + + + +
virtual void* irrklang::IAudioRecorder::getRecordedAudioData ( )  [pure virtual]
+
+
+ +

Returns a pointer to the recorded audio data.

+

This method will only succeed if audio recording is currently stopped and something was recorded previously using startRecordingBufferedAudio(). The lenght of the buffer can be retrieved using getAudioFormat().getSampleDataSize(). Note that the pointer is only valid as long as not clearRecordedAudioDataBuffer() is called or another sample is recorded.

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::IAudioRecorder::isRecording ( )  [pure virtual]
+
+
+ +

Returns if the recorder is currently recording audio.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::IAudioRecorder::startRecordingBufferedAudio (ik_s32  sampleRate = 22000,
ESampleFormat  sampleFormat = ESF_S16,
ik_s32  channelCount = 1 
) [pure virtual]
+
+
+ +

Starts recording audio.

+

Clears all possibly previously recorded buffered audio data and starts to record. When finished recording audio data, call stopRecordingAudio(). All recorded audio data gets stored into an internal audio buffer, which can then be accessed for example using addSoundSourceFromRecordedAudio() or getRecordedAudioData(). For recording audio data not into an internal audio buffer, use startRecordingCustomHandledAudio().

+
Parameters:
+ + + + +
sampleRate,: Sample rate of the recorded audio.
sampleFormat,: Sample format of the recorded audio.
channelCount,: Amount of audio channels.
+
+
+
Returns:
Returns true if successfully started recording and false if not.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::IAudioRecorder::startRecordingCustomHandledAudio (ICapturedAudioDataReceiver receiver,
ik_s32  sampleRate = 22000,
ESampleFormat  sampleFormat = ESF_S16,
ik_s32  channelCount = 1 
) [pure virtual]
+
+
+ +

Starts recording audio.

+

Clears all possibly previously recorded buffered audio data and starts to record audio data, which is delivered to a custom user callback interface. When finished recording audio data, call stopRecordingAudio(). If instead of recording the data to the receiver interface recording into a managed buffer is wished, use startRecordingBufferedAudio() instead.

+
Parameters:
+ + + + + +
receiver,: Interface to be implemented by the user, gets called once for each captured audio data chunk.
sampleRate,: Sample rate of the recorded audio.
sampleFormat,: Sample format of the recorded audio.
channelCount,: Amount of audio channels.
+
+
+
Returns:
Returns true if successfully started recording and false if not.
+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::IAudioRecorder::stopRecordingAudio ( )  [pure virtual]
+
+
+ +

Stops recording audio.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream-members.html new file mode 100644 index 0000000..25dc102 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream-members.html @@ -0,0 +1,89 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IAudioStream Member List

This is the complete list of members for irrklang::IAudioStream, including all inherited members. + + + + + + + + + +
drop()irrklang::IRefCounted [inline]
getFormat()=0irrklang::IAudioStream [pure virtual]
getIsSeekingSupported()irrklang::IAudioStream [inline, virtual]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
readFrames(void *target, ik_s32 frameCountToRead)=0irrklang::IAudioStream [pure virtual]
setPosition(ik_s32 pos)=0irrklang::IAudioStream [pure virtual]
~IAudioStream()irrklang::IAudioStream [inline, virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.gif new file mode 100644 index 0000000..6b153d4 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.html new file mode 100644 index 0000000..727a97d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream.html @@ -0,0 +1,239 @@ + + + + + +irrKlang: irrklang::IAudioStream Class Reference + + + + + + + + + +
+

irrklang::IAudioStream Class Reference

+

Reads and decodes audio data into an usable audio stream for the ISoundEngine. +More...

+ +

#include <ik_IAudioStream.h>

+
+Inheritance diagram for irrklang::IAudioStream:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + + + + + +

Public Member Functions

virtual ~IAudioStream ()
 destructor
virtual SAudioStreamFormat getFormat ()=0
 returns format of the audio stream
virtual bool setPosition (ik_s32 pos)=0
 sets the position of the audio stream.
virtual bool getIsSeekingSupported ()
 returns true if the audio stream is seekable
virtual ik_s32 readFrames (void *target, ik_s32 frameCountToRead)=0
 tells the audio stream to read frameCountToRead audio frames into the specified buffer
+

Detailed Description

+

Reads and decodes audio data into an usable audio stream for the ISoundEngine.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::IAudioStream::~IAudioStream ( )  [inline, virtual]
+
+
+ +

destructor

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual SAudioStreamFormat irrklang::IAudioStream::getFormat ( )  [pure virtual]
+
+
+ +

returns format of the audio stream

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::IAudioStream::getIsSeekingSupported ( )  [inline, virtual]
+
+
+ +

returns true if the audio stream is seekable

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ik_s32 irrklang::IAudioStream::readFrames (void *  target,
ik_s32  frameCountToRead 
) [pure virtual]
+
+
+ +

tells the audio stream to read frameCountToRead audio frames into the specified buffer

+
Parameters:
+ + + +
target,: Target data buffer to the method will write the read frames into. The specified buffer will be at least getFormat().getFrameSize()*frameCountToRead bytes big.
frameCountToRead,: amount of frames to be read.
+
+
+
Returns:
Returns amount of frames really read. Should be frameCountToRead in most cases.
+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::IAudioStream::setPosition (ik_s32  pos )  [pure virtual]
+
+
+ +

sets the position of the audio stream.

+

For example to let the stream be read from the beginning of the file again, setPosition(0) would be called. This is usually done be the sound engine to loop a stream after if has reached the end. Return true if sucessful and 0 if not.

+
Parameters:
+ + +
pos,: Position in frames.
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader-members.html new file mode 100644 index 0000000..372cf6e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader-members.html @@ -0,0 +1,87 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IAudioStreamLoader Member List

This is the complete list of members for irrklang::IAudioStreamLoader, including all inherited members. + + + + + + + +
createAudioStream(IFileReader *file)=0irrklang::IAudioStreamLoader [pure virtual]
drop()irrklang::IRefCounted [inline]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
isALoadableFileExtension(const ik_c8 *fileName)=0irrklang::IAudioStreamLoader [pure virtual]
~IAudioStreamLoader()irrklang::IAudioStreamLoader [inline, virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.gif new file mode 100644 index 0000000..57bd20d Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.html new file mode 100644 index 0000000..f126989 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_audio_stream_loader.html @@ -0,0 +1,175 @@ + + + + + +irrKlang: irrklang::IAudioStreamLoader Class Reference + + + + + + + + + +
+

irrklang::IAudioStreamLoader Class Reference

+

Class which is able to create an audio file stream from a file. +More...

+ +

#include <ik_IAudioStreamLoader.h>

+
+Inheritance diagram for irrklang::IAudioStreamLoader:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + +

Public Member Functions

virtual ~IAudioStreamLoader ()
 destructor
virtual bool isALoadableFileExtension (const ik_c8 *fileName)=0
 Returns true if the file maybe is able to be loaded by this class.
virtual IAudioStreamcreateAudioStream (IFileReader *file)=0
 Creates an audio file input stream from a file.
+

Detailed Description

+

Class which is able to create an audio file stream from a file.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::IAudioStreamLoader::~IAudioStreamLoader ( )  [inline, virtual]
+
+
+ +

destructor

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual IAudioStream* irrklang::IAudioStreamLoader::createAudioStream (IFileReader file )  [pure virtual]
+
+
+ +

Creates an audio file input stream from a file.

+
Returns:
Pointer to the created audio stream. Returns 0 if loading failed. If you no longer need the stream, you should call IAudioFileStream::drop(). See IRefCounted::drop() for more information.
+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::IAudioStreamLoader::isALoadableFileExtension (const ik_c8 fileName )  [pure virtual]
+
+
+ +

Returns true if the file maybe is able to be loaded by this class.

+

This decision should be based only on the file extension (e.g. ".wav"). The given filename string is guaranteed to be lower case.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver-members.html new file mode 100644 index 0000000..9077d4a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver-members.html @@ -0,0 +1,85 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ICapturedAudioDataReceiver Member List

This is the complete list of members for irrklang::ICapturedAudioDataReceiver, including all inherited members. + + + + + +
drop()irrklang::IRefCounted [inline]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
OnReceiveAudioDataStreamChunk(unsigned char *audioData, unsigned long lengthInBytes)=0irrklang::ICapturedAudioDataReceiver [pure virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.gif new file mode 100644 index 0000000..3db3a07 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.html new file mode 100644 index 0000000..2b50b05 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_captured_audio_data_receiver.html @@ -0,0 +1,147 @@ + + + + + +irrKlang: irrklang::ICapturedAudioDataReceiver Class Reference + + + + + + + + + +
+

irrklang::ICapturedAudioDataReceiver Class Reference

+

Interface to be implemented by the user if access to the recorded audio data is needed. +More...

+ +

#include <ik_IAudioRecorder.h>

+
+Inheritance diagram for irrklang::ICapturedAudioDataReceiver:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + +

Public Member Functions

virtual void OnReceiveAudioDataStreamChunk (unsigned char *audioData, unsigned long lengthInBytes)=0
 Gets called once for each captured audio data chunk.
+

Detailed Description

+

Interface to be implemented by the user if access to the recorded audio data is needed.

+

Is used as parameter in IAudioRecorder::startRecordingCustomHandledAudio.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual void irrklang::ICapturedAudioDataReceiver::OnReceiveAudioDataStreamChunk (unsigned char *  audioData,
unsigned long  lengthInBytes 
) [pure virtual]
+
+
+ +

Gets called once for each captured audio data chunk.

+

See IAudioRecorder::startRecordingCustomHandledAudio for details.

+
Parameters:
+ + + +
audioData,: Pointer to a part of the recorded audio data
lengthInBytes,: Amount of bytes in the audioData buffer.
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory-members.html new file mode 100644 index 0000000..4e78302 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory-members.html @@ -0,0 +1,86 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IFileFactory Member List

This is the complete list of members for irrklang::IFileFactory, including all inherited members. + + + + + + +
createFileReader(const ik_c8 *filename)=0irrklang::IFileFactory [pure virtual]
drop()irrklang::IRefCounted [inline]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
~IFileFactory()irrklang::IFileFactory [inline, virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.gif new file mode 100644 index 0000000..8f7d81d Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.html new file mode 100644 index 0000000..cb0708d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_factory.html @@ -0,0 +1,157 @@ + + + + + +irrKlang: irrklang::IFileFactory Class Reference + + + + + + + + + +
+

irrklang::IFileFactory Class Reference

+

Interface to overwrite file access in irrKlang. +More...

+ +

#include <ik_IFileFactory.h>

+
+Inheritance diagram for irrklang::IFileFactory:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + +

Public Member Functions

virtual ~IFileFactory ()
virtual IFileReadercreateFileReader (const ik_c8 *filename)=0
 Opens a file for read access.
+

Detailed Description

+

Interface to overwrite file access in irrKlang.

+

Derive your own class from IFileFactory, overwrite the createFileReader() method and return your own implemented IFileReader to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::IFileFactory::~IFileFactory ( )  [inline, virtual]
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual IFileReader* irrklang::IFileFactory::createFileReader (const ik_c8 filename )  [pure virtual]
+
+
+ +

Opens a file for read access.

+

Derive your own class from IFileFactory, overwrite this method and return your own implemented IFileReader to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.

+
Parameters:
+ + +
filename Name of file to open.
+
+
+
Returns:
Returns a pointer to the created file interface. The returned pointer should be dropped when no longer needed. See IRefCounted::drop() for more information. Returns 0 if file cannot be opened.
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader-members.html new file mode 100644 index 0000000..56d07e0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader-members.html @@ -0,0 +1,90 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IFileReader Member List

This is the complete list of members for irrklang::IFileReader, including all inherited members. + + + + + + + + + + +
drop()irrklang::IRefCounted [inline]
getFileName()=0irrklang::IFileReader [pure virtual]
getPos()=0irrklang::IFileReader [pure virtual]
getSize()=0irrklang::IFileReader [pure virtual]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
read(void *buffer, ik_u32 sizeToRead)=0irrklang::IFileReader [pure virtual]
seek(ik_s32 finalPos, bool relativeMovement=false)=0irrklang::IFileReader [pure virtual]
~IFileReader()irrklang::IFileReader [inline, virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.gif new file mode 100644 index 0000000..f9d8667 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.html new file mode 100644 index 0000000..d31686d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_file_reader.html @@ -0,0 +1,260 @@ + + + + + +irrKlang: irrklang::IFileReader Class Reference + + + + + + + + + +
+

irrklang::IFileReader Class Reference

+

Interface providing read acess to a file. +More...

+ +

#include <ik_IFileReader.h>

+
+Inheritance diagram for irrklang::IFileReader:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + +

Public Member Functions

virtual ~IFileReader ()
virtual ik_s32 read (void *buffer, ik_u32 sizeToRead)=0
virtual bool seek (ik_s32 finalPos, bool relativeMovement=false)=0
virtual ik_s32 getSize ()=0
virtual ik_s32 getPos ()=0
virtual const ik_c8getFileName ()=0
+

Detailed Description

+

Interface providing read acess to a file.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::IFileReader::~IFileReader ( )  [inline, virtual]
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual const ik_c8* irrklang::IFileReader::getFileName ( )  [pure virtual]
+
+
+

Returns name of file.

+
Returns:
Returns the file name as zero terminated character string.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_s32 irrklang::IFileReader::getPos ( )  [pure virtual]
+
+
+

Returns the current position in the file.

+
Returns:
Returns the current position in the file in bytes.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_s32 irrklang::IFileReader::getSize ( )  [pure virtual]
+
+
+

Returns size of file.

+
Returns:
Returns the size of the file in bytes.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ik_s32 irrklang::IFileReader::read (void *  buffer,
ik_u32  sizeToRead 
) [pure virtual]
+
+
+

Reads an amount of bytes from the file.

+
Parameters:
+ + + +
buffer,: Pointer to buffer where to read bytes will be written to.
sizeToRead,: Amount of bytes to read from the file.
+
+
+
Returns:
Returns how much bytes were read.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual bool irrklang::IFileReader::seek (ik_s32  finalPos,
bool  relativeMovement = false 
) [pure virtual]
+
+
+

Changes position in file, returns true if successful.

+
Parameters:
+ + + +
finalPos,: Destination position in the file.
relativeMovement,: If set to true, the position in the file is changed relative to current position. Otherwise the position is changed from beginning of file.
+
+
+
Returns:
Returns true if successful, otherwise false.
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted-members.html new file mode 100644 index 0000000..455ee9a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted-members.html @@ -0,0 +1,84 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IRefCounted Member List

This is the complete list of members for irrklang::IRefCounted, including all inherited members. + + + + +
drop()irrklang::IRefCounted [inline]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.gif new file mode 100644 index 0000000..32f145c Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.html new file mode 100644 index 0000000..97755a4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_ref_counted.html @@ -0,0 +1,205 @@ + + + + + +irrKlang: irrklang::IRefCounted Class Reference + + + + + + + + + +
+

irrklang::IRefCounted Class Reference

+

Base class of most objects of the irrKlang. +More...

+ +

#include <ik_IRefCounted.h>

+
+Inheritance diagram for irrklang::IRefCounted:
+
+
+ + +irrklang::IAudioRecorder +irrklang::IAudioStream +irrklang::IAudioStreamLoader +irrklang::ICapturedAudioDataReceiver +irrklang::IFileFactory +irrklang::IFileReader +irrklang::ISoundDeviceList +irrklang::ISoundEngine + +
+
+ +

List of all members.

+ + + + + + + + +

Public Member Functions

 IRefCounted ()
 Constructor.
virtual ~IRefCounted ()
 Destructor.
void grab ()
bool drop ()
+

Detailed Description

+

Base class of most objects of the irrKlang.

+

This class provides reference counting through the methods grab() and drop(). It also is able to store a debug string for every instance of an object. Most objects of irrKlang are derived from IRefCounted, and so they are reference counted.

+

When you receive an object in irrKlang (for example an ISound using play2D() or play3D()), and you no longer need the object, you have to call drop(). This will destroy the object, if grab() was not called in another part of you program, because this part still needs the object. Note, that you only don't need to call drop() for all objects you receive, it will be explicitely noted in the documentation.

+

A simple example:

+

If you want to play a sound, you may want to call the method ISoundEngine::play2D. You call ISound* mysound = engine->play2D("foobar.mp3", false, false true); If you no longer need the sound interface, call mysound->drop(). The sound may still play on after this because the engine still has a reference to that sound, but you can be sure that it's memory will be released as soon the sound is no longer used.

+

If you want to add a sound source, you may want to call a method ISoundEngine::addSoundSourceFromFile. You do this like ISoundSource* mysource = engine->addSoundSourceFromFile("example.jpg"); You will not have to drop the pointer to the source, because sound sources are managed by the engine (it will live as long as the sound engine) and the documentation says so.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
irrklang::IRefCounted::IRefCounted ( )  [inline]
+
+
+ +

Constructor.

+ +
+
+ +
+
+ + + + + + + + +
virtual irrklang::IRefCounted::~IRefCounted ( )  [inline, virtual]
+
+
+ +

Destructor.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
bool irrklang::IRefCounted::drop ( )  [inline]
+
+
+

When you receive an object in irrKlang (for example an ISound using play2D() or play3D()), and you no longer need the object, you have to call drop(). This will destroy the object, if grab() was not called in another part of you program, because this part still needs the object. Note, that you only don't need to call drop() for all objects you receive, it will be explicitely noted in the documentation.

+

A simple example:

+

If you want to play a sound, you may want to call the method ISoundEngine::play2D. You call ISound* mysound = engine->play2D("foobar.mp3", false, false true); If you no longer need the sound interface, call mysound->drop(). The sound may still play on after this because the engine still has a reference to that sound, but you can be sure that it's memory will be released as soon the sound is no longer used.

+ +
+
+ +
+
+ + + + + + + + +
void irrklang::IRefCounted::grab ( )  [inline]
+
+
+

Grabs the object. Increments the reference counter by one. Someone who calls grab() to an object, should later also call drop() to it. If an object never gets as much drop() as grab() calls, it will never be destroyed. The IRefCounted class provides a basic reference counting mechanism with its methods grab() and drop(). Most objects of irrklang are derived from IRefCounted, and so they are reference counted.

+

When you receive an object in irrKlang (for example an ISound using play2D() or play3D()), and you no longer need the object, you have to call drop(). This will destroy the object, if grab() was not called in another part of you program, because this part still needs the object. Note, that you only don't need to call drop() for all objects you receive, it will be explicitely noted in the documentation.

+

A simple example:

+

If you want to play a sound, you may want to call the method ISoundEngine::play2D. You call ISound* mysound = engine->play2D("foobar.mp3", false, false true); If you no longer need the sound interface, call mysound->drop(). The sound may still play on after this because the engine still has a reference to that sound, but you can be sure that it's memory will be released as soon the sound is no longer used.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound-members.html new file mode 100644 index 0000000..2ce5ba3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound-members.html @@ -0,0 +1,109 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISound Member List

This is the complete list of members for irrklang::ISound, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
drop()=0irrklang::IVirtualRefCounted [pure virtual]
getIsPaused()=0irrklang::ISound [pure virtual]
getMaxDistance()=0irrklang::ISound [pure virtual]
getMinDistance()=0irrklang::ISound [pure virtual]
getPan()=0irrklang::ISound [pure virtual]
getPlaybackSpeed()=0irrklang::ISound [pure virtual]
getPlayLength()=0irrklang::ISound [pure virtual]
getPlayPosition()=0irrklang::ISound [pure virtual]
getPosition()=0irrklang::ISound [pure virtual]
getSoundEffectControl()=0irrklang::ISound [pure virtual]
getSoundSource()=0irrklang::ISound [pure virtual]
getVelocity()=0irrklang::ISound [pure virtual]
getVolume()=0irrklang::ISound [pure virtual]
grab()=0irrklang::IVirtualRefCounted [pure virtual]
isFinished()=0irrklang::ISound [pure virtual]
isLooped()=0irrklang::ISound [pure virtual]
setIsLooped(bool looped)=0irrklang::ISound [pure virtual]
setIsPaused(bool paused=true)=0irrklang::ISound [pure virtual]
setMaxDistance(ik_f32 max)=0irrklang::ISound [pure virtual]
setMinDistance(ik_f32 min)=0irrklang::ISound [pure virtual]
setPan(ik_f32 pan)=0irrklang::ISound [pure virtual]
setPlaybackSpeed(ik_f32 speed=1.0f)=0irrklang::ISound [pure virtual]
setPlayPosition(ik_u32 pos)=0irrklang::ISound [pure virtual]
setPosition(vec3df position)=0irrklang::ISound [pure virtual]
setSoundStopEventReceiver(ISoundStopEventReceiver *reciever, void *userData=0)=0irrklang::ISound [pure virtual]
setVelocity(vec3df vel)=0irrklang::ISound [pure virtual]
setVolume(ik_f32 volume)=0irrklang::ISound [pure virtual]
stop()=0irrklang::ISound [pure virtual]
~IVirtualRefCounted()irrklang::IVirtualRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.gif new file mode 100644 index 0000000..10d9d70 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.html new file mode 100644 index 0000000..1353932 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound.html @@ -0,0 +1,714 @@ + + + + + +irrKlang: irrklang::ISound Class Reference + + + + + + + + + +
+

irrklang::ISound Class Reference

+

Represents a sound which is currently played. +More...

+ +

#include <ik_ISound.h>

+
+Inheritance diagram for irrklang::ISound:
+
+
+ + +irrklang::IVirtualRefCounted + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual ISoundSourcegetSoundSource ()=0
 returns source of the sound which stores the filename and other informations about that sound
virtual void setIsPaused (bool paused=true)=0
 returns if the sound is paused
virtual bool getIsPaused ()=0
 returns if the sound is paused
virtual void stop ()=0
 Will stop the sound and free its resources.
virtual ik_f32 getVolume ()=0
 returns volume of the sound, a value between 0 (mute) and 1 (full volume).
virtual void setVolume (ik_f32 volume)=0
 sets the volume of the sound, a value between 0 (mute) and 1 (full volume).
virtual void setPan (ik_f32 pan)=0
 sets the pan of the sound. Takes a value between -1 and 1, 0 is center.
virtual ik_f32 getPan ()=0
 returns the pan of the sound. Takes a value between -1 and 1, 0 is center.
virtual bool isLooped ()=0
 returns if the sound has been started to play looped
virtual void setIsLooped (bool looped)=0
 changes the loop mode of the sound.
virtual bool isFinished ()=0
 returns if the sound has finished playing.
virtual void setMinDistance (ik_f32 min)=0
 Sets the minimal distance if this is a 3D sound.
virtual ik_f32 getMinDistance ()=0
 Returns the minimal distance if this is a 3D sound.
virtual void setMaxDistance (ik_f32 max)=0
 Sets the maximal distance if this is a 3D sound.
virtual ik_f32 getMaxDistance ()=0
 Returns the maximal distance if this is a 3D sound.
virtual void setPosition (vec3df position)=0
 sets the position of the sound in 3d space
virtual vec3df getPosition ()=0
 returns the position of the sound in 3d space
virtual void setVelocity (vec3df vel)=0
 sets the position of the sound in 3d space, needed for Doppler effects.
virtual vec3df getVelocity ()=0
 returns the velocity of the sound in 3d space, needed for Doppler effects.
virtual ik_u32 getPlayPosition ()=0
 returns the current play position of the sound in milliseconds.
virtual bool setPlayPosition (ik_u32 pos)=0
 sets the current play position of the sound in milliseconds.
virtual bool setPlaybackSpeed (ik_f32 speed=1.0f)=0
 Sets the playback speed (frequency) of the sound.
virtual ik_f32 getPlaybackSpeed ()=0
 Returns the playback speed set by setPlaybackSpeed(). Default: 1.0f.
virtual ik_u32 getPlayLength ()=0
 returns the play length of the sound in milliseconds.
virtual ISoundEffectControlgetSoundEffectControl ()=0
 Returns the sound effect control interface for this sound.
virtual void setSoundStopEventReceiver (ISoundStopEventReceiver *reciever, void *userData=0)=0
 Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.
+

Detailed Description

+

Represents a sound which is currently played.

+

The sound can be stopped, its volume or pan changed, effects added/removed and similar using this interface. Creating sounds is done using ISoundEngine::play2D() or ISoundEngine::play3D(). More informations about the source of a sound can be obtained from the ISoundSource interface.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual bool irrklang::ISound::getIsPaused ( )  [pure virtual]
+
+
+ +

returns if the sound is paused

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISound::getMaxDistance ( )  [pure virtual]
+
+
+ +

Returns the maximal distance if this is a 3D sound.

+

See setMaxDistance() for details.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISound::getMinDistance ( )  [pure virtual]
+
+
+ +

Returns the minimal distance if this is a 3D sound.

+

See setMinDistance() for details.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISound::getPan ( )  [pure virtual]
+
+
+ +

returns the pan of the sound. Takes a value between -1 and 1, 0 is center.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISound::getPlaybackSpeed ( )  [pure virtual]
+
+
+ +

Returns the playback speed set by setPlaybackSpeed(). Default: 1.0f.

+

See setPlaybackSpeed() for details

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_u32 irrklang::ISound::getPlayLength ( )  [pure virtual]
+
+
+ +

returns the play length of the sound in milliseconds.

+

Returns -1 if not known for this sound for example because its decoder does not support length reporting or it is a file stream of unknown size. Note: You can also use ISoundSource::getPlayLength() to get the length of a sound without actually needing to play it.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_u32 irrklang::ISound::getPlayPosition ( )  [pure virtual]
+
+
+ +

returns the current play position of the sound in milliseconds.

+
Returns:
Returns -1 if not implemented or possible for this sound for example because it already has been stopped and freed internally or similar.
+ +
+
+ +
+
+ + + + + + + + +
virtual vec3df irrklang::ISound::getPosition ( )  [pure virtual]
+
+
+ +

returns the position of the sound in 3d space

+ +
+
+ +
+
+ + + + + + + + +
virtual ISoundEffectControl* irrklang::ISound::getSoundEffectControl ( )  [pure virtual]
+
+
+ +

Returns the sound effect control interface for this sound.

+

Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can be controlled using this. The interface pointer is only valid as long as the ISound pointer is valid. If the ISound pointer gets dropped (IVirtualRefCounted::drop()), the ISoundEffects may not be used any more.

+
Returns:
Returns a pointer to the sound effects interface if available. The sound has to be started via ISoundEngine::play2D() or ISoundEngine::play3D(), with the flag enableSoundEffects=true, otherwise 0 will be returned. Note that if the output driver does not support sound effects, 0 will be returned as well.
+ +
+
+ +
+
+ + + + + + + + +
virtual ISoundSource* irrklang::ISound::getSoundSource ( )  [pure virtual]
+
+
+ +

returns source of the sound which stores the filename and other informations about that sound

+
Returns:
Returns the sound source poitner of this sound. May return 0 if the sound source has been removed.
+ +
+
+ +
+
+ + + + + + + + +
virtual vec3df irrklang::ISound::getVelocity ( )  [pure virtual]
+
+
+ +

returns the velocity of the sound in 3d space, needed for Doppler effects.

+

To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISound::getVolume ( )  [pure virtual]
+
+
+ +

returns volume of the sound, a value between 0 (mute) and 1 (full volume).

+

(this volume gets multiplied with the master volume of the sound engine and other parameters like distance to listener when played as 3d sound)

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISound::isFinished ( )  [pure virtual]
+
+
+ +

returns if the sound has finished playing.

+

Don't mix this up with isPaused(). isFinished() returns if the sound has been finished playing. If it has, is maybe already have been removed from the playing list of the sound engine and calls to any other of the methods of ISound will not have any result. If you call stop() to a playing sound will result that this function will return true when invoked.

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISound::isLooped ( )  [pure virtual]
+
+
+ +

returns if the sound has been started to play looped

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setIsLooped (bool  looped )  [pure virtual]
+
+
+ +

changes the loop mode of the sound.

+

If the sound is playing looped and it is changed to not-looped, then it will stop playing after the loop has finished. If it is not looped and changed to looped, the sound will start repeating to be played when it reaches its end. Invoking this method will not have an effect when the sound already has stopped.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setIsPaused (bool  paused = true )  [pure virtual]
+
+
+ +

returns if the sound is paused

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setMaxDistance (ik_f32  max )  [pure virtual]
+
+
+ +

Sets the maximal distance if this is a 3D sound.

+

Changing this value is usually not necessary. Use setMinDistance() instead. Don't change this value if you don't know what you are doing: This value causes the sound to stop attenuating after it reaches the max distance. Most people think that this sets the volume of the sound to 0 after this distance, but this is not true. Only change the minimal distance (using for example setMinDistance()) to influence this. The maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number like 1000000000.0f.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setMinDistance (ik_f32  min )  [pure virtual]
+
+
+ +

Sets the minimal distance if this is a 3D sound.

+

Changes the distance at which the 3D sound stops getting louder. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number like 1000000000.0f.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setPan (ik_f32  pan )  [pure virtual]
+
+
+ +

sets the pan of the sound. Takes a value between -1 and 1, 0 is center.

+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISound::setPlaybackSpeed (ik_f32  speed = 1.0f )  [pure virtual]
+
+
+ +

Sets the playback speed (frequency) of the sound.

+

Plays the sound at a higher or lower speed, increasing or decreasing its frequency which makes it sound lower or higher. Note that this feature is not available on all sound output drivers (it is on the DirectSound drivers at least), and it does not work together with the 'enableSoundEffects' parameter of ISoundEngine::play2D and ISoundEngine::play3D when using DirectSound.

+
Parameters:
+ + +
speed Factor of the speed increase or decrease. 2 is twice as fast, 0.5 is only half as fast. The default is 1.0.
+
+
+
Returns:
Returns true if sucessful, false if not. The current sound driver might not support changing the playBack speed, or the sound was started with the 'enableSoundEffects' parameter.
+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISound::setPlayPosition (ik_u32  pos )  [pure virtual]
+
+
+ +

sets the current play position of the sound in milliseconds.

+
Parameters:
+ + +
pos Position in milliseconds. Must be between 0 and the value returned by getPlayPosition().
+
+
+
Returns:
Returns true successful. False is returned for example if the sound already finished playing and is stopped or the audio source is not seekable, for example if it is an internet stream or a a file format not supporting seeking (a .MOD file for example). A file can be tested if it can bee seeking using ISoundSource::getIsSeekingSupported().
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setPosition (vec3df  position )  [pure virtual]
+
+
+ +

sets the position of the sound in 3d space

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual void irrklang::ISound::setSoundStopEventReceiver (ISoundStopEventReceiver reciever,
void *  userData = 0 
) [pure virtual]
+
+
+ +

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+

This event is guaranteed to be called when the sound or sound stream is finished, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. There is an example on how to use events in irrklang at Using Sound Events .

+
Parameters:
+ + + +
receiver Interface to a user implementation of the sound receiver. This interface should be as long valid as the sound exists or another stop event receiver is set. Set this to null to set no sound stop event receiver.
userData,: A iser data pointer, can be null.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setVelocity (vec3df  vel )  [pure virtual]
+
+
+ +

sets the position of the sound in 3d space, needed for Doppler effects.

+

To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISound::setVolume (ik_f32  volume )  [pure virtual]
+
+
+ +

sets the volume of the sound, a value between 0 (mute) and 1 (full volume).

+

This volume gets multiplied with the master volume of the sound engine and other parameters like distance to listener when played as 3d sound.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISound::stop ( )  [pure virtual]
+
+
+ +

Will stop the sound and free its resources.

+

If you just want to pause the sound, use setIsPaused(). After calling stop(), isFinished() will usually return true. Be sure to also call ->drop() once you are done.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list-members.html new file mode 100644 index 0000000..c4136ef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list-members.html @@ -0,0 +1,87 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundDeviceList Member List

This is the complete list of members for irrklang::ISoundDeviceList, including all inherited members. + + + + + + + +
drop()irrklang::IRefCounted [inline]
getDeviceCount()=0irrklang::ISoundDeviceList [pure virtual]
getDeviceDescription(ik_s32 index)=0irrklang::ISoundDeviceList [pure virtual]
getDeviceID(ik_s32 index)=0irrklang::ISoundDeviceList [pure virtual]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.gif new file mode 100644 index 0000000..7543d6e Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.html new file mode 100644 index 0000000..cc65ee4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_device_list.html @@ -0,0 +1,186 @@ + + + + + +irrKlang: irrklang::ISoundDeviceList Class Reference + + + + + + + + + +
+

irrklang::ISoundDeviceList Class Reference

+

A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. +More...

+ +

#include <ik_ISoundDeviceList.h>

+
+Inheritance diagram for irrklang::ISoundDeviceList:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + +

Public Member Functions

virtual ik_s32 getDeviceCount ()=0
 Returns amount of enumerated devices in the list.
virtual const char * getDeviceID (ik_s32 index)=0
 Returns the ID of the device. Use this string to identify this device in createIrrKlangDevice().
virtual const char * getDeviceDescription (ik_s32 index)=0
 Returns description of the device.
+

Detailed Description

+

A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list.

+

The function createIrrKlangDevice() has a parameter 'deviceID' which takes the value returned by ISoundDeviceList::getDeviceID() and uses that device then. The list of devices in ISoundDeviceList usually also includes the default device which is the first entry and has an empty deviceID string ("") and the description "default device". There is some example code on how to use the ISoundDeviceList in Enumerating sound devices.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual ik_s32 irrklang::ISoundDeviceList::getDeviceCount ( )  [pure virtual]
+
+
+ +

Returns amount of enumerated devices in the list.

+ +
+
+ +
+
+ + + + + + + + + +
virtual const char* irrklang::ISoundDeviceList::getDeviceDescription (ik_s32  index )  [pure virtual]
+
+
+ +

Returns description of the device.

+
Parameters:
+ + +
index Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual const char* irrklang::ISoundDeviceList::getDeviceID (ik_s32  index )  [pure virtual]
+
+
+ +

Returns the ID of the device. Use this string to identify this device in createIrrKlangDevice().

+
Parameters:
+ + +
index Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1.
+
+
+
Returns:
Returns a pointer to a string identifying the device. The string will only as long valid as long as the ISoundDeviceList exists.
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control-members.html new file mode 100644 index 0000000..211662d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control-members.html @@ -0,0 +1,108 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundEffectControl Member List

This is the complete list of members for irrklang::ISoundEffectControl, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
disableAllEffects()=0irrklang::ISoundEffectControl [pure virtual]
disableChorusSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableCompressorSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableDistortionSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableEchoSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableFlangerSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableGargleSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableI3DL2ReverbSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableParamEqSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
disableWavesReverbSoundEffect()=0irrklang::ISoundEffectControl [pure virtual]
enableChorusSoundEffect(ik_f32 fWetDryMix=50, ik_f32 fDepth=10, ik_f32 fFeedback=25, ik_f32 fFrequency=1.1, bool sinusWaveForm=true, ik_f32 fDelay=16, ik_s32 lPhase=90)=0irrklang::ISoundEffectControl [pure virtual]
enableCompressorSoundEffect(ik_f32 fGain=0, ik_f32 fAttack=10, ik_f32 fRelease=200, ik_f32 fThreshold=-20, ik_f32 fRatio=3, ik_f32 fPredelay=4)=0irrklang::ISoundEffectControl [pure virtual]
enableDistortionSoundEffect(ik_f32 fGain=-18, ik_f32 fEdge=15, ik_f32 fPostEQCenterFrequency=2400, ik_f32 fPostEQBandwidth=2400, ik_f32 fPreLowpassCutoff=8000)=0irrklang::ISoundEffectControl [pure virtual]
enableEchoSoundEffect(ik_f32 fWetDryMix=50, ik_f32 fFeedback=50, ik_f32 fLeftDelay=500, ik_f32 fRightDelay=500, ik_s32 lPanDelay=0)=0irrklang::ISoundEffectControl [pure virtual]
enableFlangerSoundEffect(ik_f32 fWetDryMix=50, ik_f32 fDepth=100, ik_f32 fFeedback=-50, ik_f32 fFrequency=0.25f, bool triangleWaveForm=true, ik_f32 fDelay=2, ik_s32 lPhase=0)=0irrklang::ISoundEffectControl [pure virtual]
enableGargleSoundEffect(ik_s32 rateHz=20, bool sinusWaveForm=true)=0irrklang::ISoundEffectControl [pure virtual]
enableI3DL2ReverbSoundEffect(ik_s32 lRoom=-1000, ik_s32 lRoomHF=-100, ik_f32 flRoomRolloffFactor=0, ik_f32 flDecayTime=1.49f, ik_f32 flDecayHFRatio=0.83f, ik_s32 lReflections=-2602, ik_f32 flReflectionsDelay=0.007f, ik_s32 lReverb=200, ik_f32 flReverbDelay=0.011f, ik_f32 flDiffusion=100.0f, ik_f32 flDensity=100.0f, ik_f32 flHFReference=5000.0f)=0irrklang::ISoundEffectControl [pure virtual]
enableParamEqSoundEffect(ik_f32 fCenter=8000, ik_f32 fBandwidth=12, ik_f32 fGain=0)=0irrklang::ISoundEffectControl [pure virtual]
enableWavesReverbSoundEffect(ik_f32 fInGain=0, ik_f32 fReverbMix=0, ik_f32 fReverbTime=1000, ik_f32 fHighFreqRTRatio=0.001f)=0irrklang::ISoundEffectControl [pure virtual]
isChorusSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isCompressorSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isDistortionSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isEchoSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isFlangerSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isGargleSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isI3DL2ReverbSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isParamEqSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
isWavesReverbSoundEffectEnabled()=0irrklang::ISoundEffectControl [pure virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control.html new file mode 100644 index 0000000..2341f30 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_effect_control.html @@ -0,0 +1,1087 @@ + + + + + +irrKlang: irrklang::ISoundEffectControl Class Reference + + + + + + + + + +
+

irrklang::ISoundEffectControl Class Reference

+

Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. +More...

+ +

#include <ik_ISoundEffectControl.h>

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual void disableAllEffects ()=0
 Disables all active sound effects.
virtual bool enableChorusSoundEffect (ik_f32 fWetDryMix=50, ik_f32 fDepth=10, ik_f32 fFeedback=25, ik_f32 fFrequency=1.1, bool sinusWaveForm=true, ik_f32 fDelay=16, ik_s32 lPhase=90)=0
 Enables the chorus sound effect or adjusts its values.
virtual void disableChorusSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isChorusSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableCompressorSoundEffect (ik_f32 fGain=0, ik_f32 fAttack=10, ik_f32 fRelease=200, ik_f32 fThreshold=-20, ik_f32 fRatio=3, ik_f32 fPredelay=4)=0
 Enables the Compressor sound effect or adjusts its values.
virtual void disableCompressorSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isCompressorSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableDistortionSoundEffect (ik_f32 fGain=-18, ik_f32 fEdge=15, ik_f32 fPostEQCenterFrequency=2400, ik_f32 fPostEQBandwidth=2400, ik_f32 fPreLowpassCutoff=8000)=0
 Enables the Distortion sound effect or adjusts its values.
virtual void disableDistortionSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isDistortionSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableEchoSoundEffect (ik_f32 fWetDryMix=50, ik_f32 fFeedback=50, ik_f32 fLeftDelay=500, ik_f32 fRightDelay=500, ik_s32 lPanDelay=0)=0
 Enables the Echo sound effect or adjusts its values.
virtual void disableEchoSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isEchoSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableFlangerSoundEffect (ik_f32 fWetDryMix=50, ik_f32 fDepth=100, ik_f32 fFeedback=-50, ik_f32 fFrequency=0.25f, bool triangleWaveForm=true, ik_f32 fDelay=2, ik_s32 lPhase=0)=0
 Enables the Flanger sound effect or adjusts its values.
virtual void disableFlangerSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isFlangerSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableGargleSoundEffect (ik_s32 rateHz=20, bool sinusWaveForm=true)=0
 Enables the Gargle sound effect or adjusts its values.
virtual void disableGargleSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isGargleSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableI3DL2ReverbSoundEffect (ik_s32 lRoom=-1000, ik_s32 lRoomHF=-100, ik_f32 flRoomRolloffFactor=0, ik_f32 flDecayTime=1.49f, ik_f32 flDecayHFRatio=0.83f, ik_s32 lReflections=-2602, ik_f32 flReflectionsDelay=0.007f, ik_s32 lReverb=200, ik_f32 flReverbDelay=0.011f, ik_f32 flDiffusion=100.0f, ik_f32 flDensity=100.0f, ik_f32 flHFReference=5000.0f)=0
 Enables the Interactive 3D Level 2 reverb sound effect or adjusts its values.
virtual void disableI3DL2ReverbSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isI3DL2ReverbSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableParamEqSoundEffect (ik_f32 fCenter=8000, ik_f32 fBandwidth=12, ik_f32 fGain=0)=0
 Enables the ParamEq sound effect or adjusts its values.
virtual void disableParamEqSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isParamEqSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
virtual bool enableWavesReverbSoundEffect (ik_f32 fInGain=0, ik_f32 fReverbMix=0, ik_f32 fReverbTime=1000, ik_f32 fHighFreqRTRatio=0.001f)=0
 Enables the Waves Reverb sound effect or adjusts its values.
virtual void disableWavesReverbSoundEffect ()=0
 removes the sound effect from the sound
virtual bool isWavesReverbSoundEffectEnabled ()=0
 returns if the sound effect is active on the sound
+

Detailed Description

+

Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound.

+

Sound effects such as chorus, distorsions, echo, reverb and similar can be controlled using this. An instance of this interface can be obtained via ISound::getSoundEffectControl(). The sound containing this interface has to be started via ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, otherwise no acccess to this interface will be available. For the DirectSound driver, these are effects available since DirectSound8. For most effects, sounds should have a sample rate of 44 khz and should be at least 150 milli seconds long for optimal quality when using the DirectSound driver. Note that the interface pointer is only valid as long as the ISound pointer is valid. If the ISound pointer gets dropped (IVirtualRefCounted::drop()), the ISoundEffects may not be used any more.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableAllEffects ( )  [pure virtual]
+
+
+ +

Disables all active sound effects.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableChorusSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableCompressorSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableDistortionSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableEchoSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableFlangerSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableGargleSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableI3DL2ReverbSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableParamEqSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEffectControl::disableWavesReverbSoundEffect ( )  [pure virtual]
+
+
+ +

removes the sound effect from the sound

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableChorusSoundEffect (ik_f32  fWetDryMix = 50,
ik_f32  fDepth = 10,
ik_f32  fFeedback = 25,
ik_f32  fFrequency = 1.1,
bool  sinusWaveForm = true,
ik_f32  fDelay = 16,
ik_s32  lPhase = 90 
) [pure virtual]
+
+
+ +

Enables the chorus sound effect or adjusts its values.

+

Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + + + + + +
fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f;
fDepth Percentage by which the delay time is modulated by the low-frequency oscillator, in hundredths of a percentage point. Minimal Value:0, Maximal Value:100.0f;
fFeedback Percentage of output signal to feed back into the effect's input. Minimal Value:-99, Maximal Value:99.0f;
fFrequency Frequency of the LFO. Minimal Value:0, Maximal Value:10.0f;
sinusWaveForm True for sinus wave form, false for triangle.
fDelay Number of milliseconds the input is delayed before it is played back. Minimal Value:0, Maximal Value:20.0f;
lPhase Phase differential between left and right LFOs. Possible values: -180, -90, 0, 90, 180
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableCompressorSoundEffect (ik_f32  fGain = 0,
ik_f32  fAttack = 10,
ik_f32  fRelease = 200,
ik_f32  fThreshold = -20,
ik_f32  fRatio = 3,
ik_f32  fPredelay = 4 
) [pure virtual]
+
+
+ +

Enables the Compressor sound effect or adjusts its values.

+

Compressor is a reduction in the fluctuation of a signal above a certain amplitude. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + + + + +
fGain Output gain of signal after Compressor. Minimal Value:-60, Maximal Value:60.0f;
fAttack Time before Compressor reaches its full value. Minimal Value:0.01, Maximal Value:500.0f;
fRelease Speed at which Compressor is stopped after input drops below fThreshold. Minimal Value:50, Maximal Value:3000.0f;
fThreshold Point at which Compressor begins, in decibels. Minimal Value:-60, Maximal Value:0.0f;
fRatio Compressor ratio. Minimal Value:1, Maximal Value:100.0f;
fPredelay Time after lThreshold is reached before attack phase is started, in milliseconds. Minimal Value:0, Maximal Value:4.0f;
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableDistortionSoundEffect (ik_f32  fGain = -18,
ik_f32  fEdge = 15,
ik_f32  fPostEQCenterFrequency = 2400,
ik_f32  fPostEQBandwidth = 2400,
ik_f32  fPreLowpassCutoff = 8000 
) [pure virtual]
+
+
+ +

Enables the Distortion sound effect or adjusts its values.

+

Distortion is achieved by adding harmonics to the signal in such a way that, If this sound effect is already enabled, calling this only modifies the parameters of the active effect. as the level increases, the top of the waveform becomes squared off or clipped.

+
Parameters:
+ + + + + + +
fGain Amount of signal change after distortion. Minimal Value:-60, Maximal Value:0;
fEdge Percentage of distortion intensity. Minimal Value:0, Maximal Value:100;
fPostEQCenterFrequency Center frequency of harmonic content addition. Minimal Value:100, Maximal Value:8000;
fPostEQBandwidth Width of frequency band that determines range of harmonic content addition. Minimal Value:100, Maximal Value:8000;
fPreLowpassCutoff Filter cutoff for high-frequency harmonics attenuation. Minimal Value:100, Maximal Value:8000;
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableEchoSoundEffect (ik_f32  fWetDryMix = 50,
ik_f32  fFeedback = 50,
ik_f32  fLeftDelay = 500,
ik_f32  fRightDelay = 500,
ik_s32  lPanDelay = 0 
) [pure virtual]
+
+
+ +

Enables the Echo sound effect or adjusts its values.

+

An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + + + +
fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f;
fFeedback Percentage of output fed back into input. Minimal Value:0, Maximal Value:100.0f;
fLeftDelay Delay for left channel, in milliseconds. Minimal Value:1, Maximal Value:2000.0f;
fRightDelay Delay for right channel, in milliseconds. Minimal Value:1, Maximal Value:2000.0f;
lPanDelay Value that specifies whether to swap left and right delays with each successive echo. Minimal Value:0, Maximal Value:1;
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableFlangerSoundEffect (ik_f32  fWetDryMix = 50,
ik_f32  fDepth = 100,
ik_f32  fFeedback = -50,
ik_f32  fFrequency = 0.25f,
bool  triangleWaveForm = true,
ik_f32  fDelay = 2,
ik_s32  lPhase = 0 
) [pure virtual]
+
+
+ +

Enables the Flanger sound effect or adjusts its values.

+

Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + + + + + +
fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f;
fDepth Percentage by which the delay time is modulated by the low-frequency oscillator, in hundredths of a percentage point. Minimal Value:0, Maximal Value:100.0f;
fFeedback Percentage of output signal to feed back into the effect's input. Minimal Value:-99, Maximal Value:99.0f;
fFrequency Frequency of the LFO. Minimal Value:0, Maximal Value:10.0f;
triangleWaveForm True for triangle wave form, false for square.
fDelay Number of milliseconds the input is delayed before it is played back. Minimal Value:0, Maximal Value:20.0f;
lPhase Phase differential between left and right LFOs. Possible values: -180, -90, 0, 90, 180
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableGargleSoundEffect (ik_s32  rateHz = 20,
bool  sinusWaveForm = true 
) [pure virtual]
+
+
+ +

Enables the Gargle sound effect or adjusts its values.

+

The gargle effect modulates the amplitude of the signal. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + +
rateHz Rate of modulation, in Hertz. Minimal Value:1, Maximal Value:1000
sinusWaveForm True for sinus wave form, false for triangle.
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableI3DL2ReverbSoundEffect (ik_s32  lRoom = -1000,
ik_s32  lRoomHF = -100,
ik_f32  flRoomRolloffFactor = 0,
ik_f32  flDecayTime = 1.49f,
ik_f32  flDecayHFRatio = 0.83f,
ik_s32  lReflections = -2602,
ik_f32  flReflectionsDelay = 0.007f,
ik_s32  lReverb = 200,
ik_f32  flReverbDelay = 0.011f,
ik_f32  flDiffusion = 100.0f,
ik_f32  flDensity = 100.0f,
ik_f32  flHFReference = 5000.0f 
) [pure virtual]
+
+
+ +

Enables the Interactive 3D Level 2 reverb sound effect or adjusts its values.

+

An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + + + + + + + + + + +
lRoom Attenuation of the room effect, in millibels (mB). Interval: [-10000, 0] Default: -1000 mB
lRoomHF Attenuation of the room high-frequency effect. Interval: [-10000, 0] default: 0 mB
flRoomRolloffFactor Rolloff factor for the reflected signals. Interval: [0.0, 10.0] default: 0.0
flDecayTime Decay time, in seconds. Interval: [0.1, 20.0] default: 1.49s
flDecayHFRatio Ratio of the decay time at high frequencies to the decay time at low frequencies. Interval: [0.1, 2.0] default: 0.83
lReflections Attenuation of early reflections relative to lRoom. Interval: [-10000, 1000] default: -2602 mB
flReflectionsDelay Delay time of the first reflection relative to the direct path in seconds. Interval: [0.0, 0.3] default: 0.007 s
lReverb Attenuation of late reverberation relative to lRoom, in mB. Interval: [-10000, 2000] default: 200 mB
flReverbDelay Time limit between the early reflections and the late reverberation relative to the time of the first reflection. Interval: [0.0, 0.1] default: 0.011 s
flDiffusion Echo density in the late reverberation decay in percent. Interval: [0.0, 100.0] default: 100.0 %
flDensity Modal density in the late reverberation decay, in percent. Interval: [0.0, 100.0] default: 100.0 %
flHFReference Reference high frequency, in hertz. Interval: [20.0, 20000.0] default: 5000.0 Hz
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableParamEqSoundEffect (ik_f32  fCenter = 8000,
ik_f32  fBandwidth = 12,
ik_f32  fGain = 0 
) [pure virtual]
+
+
+ +

Enables the ParamEq sound effect or adjusts its values.

+

Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
Parameters:
+ + + + +
fCenter Center frequency, in hertz, The default value is 8000. Minimal Value:80, Maximal Value:16000.0f
fBandwidth Bandwidth, in semitones, The default value is 12. Minimal Value:1.0f, Maximal Value:36.0f
fGain Gain, default value is 0. Minimal Value:-15.0f, Maximal Value:15.0f
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool irrklang::ISoundEffectControl::enableWavesReverbSoundEffect (ik_f32  fInGain = 0,
ik_f32  fReverbMix = 0,
ik_f32  fReverbTime = 1000,
ik_f32  fHighFreqRTRatio = 0.001f 
) [pure virtual]
+
+
+ +

Enables the Waves Reverb sound effect or adjusts its values.

+
Parameters:
+ + + + + +
fInGain Input gain of signal, in decibels (dB). Min/Max: [-96.0,0.0] Default: 0.0 dB. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
fReverbMix Reverb mix, in dB. Min/Max: [-96.0,0.0] Default: 0.0 dB
fReverbTime Reverb time, in milliseconds. Min/Max: [0.001,3000.0] Default: 1000.0 ms
fHighFreqRTRatio High-frequency reverb time ratio. Min/Max: [0.001,0.999] Default: 0.001
+
+
+
Returns:
Returns true if successful.
+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isChorusSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isCompressorSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isDistortionSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isEchoSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isFlangerSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isGargleSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isI3DL2ReverbSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isParamEqSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEffectControl::isWavesReverbSoundEffectEnabled ( )  [pure virtual]
+
+
+ +

returns if the sound effect is active on the sound

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine-members.html new file mode 100644 index 0000000..a50de30 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine-members.html @@ -0,0 +1,120 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundEngine Member List

This is the complete list of members for irrklang::ISoundEngine, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addFileFactory(IFileFactory *fileFactory)=0irrklang::ISoundEngine [pure virtual]
addSoundSourceAlias(ISoundSource *baseSource, const ik_c8 *soundName)=0irrklang::ISoundEngine [pure virtual]
addSoundSourceFromFile(const ik_c8 *fileName, E_STREAM_MODE mode=ESM_AUTO_DETECT, bool preload=false)=0irrklang::ISoundEngine [pure virtual]
addSoundSourceFromMemory(void *memory, ik_s32 sizeInBytes, const ik_c8 *soundName, bool copyMemory=true)=0irrklang::ISoundEngine [pure virtual]
addSoundSourceFromPCMData(void *memory, ik_s32 sizeInBytes, const ik_c8 *soundName, SAudioStreamFormat format, bool copyMemory=true)=0irrklang::ISoundEngine [pure virtual]
drop()irrklang::IRefCounted [inline]
getDefault3DSoundMaxDistance()=0irrklang::ISoundEngine [pure virtual]
getDefault3DSoundMinDistance()=0irrklang::ISoundEngine [pure virtual]
getDriverName()=0irrklang::ISoundEngine [pure virtual]
getInternalAudioInterface()=0irrklang::ISoundEngine [pure virtual]
getSoundSource(const ik_c8 *soundName, bool addIfNotFound=true)=0irrklang::ISoundEngine [pure virtual]
getSoundSource(ik_s32 index)=0irrklang::ISoundEngine [pure virtual]
getSoundSourceCount()=0irrklang::ISoundEngine [pure virtual]
getSoundVolume()=0irrklang::ISoundEngine [pure virtual]
grab()irrklang::IRefCounted [inline]
IRefCounted()irrklang::IRefCounted [inline]
isCurrentlyPlaying(const char *soundName)=0irrklang::ISoundEngine [pure virtual]
isCurrentlyPlaying(ISoundSource *source)=0irrklang::ISoundEngine [pure virtual]
isMultiThreaded() const =0irrklang::ISoundEngine [pure virtual]
loadPlugins(const ik_c8 *path)=0irrklang::ISoundEngine [pure virtual]
play2D(const char *soundFileName, bool playLooped=false, bool startPaused=false, bool track=false, E_STREAM_MODE streamMode=ESM_AUTO_DETECT, bool enableSoundEffects=false)=0irrklang::ISoundEngine [pure virtual]
play2D(ISoundSource *source, bool playLooped=false, bool startPaused=false, bool track=false, bool enableSoundEffects=false)=0irrklang::ISoundEngine [pure virtual]
play3D(const char *soundFileName, vec3df pos, bool playLooped=false, bool startPaused=false, bool track=false, E_STREAM_MODE streamMode=ESM_AUTO_DETECT, bool enableSoundEffects=false)=0irrklang::ISoundEngine [pure virtual]
play3D(ISoundSource *source, vec3df pos, bool playLooped=false, bool startPaused=false, bool track=false, bool enableSoundEffects=false)=0irrklang::ISoundEngine [pure virtual]
registerAudioStreamLoader(IAudioStreamLoader *loader)=0irrklang::ISoundEngine [pure virtual]
removeAllSoundSources()=0irrklang::ISoundEngine [pure virtual]
removeSoundSource(ISoundSource *source)=0irrklang::ISoundEngine [pure virtual]
removeSoundSource(const ik_c8 *name)=0irrklang::ISoundEngine [pure virtual]
setAllSoundsPaused(bool bPaused=true)=0irrklang::ISoundEngine [pure virtual]
setDefault3DSoundMaxDistance(ik_f32 maxDistance)=0irrklang::ISoundEngine [pure virtual]
setDefault3DSoundMinDistance(ik_f32 minDistance)=0irrklang::ISoundEngine [pure virtual]
setDopplerEffectParameters(ik_f32 dopplerFactor=1.0f, ik_f32 distanceFactor=1.0f)=0irrklang::ISoundEngine [pure virtual]
setListenerPosition(const vec3df &pos, const vec3df &lookdir, const vec3df &velPerSecond=vec3df(0, 0, 0), const vec3df &upVector=vec3df(0, 1, 0))=0irrklang::ISoundEngine [pure virtual]
setMixedDataOutputReceiver(ISoundMixedOutputReceiver *receiver)=0irrklang::ISoundEngine [pure virtual]
setRolloffFactor(ik_f32 rolloff)=0irrklang::ISoundEngine [pure virtual]
setSoundVolume(ik_f32 volume)=0irrklang::ISoundEngine [pure virtual]
stopAllSounds()=0irrklang::ISoundEngine [pure virtual]
stopAllSoundsOfSoundSource(ISoundSource *source)=0irrklang::ISoundEngine [pure virtual]
update()=0irrklang::ISoundEngine [pure virtual]
~IRefCounted()irrklang::IRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.gif new file mode 100644 index 0000000..120c1bd Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.html new file mode 100644 index 0000000..09ef187 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_engine.html @@ -0,0 +1,1299 @@ + + + + + +irrKlang: irrklang::ISoundEngine Class Reference + + + + + + + + + +
+

irrklang::ISoundEngine Class Reference

+

Interface to the sound engine, for playing 3d and 2d sound and music. +More...

+ +

#include <ik_ISoundEngine.h>

+
+Inheritance diagram for irrklang::ISoundEngine:
+
+
+ + +irrklang::IRefCounted + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual const char * getDriverName ()=0
 returns the name of the sound driver, like 'ALSA' for the alsa device
virtual ISoundplay2D (const char *soundFileName, bool playLooped=false, bool startPaused=false, bool track=false, E_STREAM_MODE streamMode=ESM_AUTO_DETECT, bool enableSoundEffects=false)=0
 loads a sound source (if not loaded already) from a file and plays it.
virtual ISoundplay2D (ISoundSource *source, bool playLooped=false, bool startPaused=false, bool track=false, bool enableSoundEffects=false)=0
 Plays a sound source as 2D sound with its default settings stored in ISoundSource.
virtual ISoundplay3D (const char *soundFileName, vec3df pos, bool playLooped=false, bool startPaused=false, bool track=false, E_STREAM_MODE streamMode=ESM_AUTO_DETECT, bool enableSoundEffects=false)=0
 Loads a sound source (if not loaded already) from a file and plays it as 3D sound.
virtual ISoundplay3D (ISoundSource *source, vec3df pos, bool playLooped=false, bool startPaused=false, bool track=false, bool enableSoundEffects=false)=0
 Plays a sound source as 3D sound with its default settings stored in ISoundSource.
virtual void stopAllSounds ()=0
 Stops all currently playing sounds.
virtual void setAllSoundsPaused (bool bPaused=true)=0
 Pauses or unpauses all currently playing sounds.
virtual ISoundSourcegetSoundSource (const ik_c8 *soundName, bool addIfNotFound=true)=0
 Gets a sound source by sound name. Adds the sound source as file into the sound engine if not loaded already.
virtual ISoundSourcegetSoundSource (ik_s32 index)=0
 Returns a sound source by index.
virtual ik_s32 getSoundSourceCount ()=0
 Returns amount of loaded sound sources.
virtual ISoundSourceaddSoundSourceFromFile (const ik_c8 *fileName, E_STREAM_MODE mode=ESM_AUTO_DETECT, bool preload=false)=0
 Adds sound source into the sound engine as file.
virtual ISoundSourceaddSoundSourceFromMemory (void *memory, ik_s32 sizeInBytes, const ik_c8 *soundName, bool copyMemory=true)=0
 Adds a sound source into the sound engine as memory source.
virtual ISoundSourceaddSoundSourceFromPCMData (void *memory, ik_s32 sizeInBytes, const ik_c8 *soundName, SAudioStreamFormat format, bool copyMemory=true)=0
 Adds a sound source into the sound engine from plain PCM data in memory.
virtual ISoundSourceaddSoundSourceAlias (ISoundSource *baseSource, const ik_c8 *soundName)=0
 Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings.
virtual void removeSoundSource (ISoundSource *source)=0
 Removes a sound source from the engine, freeing the memory it occupies.
virtual void removeSoundSource (const ik_c8 *name)=0
 Removes a sound source from the engine, freeing the memory it occupies.
virtual void removeAllSoundSources ()=0
 Removes all sound sources from the engine.
virtual void setSoundVolume (ik_f32 volume)=0
 Sets master sound volume. This value is multiplied with all sounds played.
virtual ik_f32 getSoundVolume ()=0
 Returns master sound volume.
virtual void setListenerPosition (const vec3df &pos, const vec3df &lookdir, const vec3df &velPerSecond=vec3df(0, 0, 0), const vec3df &upVector=vec3df(0, 1, 0))=0
 Sets the current listener 3d position.
virtual void update ()=0
 Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode.
virtual bool isCurrentlyPlaying (const char *soundName)=0
 Returns if a sound with the specified name is currently playing.
virtual bool isCurrentlyPlaying (ISoundSource *source)=0
 Returns if a sound with the specified source is currently playing.
virtual void stopAllSoundsOfSoundSource (ISoundSource *source)=0
 Stops all sounds of a specific sound source.
virtual void registerAudioStreamLoader (IAudioStreamLoader *loader)=0
 Registers a new audio stream loader in the sound engine.
virtual bool isMultiThreaded () const =0
 Returns if irrKlang is running in the same thread as the application or is using multithreading.
virtual void addFileFactory (IFileFactory *fileFactory)=0
 Adds a file factory to the sound engine, making it possible to override file access of the sound engine.
virtual void setDefault3DSoundMinDistance (ik_f32 minDistance)=0
 Sets the default minimal distance for 3D sounds.
virtual ik_f32 getDefault3DSoundMinDistance ()=0
 Returns the default minimal distance for 3D sounds.
virtual void setDefault3DSoundMaxDistance (ik_f32 maxDistance)=0
 Sets the default maximal distance for 3D sounds.
virtual ik_f32 getDefault3DSoundMaxDistance ()=0
 Returns the default maximal distance for 3D sounds.
virtual void setRolloffFactor (ik_f32 rolloff)=0
 Sets a rolloff factor which influences the amount of attenuation that is applied to 3D sounds.
virtual void setDopplerEffectParameters (ik_f32 dopplerFactor=1.0f, ik_f32 distanceFactor=1.0f)=0
 Sets parameters affecting the doppler effect.
virtual bool loadPlugins (const ik_c8 *path)=0
 Loads irrKlang plugins from a custom path.
virtual const
+SInternalAudioInterface
getInternalAudioInterface ()=0
 Returns a pointer to internal sound engine pointers, like the DirectSound interface.
virtual bool setMixedDataOutputReceiver (ISoundMixedOutputReceiver *receiver)=0
 Sets the OutputMixedDataReceiver, so you can receive the pure mixed output audio data while it is being played.
+

Detailed Description

+

Interface to the sound engine, for playing 3d and 2d sound and music.

+

This is the main interface of irrKlang. You usually would create this using the createIrrKlangDevice() function.

+

Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::addFileFactory (IFileFactory fileFactory )  [pure virtual]
+
+
+ +

Adds a file factory to the sound engine, making it possible to override file access of the sound engine.

+

Derive your own class from IFileFactory, overwrite the createFileReader() method and return your own implemented IFileReader to overwrite file access of irrKlang.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::addSoundSourceAlias (ISoundSource baseSource,
const ik_c8 soundName 
) [pure virtual]
+
+
+ +

Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings.

+

This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances.

+
Parameters:
+ + + +
baseSource The sound source where this sound source should be based on. This sound source will use the baseSource as base to access the file and similar, but it will have its own name and its own default settings.
soundName Name of the new sound source to be added.
+
+
+
Returns:
Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::addSoundSourceFromFile (const ik_c8 fileName,
E_STREAM_MODE  mode = ESM_AUTO_DETECT,
bool  preload = false 
) [pure virtual]
+
+
+ +

Adds sound source into the sound engine as file.

+
Parameters:
+ + + + +
fileName Name of the sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D().
mode Streaming mode for this sound source
preload If this flag is set to false (which is default) the sound engine will not try to load the sound file when calling this method, but only when play() is called with this sound source as parameter. Otherwise the sound will be preloaded.
+
+
+
Returns:
Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you want and drop() it then later of course.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::addSoundSourceFromMemory (void *  memory,
ik_s32  sizeInBytes,
const ik_c8 soundName,
bool  copyMemory = true 
) [pure virtual]
+
+
+ +

Adds a sound source into the sound engine as memory source.

+

Note: This method only accepts a file (.wav, .ogg, etc) which is totally loaded into memory. If you want to add a sound source from decoded plain PCM data in memory, use addSoundSourceFromPCMData() instead.

+
Parameters:
+ + + + + +
memory Pointer to the memory to be treated as loaded sound file.
sizeInBytes Size of the memory chunk, in bytes.
soundName Name of the virtual sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D(). Hint: If you include the extension of the original file like .ogg, .mp3 or .wav at the end of the filename, irrKlang will be able to decide better what file format it is and might be able to start playback faster.
copyMemory If set to true which is default, the memory block is copied and stored in the engine, after calling addSoundSourceFromMemory() the memory pointer can be deleted savely. If set to false, the memory is not copied and the user takes the responsibility that the memory block pointed to remains there as long as the sound engine or at least this sound source exists.
+
+
+
Returns:
Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you want and drop() it then later of course.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::addSoundSourceFromPCMData (void *  memory,
ik_s32  sizeInBytes,
const ik_c8 soundName,
SAudioStreamFormat  format,
bool  copyMemory = true 
) [pure virtual]
+
+
+ +

Adds a sound source into the sound engine from plain PCM data in memory.

+
Parameters:
+ + + + + +
memory Pointer to the memory to be treated as loaded sound file.
sizeInBytes Size of the memory chunk, in bytes.
soundName Name of the virtual sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D().
copyMemory If set to true which is default, the memory block is copied and stored in the engine, after calling addSoundSourceFromPCMData() the memory pointer can be deleted savely. If set to true, the memory is not copied and the user takes the responsibility that the memory block pointed to remains there as long as the sound engine or at least this sound source exists.
+
+
+
Returns:
Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundEngine::getDefault3DSoundMaxDistance ( )  [pure virtual]
+
+
+ +

Returns the default maximal distance for 3D sounds.

+

This value influences how loud a sound is heard based on its distance. You can change it using setDefault3DSoundmaxDistance(), but changing this value is usually not necessary. This value causes the sound to stop attenuating after it reaches the max distance. Most people think that this sets the volume of the sound to 0 after this distance, but this is not true. Only change the minimal distance (using for example setDefault3DSoundMinDistance()) to influence this. See ISound::setMaxDistance() for details about what the max distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMaxDistance().

+
Returns:
Default maximal distance for 3d sounds. The default value is 1000000000.0f.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundEngine::getDefault3DSoundMinDistance ( )  [pure virtual]
+
+
+ +

Returns the default minimal distance for 3D sounds.

+

This value influences how loud a sound is heard based on its distance. You can change it using setDefault3DSoundMinDistance(). See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance().

+
Returns:
Default minimal distance for 3d sounds. The default value is 1.0f.
+ +
+
+ +
+
+ + + + + + + + +
virtual const char* irrklang::ISoundEngine::getDriverName ( )  [pure virtual]
+
+
+ +

returns the name of the sound driver, like 'ALSA' for the alsa device

+

Possible returned strings are "NULL", "ALSA", "CoreAudio", "winMM", "DirectSound" and "DirectSound8".

+ +
+
+ +
+
+ + + + + + + + +
virtual const SInternalAudioInterface& irrklang::ISoundEngine::getInternalAudioInterface ( )  [pure virtual]
+
+
+ +

Returns a pointer to internal sound engine pointers, like the DirectSound interface.

+

Use this with caution. This is only exposed to make it possible for other libraries such as Video playback packages to extend or use the sound driver irrklang uses.

+ +
+
+ +
+
+ + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::getSoundSource (ik_s32  index )  [pure virtual]
+
+
+ +

Returns a sound source by index.

+
Parameters:
+ + +
idx,: Index of the loaded sound source, must by smaller than getSoundSourceCount().
+
+
+
Returns:
Returns the sound source or 0 if not available. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you want and drop() it then later of course.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ISoundSource* irrklang::ISoundEngine::getSoundSource (const ik_c8 soundName,
bool  addIfNotFound = true 
) [pure virtual]
+
+
+ +

Gets a sound source by sound name. Adds the sound source as file into the sound engine if not loaded already.

+

Please note: For performance reasons most ISoundEngine implementations will not try to load the sound when calling this method, but only when play() is called with this sound source as parameter.

+
Parameters:
+ + +
addIfNotFound if 'true' adds the sound source to the list and returns the interface to it if it cannot be found in the sound source list. If 'false', returns 0 if the sound source is not in the list and does not modify the list. Default value: true.
+
+
+
Returns:
Returns the sound source or 0 if not available. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you want and drop() it then later of course.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_s32 irrklang::ISoundEngine::getSoundSourceCount ( )  [pure virtual]
+
+
+ +

Returns amount of loaded sound sources.

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundEngine::getSoundVolume ( )  [pure virtual]
+
+
+ +

Returns master sound volume.

+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISoundEngine::isCurrentlyPlaying (ISoundSource source )  [pure virtual]
+
+
+ +

Returns if a sound with the specified source is currently playing.

+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISoundEngine::isCurrentlyPlaying (const char *  soundName )  [pure virtual]
+
+
+ +

Returns if a sound with the specified name is currently playing.

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundEngine::isMultiThreaded ( )  const [pure virtual]
+
+
+ +

Returns if irrKlang is running in the same thread as the application or is using multithreading.

+

This basicly returns the flag set by the user when creating the sound engine.

+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISoundEngine::loadPlugins (const ik_c8 path )  [pure virtual]
+
+
+ +

Loads irrKlang plugins from a custom path.

+

Plugins usually are .dll, .so or .dylib files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which make it possible to play back mp3 files. Plugins are being loaded from the current working directory at startup of the sound engine if the parameter ESEO_LOAD_PLUGINS is set (which it is by default), but using this method, it is possible to load plugins from a custom path in addition.

+
Parameters:
+ + +
path Path to the plugin directory, like "C:\games\somegamegame\irrklangplugins".
+
+
+
Returns:
returns true if sucessful or fals if not, for example because the path could not be found.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISound* irrklang::ISoundEngine::play2D (ISoundSource source,
bool  playLooped = false,
bool  startPaused = false,
bool  track = false,
bool  enableSoundEffects = false 
) [pure virtual]
+
+
+ +

Plays a sound source as 2D sound with its default settings stored in ISoundSource.

+

An ISoundSource object will be created internally when playing a sound the first time, or can be added with getSoundSource().

+
Parameters:
+ + + + + + +
source The sound source, specifiying sound file source and default settings for this file. Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this.
playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to ISound have no effect after such a non looped sound has been stopped automaticly.
startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details.
track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details.
enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary.
+
+
+
Returns:
Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISound* irrklang::ISoundEngine::play2D (const char *  soundFileName,
bool  playLooped = false,
bool  startPaused = false,
bool  track = false,
E_STREAM_MODE  streamMode = ESM_AUTO_DETECT,
bool  enableSoundEffects = false 
) [pure virtual]
+
+
+ +

loads a sound source (if not loaded already) from a file and plays it.

+
Parameters:
+ + + + + + + +
sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg".
playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to ISound have no effect after such a non looped sound has been stopped automaticly.
startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details.
track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details.
streamMode Specifies if the file should be streamed or loaded completely into memory for playing. ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the engine, this parameter has no effect.
enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary.
+
+
+
Returns:
Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISound* irrklang::ISoundEngine::play3D (ISoundSource source,
vec3df  pos,
bool  playLooped = false,
bool  startPaused = false,
bool  track = false,
bool  enableSoundEffects = false 
) [pure virtual]
+
+
+ +

Plays a sound source as 3D sound with its default settings stored in ISoundSource.

+

An ISoundSource object will be created internally when playing a sound the first time, or can be added with getSoundSource(). There is some example code on how to work with 3D sound 3D Sound.

+
Parameters:
+ + + + + + + +
source The sound source, specifiying sound file source and default settings for this file. Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this.
pos Position of the 3D sound.
playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to ISound have no effect after such a non looped sound has been stopped automaticly.
startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details.
track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details.
enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary.
+
+
+
Returns:
Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual ISound* irrklang::ISoundEngine::play3D (const char *  soundFileName,
vec3df  pos,
bool  playLooped = false,
bool  startPaused = false,
bool  track = false,
E_STREAM_MODE  streamMode = ESM_AUTO_DETECT,
bool  enableSoundEffects = false 
) [pure virtual]
+
+
+ +

Loads a sound source (if not loaded already) from a file and plays it as 3D sound.

+

There is some example code on how to work with 3D sound at 3D Sound.

+
Parameters:
+ + + + + + + + +
sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg".
pos Position of the 3D sound.
playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to ISound have no effect after such a non looped sound has been stopped automaticly.
startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details.
track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details.
streamMode Specifies if the file should be streamed or loaded completely into memory for playing. ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the engine, this parameter has no effect.
enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary.
+
+
+
Returns:
Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::registerAudioStreamLoader (IAudioStreamLoader loader )  [pure virtual]
+
+
+ +

Registers a new audio stream loader in the sound engine.

+

Use this to enhance the audio engine to support other or new file formats. To do this, implement your own IAudioStreamLoader interface and register it with this method

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEngine::removeAllSoundSources ( )  [pure virtual]
+
+
+ +

Removes all sound sources from the engine.

+

This will also cause all sounds to be stopped. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::removeSoundSource (const ik_c8 name )  [pure virtual]
+
+
+ +

Removes a sound source from the engine, freeing the memory it occupies.

+

This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::removeSoundSource (ISoundSource source )  [pure virtual]
+
+
+ +

Removes a sound source from the engine, freeing the memory it occupies.

+

This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::setAllSoundsPaused (bool  bPaused = true )  [pure virtual]
+
+
+ +

Pauses or unpauses all currently playing sounds.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::setDefault3DSoundMaxDistance (ik_f32  maxDistance )  [pure virtual]
+
+
+ +

Sets the default maximal distance for 3D sounds.

+

Changing this value is usually not necessary. Use setDefault3DSoundMinDistance() instead. Don't change this value if you don't know what you are doing: This value causes the sound to stop attenuating after it reaches the max distance. Most people think that this sets the volume of the sound to 0 after this distance, but this is not true. Only change the minimal distance (using for example setDefault3DSoundMinDistance()) to influence this. See ISound::setMaxDistance() for details about what the max distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMaxDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().

+
Parameters:
+ + +
maxDistance Default maximal distance for 3d sounds. The default value is 1000000000.0f.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::setDefault3DSoundMinDistance (ik_f32  minDistance )  [pure virtual]
+
+
+ +

Sets the default minimal distance for 3D sounds.

+

This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().

+
Parameters:
+ + +
minDistance Default minimal distance for 3d sounds. The default value is 1.0f.
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual void irrklang::ISoundEngine::setDopplerEffectParameters (ik_f32  dopplerFactor = 1.0f,
ik_f32  distanceFactor = 1.0f 
) [pure virtual]
+
+
+ +

Sets parameters affecting the doppler effect.

+
Parameters:
+ + + +
dopplerFactor is a value between 0 and 10 which multiplies the doppler effect. Default value is 1.0, which is the real world doppler effect, and 10.0f would be ten times the real world doppler effect.
distanceFactor is the number of meters in a vector unit. The default value is 1.0. Doppler effects are calculated in meters per second, with this parameter, this can be changed, all velocities and positions are influenced by this. If the measurement should be in foot instead of meters, set this value to 0.3048f for example.
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void irrklang::ISoundEngine::setListenerPosition (const vec3df pos,
const vec3df lookdir,
const vec3df velPerSecond = vec3df(0, 0, 0),
const vec3df upVector = vec3df(0, 1, 0) 
) [pure virtual]
+
+
+ +

Sets the current listener 3d position.

+

When playing sounds in 3D, updating the position of the listener every frame should be done using this function.

+
Parameters:
+ + + + + +
pos Position of the camera or listener.
lookdir Direction vector where the camera or listener is looking into. If you have a camera position and a target 3d point where it is looking at, this would be cam->getTarget() - cam->getAbsolutePosition().
velPerSecond The velocity per second describes the speed of the listener and is only needed for doppler effects.
upvector Vector pointing 'up', so the engine can decide where is left and right. This vector is usually (0,1,0).
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual bool irrklang::ISoundEngine::setMixedDataOutputReceiver (ISoundMixedOutputReceiver receiver )  [pure virtual]
+
+
+ +

Sets the OutputMixedDataReceiver, so you can receive the pure mixed output audio data while it is being played.

+

This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. This works only with software based audio drivers, that is ESOD_WIN_MM, ESOD_ALSA, and ESOD_CORE_AUDIO. Returns true if sucessful and fals if the current audio driver doesn't support this feature. Set this to null again once you don't need it anymore.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::setRolloffFactor (ik_f32  rolloff )  [pure virtual]
+
+
+ +

Sets a rolloff factor which influences the amount of attenuation that is applied to 3D sounds.

+

The rolloff factor can range from 0.0 to 10.0, where 0 is no rolloff. 1.0 is the default rolloff factor set, the value which we also experience in the real world. A value of 2 would mean twice the real-world rolloff.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::setSoundVolume (ik_f32  volume )  [pure virtual]
+
+
+ +

Sets master sound volume. This value is multiplied with all sounds played.

+
Parameters:
+ + +
volume 0 (silent) to 1.0f (full volume)
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEngine::stopAllSounds ( )  [pure virtual]
+
+
+ +

Stops all currently playing sounds.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundEngine::stopAllSoundsOfSoundSource (ISoundSource source )  [pure virtual]
+
+
+ +

Stops all sounds of a specific sound source.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundEngine::update ( )  [pure virtual]
+
+
+ +

Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode.

+

This updates the 3d positions of the sounds as well as their volumes, effects, streams and other stuff. Call this several times per frame (the more the better) if you specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver-members.html new file mode 100644 index 0000000..c7e7dcb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver-members.html @@ -0,0 +1,82 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundMixedOutputReceiver Member List

This is the complete list of members for irrklang::ISoundMixedOutputReceiver, including all inherited members. + + +
OnAudioDataReady(const void *data, int byteCount, int playbackrate)=0irrklang::ISoundMixedOutputReceiver [pure virtual]
~ISoundMixedOutputReceiver()irrklang::ISoundMixedOutputReceiver [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver.html new file mode 100644 index 0000000..8eab171 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_mixed_output_receiver.html @@ -0,0 +1,166 @@ + + + + + +irrKlang: irrklang::ISoundMixedOutputReceiver Class Reference + + + + + + + + + +
+

irrklang::ISoundMixedOutputReceiver Class Reference

+

Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine. +More...

+ +

#include <ik_ISoundMixedOutputReceiver.h>

+ +

List of all members.

+ + + + + + +

Public Member Functions

virtual ~ISoundMixedOutputReceiver ()
 destructor
virtual void OnAudioDataReady (const void *data, int byteCount, int playbackrate)=0
 Called when a chunk of sound has been mixed and is about to be played.
+

Detailed Description

+

Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine.

+

This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. Simply implement your own class derived from ISoundMixedOutputReceiver and use ISoundEngine::setMixedDataOutputReceiver to let the audio driver know about it.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::ISoundMixedOutputReceiver::~ISoundMixedOutputReceiver ( )  [inline, virtual]
+
+
+ +

destructor

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void irrklang::ISoundMixedOutputReceiver::OnAudioDataReady (const void *  data,
int  byteCount,
int  playbackrate 
) [pure virtual]
+
+
+ +

Called when a chunk of sound has been mixed and is about to be played.

+

Note: This is called from the playing thread of the sound library, so you need to make everything you are doing in this method thread safe. Additionally, it would be a good idea to do nothing complicated in your implementation and return as fast as possible, otherwise sound output may be stuttering.

+
Parameters:
+ + + + +
data representing the sound frames which just have been mixed. Sound data always consists of two interleaved sound channels at 16bit per frame.
byteCount Amount of bytes of the data
playbackrate The playback rate at samples per second (usually something like 44000). This value will not change and always be the same for an instance of an ISoundEngine.
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source-members.html new file mode 100644 index 0000000..6dd79d8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source-members.html @@ -0,0 +1,99 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundSource Member List

This is the complete list of members for irrklang::ISoundSource, including all inherited members. + + + + + + + + + + + + + + + + + + + +
drop()=0irrklang::IVirtualRefCounted [pure virtual]
forceReloadAtNextUse()=0irrklang::ISoundSource [pure virtual]
getAudioFormat()=0irrklang::ISoundSource [pure virtual]
getDefaultMaxDistance()=0irrklang::ISoundSource [pure virtual]
getDefaultMinDistance()=0irrklang::ISoundSource [pure virtual]
getDefaultVolume()=0irrklang::ISoundSource [pure virtual]
getForcedStreamingThreshold()=0irrklang::ISoundSource [pure virtual]
getIsSeekingSupported()=0irrklang::ISoundSource [pure virtual]
getName()=0irrklang::ISoundSource [pure virtual]
getPlayLength()=0irrklang::ISoundSource [pure virtual]
getSampleData()=0irrklang::ISoundSource [pure virtual]
getStreamMode()=0irrklang::ISoundSource [pure virtual]
grab()=0irrklang::IVirtualRefCounted [pure virtual]
setDefaultMaxDistance(ik_f32 maxDistance)=0irrklang::ISoundSource [pure virtual]
setDefaultMinDistance(ik_f32 minDistance)=0irrklang::ISoundSource [pure virtual]
setDefaultVolume(ik_f32 volume=1.0f)=0irrklang::ISoundSource [pure virtual]
setForcedStreamingThreshold(ik_s32 thresholdBytes)=0irrklang::ISoundSource [pure virtual]
setStreamMode(E_STREAM_MODE mode)=0irrklang::ISoundSource [pure virtual]
~IVirtualRefCounted()irrklang::IVirtualRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.gif new file mode 100644 index 0000000..4536c22 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.html new file mode 100644 index 0000000..1c0f9aa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_source.html @@ -0,0 +1,490 @@ + + + + + +irrKlang: irrklang::ISoundSource Class Reference + + + + + + + + + +
+

irrklang::ISoundSource Class Reference

+

A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. +More...

+ +

#include <ik_ISoundSource.h>

+
+Inheritance diagram for irrklang::ISoundSource:
+
+
+ + +irrklang::IVirtualRefCounted + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual const ik_c8getName ()=0
 Returns the name of the sound source (usually, this is the file name).
virtual void setStreamMode (E_STREAM_MODE mode)=0
 Sets the stream mode which should be used for a sound played from this source.
virtual E_STREAM_MODE getStreamMode ()=0
 Returns the detected or set type of the sound with wich the sound will be played.
virtual ik_u32 getPlayLength ()=0
 Returns the play length of the sound in milliseconds.
virtual SAudioStreamFormat getAudioFormat ()=0
 Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc.
virtual bool getIsSeekingSupported ()=0
 Returns if sounds played from this source will support seeking via ISound::setPlayPosition().
virtual void setDefaultVolume (ik_f32 volume=1.0f)=0
 Sets the default volume for a sound played from this source.
virtual ik_f32 getDefaultVolume ()=0
 Returns the default volume for a sound played from this source.
virtual void setDefaultMinDistance (ik_f32 minDistance)=0
 sets the default minimal distance for 3D sounds played from this source.
virtual ik_f32 getDefaultMinDistance ()=0
 Returns the default minimal distance for 3D sounds played from this source.
virtual void setDefaultMaxDistance (ik_f32 maxDistance)=0
 Sets the default maximal distance for 3D sounds played from this source.
virtual ik_f32 getDefaultMaxDistance ()=0
 returns the default maxmial distance for 3D sounds played from this source.
virtual void forceReloadAtNextUse ()=0
 Forces the sound to be reloaded at next replay.
virtual void setForcedStreamingThreshold (ik_s32 thresholdBytes)=0
 Sets the threshold size where irrKlang decides to force streaming a file independent of the user specified setting.
virtual ik_s32 getForcedStreamingThreshold ()=0
 Returns the threshold size where irrKlang decides to force streaming a file independent of the user specified setting.
virtual void * getSampleData ()=0
 Returns a pointer to the loaded and decoded sample data.
+

Detailed Description

+

A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings.

+

It provides some informations about the sound source like the play lenght and can have default settings for volume, distances for 3d etc. There is some example code on how to use Sound sources at Using Sound Sources.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual void irrklang::ISoundSource::forceReloadAtNextUse ( )  [pure virtual]
+
+
+ +

Forces the sound to be reloaded at next replay.

+

Sounds which are not played as streams are buffered to make it possible to replay them without much overhead. If the sound file is altered after the sound has been played the first time, the engine won't play the changed file then. Calling this method makes the engine reload the file before the file is played the next time.

+ +
+
+ +
+
+ + + + + + + + +
virtual SAudioStreamFormat irrklang::ISoundSource::getAudioFormat ( )  [pure virtual]
+
+
+ +

Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc.

+
Returns:
Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundSource::getDefaultMaxDistance ( )  [pure virtual]
+
+
+ +

returns the default maxmial distance for 3D sounds played from this source.

+

This value influences how loud a sound is heard based on its distance. Changing this value is usually not necessary. Use setDefaultMinDistance() instead. Don't change this value if you don't know what you are doing: This value causes the sound to stop attenuating after it reaches the max distance. Most people think that this sets the volume of the sound to 0 after this distance, but this is not true. Only change the minimal distance (using for example setDefaultMinDistance()) to influence this. See ISound::setMaxDistance() for details about what the max distance is.

+
Returns:
Default maximal distance for 3D sounds from this source. If setDefaultMaxDistance() was set to a negative value, it will return the default value set in the engine, using ISoundEngine::setDefault3DSoundMaxDistance(). Default value is -1, causing the default max distance of the sound engine to take effect.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundSource::getDefaultMinDistance ( )  [pure virtual]
+
+
+ +

Returns the default minimal distance for 3D sounds played from this source.

+

This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the minimal distance is.

+
Returns:
Default minimal distance for 3d sounds from this source. If setDefaultMinDistance() was set to a negative value, it will return the default value set in the engine, using ISoundEngine::setDefault3DSoundMinDistance(). Default value is -1, causing the default min distance of the sound engine to take effect.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_f32 irrklang::ISoundSource::getDefaultVolume ( )  [pure virtual]
+
+
+ +

Returns the default volume for a sound played from this source.

+

You can influence this default volume value using setDefaultVolume(). Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). !

+
Returns:
0 (silent) to 1.0f (full volume). Default value is 1.0f.
+ +
+
+ +
+
+ + + + + + + + +
virtual ik_s32 irrklang::ISoundSource::getForcedStreamingThreshold ( )  [pure virtual]
+
+
+ +

Returns the threshold size where irrKlang decides to force streaming a file independent of the user specified setting.

+

The value is specified in uncompressed bytes and its default value is about one Megabyte. See setForcedStreamingThreshold() for details.

+ +
+
+ +
+
+ + + + + + + + +
virtual bool irrklang::ISoundSource::getIsSeekingSupported ( )  [pure virtual]
+
+
+ +

Returns if sounds played from this source will support seeking via ISound::setPlayPosition().

+ +
+
+ +
+
+ + + + + + + + +
virtual const ik_c8* irrklang::ISoundSource::getName ( )  [pure virtual]
+
+
+ +

Returns the name of the sound source (usually, this is the file name).

+ +
+
+ +
+
+ + + + + + + + +
virtual ik_u32 irrklang::ISoundSource::getPlayLength ( )  [pure virtual]
+
+
+ +

Returns the play length of the sound in milliseconds.

+

Returns -1 if not known for this sound for example because its decoder does not support lenght reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.

+ +
+
+ +
+
+ + + + + + + + +
virtual void* irrklang::ISoundSource::getSampleData ( )  [pure virtual]
+
+
+ +

Returns a pointer to the loaded and decoded sample data.

+
Returns:
Returns a pointer to the sample data. The data is provided in decoded PCM data. The exact format can be retrieved using getAudioFormat(). Use getAudioFormat().getSampleDataSize() for getting the amount of bytes. The returned pointer will only be valid as long as the sound source exists. This function will only return a pointer to the data if the audio file is not streamed, namely ESM_NO_STREAMING. Otherwise this function will return 0. Note: If the sound never has been played before, the sound engine will have to open the file and decode audio data from there, so this call could take a bit depending on the type of the file.
+ +
+
+ +
+
+ + + + + + + + +
virtual E_STREAM_MODE irrklang::ISoundSource::getStreamMode ( )  [pure virtual]
+
+
+ +

Returns the detected or set type of the sound with wich the sound will be played.

+

Note: If the returned type is ESM_AUTO_DETECT, this mode will change after the sound has been played the first time.

+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundSource::setDefaultMaxDistance (ik_f32  maxDistance )  [pure virtual]
+
+
+ +

Sets the default maximal distance for 3D sounds played from this source.

+

Changing this value is usually not necessary. Use setDefaultMinDistance() instead. Don't change this value if you don't know what you are doing: This value causes the sound to stop attenuating after it reaches the max distance. Most people think that this sets the volume of the sound to 0 after this distance, but this is not true. Only change the minimal distance (using for example setDefaultMinDistance()) to influence this. See ISound::setMaxDistance() for details about what the max distance is. This method only influences the initial distance value of sounds. For changing the distance while the sound is played, use ISound::setMinDistance() and ISound::setMaxDistance().

+
Parameters:
+ + +
maxDistance Default maximal distance for 3D sounds from this source. Set it to a negative value to let sounds of this source use the engine level default max distance, which can be set via ISoundEngine::setDefault3DSoundMaxDistance(). Default value is -1, causing the default max distance of the sound engine to take effect.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundSource::setDefaultMinDistance (ik_f32  minDistance )  [pure virtual]
+
+
+ +

sets the default minimal distance for 3D sounds played from this source.

+

This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. This method only influences the initial distance value of sounds. For changing the distance while the sound is playing, use ISound::setMinDistance() and ISound::setMaxDistance().

+
Parameters:
+ + +
minDistance,: Default minimal distance for 3D sounds from this source. Set it to a negative value to let sounds of this source use the engine level default min distance, which can be set via ISoundEngine::setDefault3DSoundMinDistance(). Default value is -1, causing the default min distance of the sound engine to take effect.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundSource::setDefaultVolume (ik_f32  volume = 1.0f )  [pure virtual]
+
+
+ +

Sets the default volume for a sound played from this source.

+

The default value of this is 1.0f. Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). !

+
Parameters:
+ + +
volume 0 (silent) to 1.0f (full volume). Default value is 1.0f.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundSource::setForcedStreamingThreshold (ik_s32  thresholdBytes )  [pure virtual]
+
+
+ +

Sets the threshold size where irrKlang decides to force streaming a file independent of the user specified setting.

+

When specifying ESM_NO_STREAMING for playing back a sound file, irrKlang will ignore this setting if the file is bigger than this threshold and stream the file anyway. Please note that if an audio format loader is not able to return the size of a sound source and returns -1 as length, this will be ignored as well and streaming has to be forced.

+
Parameters:
+ + +
threshold,: New threshold. The value is specified in uncompressed bytes and its default value is about one Megabyte. Set to 0 or a negative value to disable stream forcing.
+
+
+ +
+
+ +
+
+ + + + + + + + + +
virtual void irrklang::ISoundSource::setStreamMode (E_STREAM_MODE  mode )  [pure virtual]
+
+
+ +

Sets the stream mode which should be used for a sound played from this source.

+

Note that if this is set to ESM_NO_STREAMING, the engine still might decide to stream the sound if it is too big. The threashold for this can be adjusted using ISoundSource::setForcedStreamingThreshold().

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver-members.html new file mode 100644 index 0000000..9535aff --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver-members.html @@ -0,0 +1,82 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::ISoundStopEventReceiver Member List

This is the complete list of members for irrklang::ISoundStopEventReceiver, including all inherited members. + + +
OnSoundStopped(ISound *sound, E_STOP_EVENT_CAUSE reason, void *userData)=0irrklang::ISoundStopEventReceiver [pure virtual]
~ISoundStopEventReceiver()irrklang::ISoundStopEventReceiver [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver.html new file mode 100644 index 0000000..cf2405e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_sound_stop_event_receiver.html @@ -0,0 +1,166 @@ + + + + + +irrKlang: irrklang::ISoundStopEventReceiver Class Reference + + + + + + + + + +
+

irrklang::ISoundStopEventReceiver Class Reference

+

Interface to be implemented by the user, which recieves sound stop events. +More...

+ +

#include <ik_ISoundStopEventReceiver.h>

+ +

List of all members.

+ + + + + + +

Public Member Functions

virtual ~ISoundStopEventReceiver ()
 destructor
virtual void OnSoundStopped (ISound *sound, E_STOP_EVENT_CAUSE reason, void *userData)=0
 Called when a sound has stopped playing.
+

Detailed Description

+

Interface to be implemented by the user, which recieves sound stop events.

+

The interface has only one method to be implemented by the user: OnSoundStopped(). Implement this interface and set it via ISound::setSoundStopEventReceiver(). The sound stop event is guaranteed to be called when a sound or sound stream is finished, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::ISoundStopEventReceiver::~ISoundStopEventReceiver ( )  [inline, virtual]
+
+
+ +

destructor

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void irrklang::ISoundStopEventReceiver::OnSoundStopped (ISound sound,
E_STOP_EVENT_CAUSE  reason,
void *  userData 
) [pure virtual]
+
+
+ +

Called when a sound has stopped playing.

+

This is the only method to be implemented by the user. The sound stop event is guaranteed to be called when a sound or sound stream is finished, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. Please note: Sound events will occur in a different thread when the engine runs in multi threaded mode (default). In single threaded mode, the event will happen while the user thread is calling ISoundEngine::update().

+
Parameters:
+ + + + +
sound,: Sound which has been stopped.
reason,: The reason why the sound stop event was fired. Usually, this will be ESEC_SOUND_FINISHED_PLAYING. When the sound was aborded by calling ISound::stop() or ISoundEngine::stopAllSounds();, this would be ESEC_SOUND_STOPPED_BY_USER. If irrKlang was deleted or the sound source was removed, the value is ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL.
userData,: userData pointer set by the user when registering the interface via ISound::setSoundStopEventReceiver().
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted-members.html new file mode 100644 index 0000000..6efa488 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted-members.html @@ -0,0 +1,83 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::IVirtualRefCounted Member List

This is the complete list of members for irrklang::IVirtualRefCounted, including all inherited members. + + + +
drop()=0irrklang::IVirtualRefCounted [pure virtual]
grab()=0irrklang::IVirtualRefCounted [pure virtual]
~IVirtualRefCounted()irrklang::IVirtualRefCounted [inline, virtual]
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.gif new file mode 100644 index 0000000..9ce59ee Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.html new file mode 100644 index 0000000..028bb1e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1_i_virtual_ref_counted.html @@ -0,0 +1,175 @@ + + + + + +irrKlang: irrklang::IVirtualRefCounted Class Reference + + + + + + + + + +
+

irrklang::IVirtualRefCounted Class Reference

+

Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted. +More...

+ +

#include <ik_IVirtualRefCounted.h>

+
+Inheritance diagram for irrklang::IVirtualRefCounted:
+
+
+ + +irrklang::ISound +irrklang::ISoundSource + +
+
+ +

List of all members.

+ + + + + + + + +

Public Member Functions

virtual ~IVirtualRefCounted ()
 Destructor.
virtual void grab ()=0
 Grabs the object. Increments the reference counter by one.
virtual bool drop ()=0
 Drops the object. Decrements the reference counter by one.
+

Detailed Description

+

Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted.

+

See IRefCounted for the basics of this class. The difference to IRefCounted is that the class has to implement reference counting for itself.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual irrklang::IVirtualRefCounted::~IVirtualRefCounted ( )  [inline, virtual]
+
+
+ +

Destructor.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
virtual bool irrklang::IVirtualRefCounted::drop ( )  [pure virtual]
+
+
+ +

Drops the object. Decrements the reference counter by one.

+

To be implemented by the derived class. If you don't want to implement this, use the class IRefCounted instead. See IRefCounted::grab() for details of this method.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irrklang::IVirtualRefCounted::grab ( )  [pure virtual]
+
+
+ +

Grabs the object. Increments the reference counter by one.

+

To be implemented by the derived class. If you don't want to implement this, use the class IRefCounted instead. See IRefCounted::grab() for details of this method.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d-members.html new file mode 100644 index 0000000..1b50e44 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d-members.html @@ -0,0 +1,123 @@ + + + + + +irrKlang: Member List + + + + + + + + + +
+

irrklang::vec3d< T > Member List

This is the complete list of members for irrklang::vec3d< T >, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
crossProduct(const vec3d< T > &p) const irrklang::vec3d< T > [inline]
dotProduct(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
equals(const vec3d< T > &other)irrklang::vec3d< T > [inline]
getAs4Values(T *array)irrklang::vec3d< T > [inline]
getDistanceFrom(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
getDistanceFromSQ(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
getHorizontalAngle()irrklang::vec3d< T > [inline]
getInterpolated(const vec3d< T > &other, ik_f32 d) const irrklang::vec3d< T > [inline]
getLength() const irrklang::vec3d< T > [inline]
getLengthSQ() const irrklang::vec3d< T > [inline]
invert()irrklang::vec3d< T > [inline]
isBetweenPoints(const vec3d< T > &begin, const vec3d< T > &end) const irrklang::vec3d< T > [inline]
normalize()irrklang::vec3d< T > [inline]
operator!=(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator*(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator*(const T v) const irrklang::vec3d< T > [inline]
operator*=(const vec3d< T > &other)irrklang::vec3d< T > [inline]
operator*=(const T v)irrklang::vec3d< T > [inline]
operator+(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator+=(const vec3d< T > &other)irrklang::vec3d< T > [inline]
operator-() const irrklang::vec3d< T > [inline]
operator-(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator-=(const vec3d< T > &other)irrklang::vec3d< T > [inline]
operator/(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator/(const T v) const irrklang::vec3d< T > [inline]
operator/=(const vec3d< T > &other)irrklang::vec3d< T > [inline]
operator/=(const T v)irrklang::vec3d< T > [inline]
operator<=(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator=(const vec3d< T > &other)irrklang::vec3d< T > [inline]
operator==(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
operator>=(const vec3d< T > &other) const irrklang::vec3d< T > [inline]
rotateXYBy(ik_f64 degrees, const vec3d< T > &center)irrklang::vec3d< T > [inline]
rotateXZBy(ik_f64 degrees, const vec3d< T > &center)irrklang::vec3d< T > [inline]
rotateYZBy(ik_f64 degrees, const vec3d< T > &center)irrklang::vec3d< T > [inline]
set(const T nx, const T ny, const T nz)irrklang::vec3d< T > [inline]
set(const vec3d< T > &p)irrklang::vec3d< T > [inline]
setLength(T newlength)irrklang::vec3d< T > [inline]
vec3d()irrklang::vec3d< T > [inline]
vec3d(T nx, T ny, T nz)irrklang::vec3d< T > [inline]
vec3d(const vec3d< T > &other)irrklang::vec3d< T > [inline]
Xirrklang::vec3d< T >
Yirrklang::vec3d< T >
Zirrklang::vec3d< T >
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d.html new file mode 100644 index 0000000..6089f06 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/classirrklang_1_1vec3d.html @@ -0,0 +1,1142 @@ + + + + + +irrKlang: irrklang::vec3d< T > Class Template Reference + + + + + + + + + +
+

irrklang::vec3d< T > Class Template Reference

+

a 3d vector template class for representing vectors and points in 3d +More...

+ +

#include <ik_vec3d.h>

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 vec3d ()
 vec3d (T nx, T ny, T nz)
 vec3d (const vec3d< T > &other)
vec3d< T > operator- () const
 constructor creating an irrklang vec3d from an irrlicht vector.
vec3d< T > & operator= (const vec3d< T > &other)
vec3d< T > operator+ (const vec3d< T > &other) const
vec3d< T > & operator+= (const vec3d< T > &other)
vec3d< T > operator- (const vec3d< T > &other) const
vec3d< T > & operator-= (const vec3d< T > &other)
vec3d< T > operator* (const vec3d< T > &other) const
vec3d< T > & operator*= (const vec3d< T > &other)
vec3d< T > operator* (const T v) const
vec3d< T > & operator*= (const T v)
vec3d< T > operator/ (const vec3d< T > &other) const
vec3d< T > & operator/= (const vec3d< T > &other)
vec3d< T > operator/ (const T v) const
vec3d< T > & operator/= (const T v)
bool operator<= (const vec3d< T > &other) const
bool operator>= (const vec3d< T > &other) const
bool operator== (const vec3d< T > &other) const
bool operator!= (const vec3d< T > &other) const
bool equals (const vec3d< T > &other)
 returns if this vector equalsfloat the other one, taking floating point rounding errors into account
void set (const T nx, const T ny, const T nz)
void set (const vec3d< T > &p)
ik_f64 getLength () const
 Returns length of the vector.
ik_f64 getLengthSQ () const
 Returns squared length of the vector.
dotProduct (const vec3d< T > &other) const
 Returns the dot product with another vector.
ik_f64 getDistanceFrom (const vec3d< T > &other) const
 Returns distance from an other point.
ik_f32 getDistanceFromSQ (const vec3d< T > &other) const
 Returns squared distance from an other point.
vec3d< T > crossProduct (const vec3d< T > &p) const
 Calculates the cross product with another vector.
bool isBetweenPoints (const vec3d< T > &begin, const vec3d< T > &end) const
 Returns if this vector interpreted as a point is on a line between two other points.
vec3d< T > & normalize ()
 Normalizes the vector.
void setLength (T newlength)
 Sets the lenght of the vector to a new value.
void invert ()
 Inverts the vector.
void rotateXZBy (ik_f64 degrees, const vec3d< T > &center)
void rotateXYBy (ik_f64 degrees, const vec3d< T > &center)
void rotateYZBy (ik_f64 degrees, const vec3d< T > &center)
vec3d< T > getInterpolated (const vec3d< T > &other, ik_f32 d) const
 Returns interpolated vector.
vec3d< T > getHorizontalAngle ()
 Gets the Y and Z rotations of a vector.
void getAs4Values (T *array)
 Fills an array of 4 values with the vector data (usually floats).

Public Attributes

X
Y
Z
+

Detailed Description

+

template<class T>
+ class irrklang::vec3d< T >

+ +

a 3d vector template class for representing vectors and points in 3d

+

Constructor & Destructor Documentation

+ +
+
+
+template<class T>
+ + + + + + + + +
irrklang::vec3d< T >::vec3d ( )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + + + + + + + +
irrklang::vec3d< T >::vec3d ( nx,
ny,
nz 
) [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
irrklang::vec3d< T >::vec3d (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+

Member Function Documentation

+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::crossProduct (const vec3d< T > &  p )  const [inline]
+
+
+ +

Calculates the cross product with another vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
T irrklang::vec3d< T >::dotProduct (const vec3d< T > &  other )  const [inline]
+
+
+ +

Returns the dot product with another vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
bool irrklang::vec3d< T >::equals (const vec3d< T > &  other )  [inline]
+
+
+ +

returns if this vector equalsfloat the other one, taking floating point rounding errors into account

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
void irrklang::vec3d< T >::getAs4Values (T *  array )  [inline]
+
+
+ +

Fills an array of 4 values with the vector data (usually floats).

+

Useful for setting in shader constants for example. The fourth value will always be 0.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
ik_f64 irrklang::vec3d< T >::getDistanceFrom (const vec3d< T > &  other )  const [inline]
+
+
+ +

Returns distance from an other point.

+

Here, the vector is interpreted as point in 3 dimensional space.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
ik_f32 irrklang::vec3d< T >::getDistanceFromSQ (const vec3d< T > &  other )  const [inline]
+
+
+ +

Returns squared distance from an other point.

+

Here, the vector is interpreted as point in 3 dimensional space.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
vec3d<T> irrklang::vec3d< T >::getHorizontalAngle ( )  [inline]
+
+
+ +

Gets the Y and Z rotations of a vector.

+

Thanks to Arras on the Irrlicht forums to add this method.

+
Returns:
A vector representing the rotation in degrees of this vector. The Z component of the vector will always be 0.
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::getInterpolated (const vec3d< T > &  other,
ik_f32  d 
) const [inline]
+
+
+ +

Returns interpolated vector.

+
Parameters:
+ + + +
other,: other vector to interpolate between
d,: value between 0.0f and 1.0f.
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
ik_f64 irrklang::vec3d< T >::getLength ( )  const [inline]
+
+
+ +

Returns length of the vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
ik_f64 irrklang::vec3d< T >::getLengthSQ ( )  const [inline]
+
+
+ +

Returns squared length of the vector.

+

This is useful because it is much faster then getLength().

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
void irrklang::vec3d< T >::invert ( )  [inline]
+
+
+ +

Inverts the vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
bool irrklang::vec3d< T >::isBetweenPoints (const vec3d< T > &  begin,
const vec3d< T > &  end 
) const [inline]
+
+
+ +

Returns if this vector interpreted as a point is on a line between two other points.

+

It is assumed that the point is on the line.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::normalize ( )  [inline]
+
+
+ +

Normalizes the vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
bool irrklang::vec3d< T >::operator!= (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator* (const T  v )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator* (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator*= (const T  v )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator*= (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator+ (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator+= (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator- (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator- ( )  const [inline]
+
+
+ +

constructor creating an irrklang vec3d from an irrlicht vector.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator-= (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator/ (const T  v )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T> irrklang::vec3d< T >::operator/ (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator/= (const T  v )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator/= (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
bool irrklang::vec3d< T >::operator<= (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
vec3d<T>& irrklang::vec3d< T >::operator= (const vec3d< T > &  other )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
bool irrklang::vec3d< T >::operator== (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
bool irrklang::vec3d< T >::operator>= (const vec3d< T > &  other )  const [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
void irrklang::vec3d< T >::rotateXYBy (ik_f64  degrees,
const vec3d< T > &  center 
) [inline]
+
+
+

Rotates the vector by a specified number of degrees around the Z axis and the specified center.

+
Parameters:
+ + + +
degrees,: Number of degrees to rotate around the Z axis.
center,: The center of the rotation.
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
void irrklang::vec3d< T >::rotateXZBy (ik_f64  degrees,
const vec3d< T > &  center 
) [inline]
+
+
+

Rotates the vector by a specified number of degrees around the Y axis and the specified center.

+
Parameters:
+ + + +
degrees,: Number of degrees to rotate around the Y axis.
center,: The center of the rotation.
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
void irrklang::vec3d< T >::rotateYZBy (ik_f64  degrees,
const vec3d< T > &  center 
) [inline]
+
+
+

Rotates the vector by a specified number of degrees around the X axis and the specified center.

+
Parameters:
+ + + +
degrees,: Number of degrees to rotate around the X axis.
center,: The center of the rotation.
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
void irrklang::vec3d< T >::set (const vec3d< T > &  p )  [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + + + + + + + +
void irrklang::vec3d< T >::set (const T  nx,
const T  ny,
const T  nz 
) [inline]
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + +
void irrklang::vec3d< T >::setLength ( newlength )  [inline]
+
+
+ +

Sets the lenght of the vector to a new value.

+ +
+
+

Member Data Documentation

+ +
+
+
+template<class T>
+ + + + +
T irrklang::vec3d< T >::X
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + +
T irrklang::vec3d< T >::Y
+
+
+ +
+
+ +
+
+
+template<class T>
+ + + + +
T irrklang::vec3d< T >::Z
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.css b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.css new file mode 100644 index 0000000..9e3cb02 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.css @@ -0,0 +1,374 @@ +table.irrlicht { + width: 100%; + background-color: #AA0000; + text-align: center; + margin: 0px; + padding: 0px; + border-spacing: 4px 2px; + border-color: #b0b0b0; + border-width: 1px; + border-style: solid; +} + +table.irrlicht a:hover +{ + background-color: #2A3798; +} +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} +CAPTION { font-weight: bold } +DIV.qindex { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.nav { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navtab { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +TD.navtab { + font-size: 70%; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; +} +A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } +A.el { text-decoration: none; font-weight: bold } +A.elRef { font-weight: bold } +A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} +A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} +A.codeRef:link { font-weight: normal; color: #0000FF} +A.codeRef:visited { font-weight: normal; color: #0000FF} +A:hover { text-decoration: none; background-color: #f2f2ff } +DL.el { margin-left: -1cm } +.fragment { + font-family: monospace, fixed; + font-size: 95%; +} +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } + +DIV.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} +DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #e8eef2; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #e8eef2; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { text-align: center; } +IMG.formulaDsp { } +IMG.formulaInl { vertical-align: middle; } +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } +.mdescLeft { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplParams { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + color: #606060; + background-color: #FAFAFA; + font-size: 80%; +} +.search { color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +TD.tiny { font-size: 75%; +} +a { + color: #1A41A8; +} +a:visited { + color: #2A3798; +} +.dirtab { padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} +TH.dirtab { background: #e8eef2; + font-weight: bold; +} +HR { height: 1px; + border: none; + border-top: 1px solid black; +} + +/* Style for detailed member documentation */ +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; +} +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +.memitem { + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; +} +.memname { + white-space: nowrap; + font-weight: bold; +} +.memdoc{ + padding-left: 10px; +} +.memproto { + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; +} +.paramkey { + text-align: right; +} +.paramtype { + white-space: nowrap; +} +.paramname { + color: #602020; + font-style: italic; + white-space: nowrap; +} +/* End Styling for detailed member documentation */ + +/* for the tree view */ +.ftvtree { + font-family: sans-serif; + margin:0.5em; +} +.directory { font-size: 9pt; font-weight: bold; } +.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } +.directory > h3 { margin-top: 0; } +.directory p { margin: 0px; white-space: nowrap; } +.directory div { display: none; margin: 0px; } +.directory img { vertical-align: -30%; } diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.png b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.png new file mode 100644 index 0000000..f0a274b Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/doxygen.png differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/files.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/files.html new file mode 100644 index 0000000..0846bfa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/files.html @@ -0,0 +1,101 @@ + + + + + +irrKlang: File Index + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions.html new file mode 100644 index 0000000..86490ef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions.html @@ -0,0 +1,131 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- a -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x63.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x63.html new file mode 100644 index 0000000..eb45566 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x63.html @@ -0,0 +1,128 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- c -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x64.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x64.html new file mode 100644 index 0000000..b219be9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x64.html @@ -0,0 +1,150 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- d -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x65.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x65.html new file mode 100644 index 0000000..2cd6719 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x65.html @@ -0,0 +1,143 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- e -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x66.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x66.html new file mode 100644 index 0000000..5b173bb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x66.html @@ -0,0 +1,119 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- f -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x67.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x67.html new file mode 100644 index 0000000..ee52f14 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x67.html @@ -0,0 +1,260 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- g -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x69.html new file mode 100644 index 0000000..e8e6f01 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x69.html @@ -0,0 +1,167 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- i -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6c.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6c.html new file mode 100644 index 0000000..9838eaa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6c.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- l -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6e.html new file mode 100644 index 0000000..082c93f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6e.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- n -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6f.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6f.html new file mode 100644 index 0000000..15b5a27 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x6f.html @@ -0,0 +1,161 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- o -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x70.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x70.html new file mode 100644 index 0000000..fa28e05 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x70.html @@ -0,0 +1,134 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- p -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x72.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x72.html new file mode 100644 index 0000000..385e007 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x72.html @@ -0,0 +1,137 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- r -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x73.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x73.html new file mode 100644 index 0000000..cec2f8c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x73.html @@ -0,0 +1,219 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- s -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x75.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x75.html new file mode 100644 index 0000000..6cbf51c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x75.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- u -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x76.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x76.html new file mode 100644 index 0000000..860b5e5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x76.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- v -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x78.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x78.html new file mode 100644 index 0000000..557cd75 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x78.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- x -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x79.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x79.html new file mode 100644 index 0000000..f5fd4ed --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x79.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- y -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7a.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7a.html new file mode 100644 index 0000000..96aaefa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7a.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- z -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7e.html new file mode 100644 index 0000000..4e84e8d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_0x7e.html @@ -0,0 +1,137 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all class members with links to the classes they belong to: + +

- ~ -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_func.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_func.html new file mode 100644 index 0000000..fad1f94 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_func.html @@ -0,0 +1,685 @@ + + + + + +irrKlang: Class Members - Functions + + + + + + + + + +
+  + +

- a -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- i -

+ + +

- l -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+ + +

- v -

+ + +

- ~ -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_vars.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_vars.html new file mode 100644 index 0000000..4791828 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/functions_vars.html @@ -0,0 +1,124 @@ + + + + + +irrKlang: Class Members - Variables + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals.html new file mode 100644 index 0000000..22c0818 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals.html @@ -0,0 +1,95 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all file members with links to the files they belong to: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals_defs.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals_defs.html new file mode 100644 index 0000000..ab70a56 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/globals_defs.html @@ -0,0 +1,95 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/hierarchy.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/hierarchy.html new file mode 100644 index 0000000..ccacbff --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/hierarchy.html @@ -0,0 +1,103 @@ + + + + + +irrKlang: Hierarchical Index + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h.html new file mode 100644 index 0000000..5e9762b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h.html @@ -0,0 +1,105 @@ + + + + + +irrKlang: ik_ESoundEngineOptions.h File Reference + + + + + + + + + +
+

ik_ESoundEngineOptions.h File Reference

+

Go to the source code of this file.

+ + + + +

+

+ + + +

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Enumerations

enum  irrklang::E_SOUND_ENGINE_OPTIONS {
+  irrklang::ESEO_MULTI_THREADED = 0x01, +irrklang::ESEO_MUTE_IF_NOT_FOCUSED = 0x02, +irrklang::ESEO_LOAD_PLUGINS = 0x04, +irrklang::ESEO_USE_3D_BUFFERS = 0x08, +
+  irrklang::ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER = 0x10, +irrklang::ESEO_PRINT_DEBUG_INFO_TO_STDOUT = 0x20, +irrklang::ESEO_LINEAR_ROLLOFF = 0x40, +irrklang::ESEO_DEFAULT_OPTIONS = ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER | ESEO_PRINT_DEBUG_INFO_TO_STDOUT, +
+  irrklang::ESEO_FORCE_32_BIT = 0x7fffffff +
+ }
 

An enumeration for all options for starting up the sound engine.

+ More...
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h_source.html new file mode 100644 index 0000000..b801c7c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_engine_options_8h_source.html @@ -0,0 +1,120 @@ + + + + + +irrKlang: ik_ESoundEngineOptions.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h.html new file mode 100644 index 0000000..626ffb3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h.html @@ -0,0 +1,105 @@ + + + + + +irrKlang: ik_ESoundOutputDrivers.h File Reference + + + + + + + + + +
+

ik_ESoundOutputDrivers.h File Reference

+

Go to the source code of this file.

+ + + + +

+

+ + + +

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Enumerations

enum  irrklang::E_SOUND_OUTPUT_DRIVER {
+  irrklang::ESOD_AUTO_DETECT = 0, +irrklang::ESOD_DIRECT_SOUND_8, +irrklang::ESOD_DIRECT_SOUND, +irrklang::ESOD_WIN_MM, +
+  irrklang::ESOD_ALSA, +irrklang::ESOD_CORE_AUDIO, +irrklang::ESOD_NULL, +irrklang::ESOD_COUNT, +
+  irrklang::ESOD_FORCE_32_BIT = 0x7fffffff +
+ }
 

An enumeration for all types of supported sound drivers.

+ More...
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h_source.html new file mode 100644 index 0000000..ea8a772 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_sound_output_drivers_8h_source.html @@ -0,0 +1,116 @@ + + + + + +irrKlang: ik_ESoundOutputDrivers.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h.html new file mode 100644 index 0000000..84d90d7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h.html @@ -0,0 +1,96 @@ + + + + + +irrKlang: ik_EStreamModes.h File Reference + + + + + + + + + +
+

ik_EStreamModes.h File Reference

+

Go to the source code of this file.

+ + + + +

+

+ + + +

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Enumerations

enum  irrklang::E_STREAM_MODE { irrklang::ESM_AUTO_DETECT = 0, +irrklang::ESM_STREAMING, +irrklang::ESM_NO_STREAMING, +irrklang::ESM_FORCE_32_BIT = 0x7fffffff + }
 

An enumeration for all types of supported stream modes.

+ More...
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h_source.html new file mode 100644 index 0000000..4e1e5b5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___e_stream_modes_8h_source.html @@ -0,0 +1,101 @@ + + + + + +irrKlang: ik_EStreamModes.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h.html new file mode 100644 index 0000000..1f29d4f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h.html @@ -0,0 +1,95 @@ + + + + + +irrKlang: ik_IAudioRecorder.h File Reference + + + + + + + + + +
+

ik_IAudioRecorder.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_ISoundSource.h"
+ +

Go to the source code of this file.

+ + + + + + + + + +

+

+

Classes

class  irrklang::IAudioRecorder
 Interface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function. More...
class  irrklang::ICapturedAudioDataReceiver
 Interface to be implemented by the user if access to the recorded audio data is needed. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h_source.html new file mode 100644 index 0000000..0b2a064 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_recorder_8h_source.html @@ -0,0 +1,142 @@ + + + + + +irrKlang: ik_IAudioRecorder.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h.html new file mode 100644 index 0000000..d853c6d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h.html @@ -0,0 +1,93 @@ + + + + + +irrKlang: ik_IAudioStream.h File Reference + + + + + + + + + +
+

ik_IAudioStream.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_SAudioStreamFormat.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IAudioStream
 Reads and decodes audio data into an usable audio stream for the ISoundEngine. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h_source.html new file mode 100644 index 0000000..57de16e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_8h_source.html @@ -0,0 +1,113 @@ + + + + + +irrKlang: ik_IAudioStream.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h.html new file mode 100644 index 0000000..ea40e80 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h.html @@ -0,0 +1,93 @@ + + + + + +irrKlang: ik_IAudioStreamLoader.h File Reference + + + + + + + + + +
+

ik_IAudioStreamLoader.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_IFileReader.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IAudioStreamLoader
 Class which is able to create an audio file stream from a file. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h_source.html new file mode 100644 index 0000000..3b05e80 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_audio_stream_loader_8h_source.html @@ -0,0 +1,109 @@ + + + + + +irrKlang: ik_IAudioStreamLoader.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h.html new file mode 100644 index 0000000..7fc9514 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h.html @@ -0,0 +1,92 @@ + + + + + +irrKlang: ik_IFileFactory.h File Reference + + + + + + + + + +
+

ik_IFileFactory.h File Reference

#include "ik_IRefCounted.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IFileFactory
 Interface to overwrite file access in irrKlang. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h_source.html new file mode 100644 index 0000000..7bd5de2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_factory_8h_source.html @@ -0,0 +1,104 @@ + + + + + +irrKlang: ik_IFileFactory.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h.html new file mode 100644 index 0000000..889130e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h.html @@ -0,0 +1,92 @@ + + + + + +irrKlang: ik_IFileReader.h File Reference + + + + + + + + + +
+

ik_IFileReader.h File Reference

#include "ik_IRefCounted.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IFileReader
 Interface providing read acess to a file. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h_source.html new file mode 100644 index 0000000..0265a7d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_file_reader_8h_source.html @@ -0,0 +1,109 @@ + + + + + +irrKlang: ik_IFileReader.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h.html new file mode 100644 index 0000000..9c46818 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h.html @@ -0,0 +1,92 @@ + + + + + +irrKlang: ik_IRefCounted.h File Reference + + + + + + + + + +
+

ik_IRefCounted.h File Reference

#include "ik_irrKlangTypes.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IRefCounted
 Base class of most objects of the irrKlang. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h_source.html new file mode 100644 index 0000000..06deae2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_ref_counted_8h_source.html @@ -0,0 +1,125 @@ + + + + + +irrKlang: ik_IRefCounted.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h.html new file mode 100644 index 0000000..7a54f50 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h.html @@ -0,0 +1,94 @@ + + + + + +irrKlang: ik_ISound.h File Reference + + + + + + + + + +
+

ik_ISound.h File Reference

#include "ik_IVirtualRefCounted.h"
+#include "ik_ISoundEffectControl.h"
+#include "ik_vec3d.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::ISound
 Represents a sound which is currently played. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h_source.html new file mode 100644 index 0000000..c4cfdbb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_8h_source.html @@ -0,0 +1,174 @@ + + + + + +irrKlang: ik_ISound.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h.html new file mode 100644 index 0000000..51c11f4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h.html @@ -0,0 +1,92 @@ + + + + + +irrKlang: ik_ISoundDeviceList.h File Reference + + + + + + + + + +
+

ik_ISoundDeviceList.h File Reference

#include "ik_IRefCounted.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::ISoundDeviceList
 A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h_source.html new file mode 100644 index 0000000..d91b9cd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_device_list_8h_source.html @@ -0,0 +1,107 @@ + + + + + +irrKlang: ik_ISoundDeviceList.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h.html new file mode 100644 index 0000000..4dfaccb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h.html @@ -0,0 +1,93 @@ + + + + + +irrKlang: ik_ISoundEffectControl.h File Reference + + + + + + + + + +
+

ik_ISoundEffectControl.h File Reference

#include "ik_IVirtualRefCounted.h"
+#include "ik_vec3d.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::ISoundEffectControl
 Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h_source.html new file mode 100644 index 0000000..d107e2d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_effect_control_8h_source.html @@ -0,0 +1,205 @@ + + + + + +irrKlang: ik_ISoundEffectControl.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h.html new file mode 100644 index 0000000..08f0a3c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h.html @@ -0,0 +1,100 @@ + + + + + +irrKlang: ik_ISoundEngine.h File Reference + + + + + + + + + +
+

ik_ISoundEngine.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_vec3d.h"
+#include "ik_ISoundSource.h"
+#include "ik_ISound.h"
+#include "ik_EStreamModes.h"
+#include "ik_IFileFactory.h"
+#include "ik_ISoundMixedOutputReceiver.h"
+ +

Go to the source code of this file.

+ + + + + + + + + +

+

+

Classes

class  irrklang::ISoundEngine
 Interface to the sound engine, for playing 3d and 2d sound and music. More...
struct  irrklang::SInternalAudioInterface
 structure for returning pointers to the internal audio interface. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h_source.html new file mode 100644 index 0000000..3818b50 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_engine_8h_source.html @@ -0,0 +1,252 @@ + + + + + +irrKlang: ik_ISoundEngine.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h.html new file mode 100644 index 0000000..43809c4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h.html @@ -0,0 +1,93 @@ + + + + + +irrKlang: ik_ISoundMixedOutputReceiver.h File Reference + + + + + + + + + +
+

ik_ISoundMixedOutputReceiver.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_SAudioStreamFormat.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::ISoundMixedOutputReceiver
 Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h_source.html new file mode 100644 index 0000000..7cf1781 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_mixed_output_receiver_8h_source.html @@ -0,0 +1,109 @@ + + + + + +irrKlang: ik_ISoundMixedOutputReceiver.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h.html new file mode 100644 index 0000000..377e449 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h.html @@ -0,0 +1,95 @@ + + + + + +irrKlang: ik_ISoundSource.h File Reference + + + + + + + + + +
+

ik_ISoundSource.h File Reference

#include "ik_IVirtualRefCounted.h"
+#include "ik_vec3d.h"
+#include "ik_EStreamModes.h"
+#include "ik_SAudioStreamFormat.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::ISoundSource
 A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h_source.html new file mode 100644 index 0000000..3a13e33 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_source_8h_source.html @@ -0,0 +1,138 @@ + + + + + +irrKlang: ik_ISoundSource.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h.html new file mode 100644 index 0000000..a468231 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h.html @@ -0,0 +1,101 @@ + + + + + +irrKlang: ik_ISoundStopEventReceiver.h File Reference + + + + + + + + + +
+

ik_ISoundStopEventReceiver.h File Reference

#include "ik_IRefCounted.h"
+#include "ik_SAudioStreamFormat.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+ + + +

Classes

class  irrklang::ISoundStopEventReceiver
 Interface to be implemented by the user, which recieves sound stop events. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Enumerations

enum  irrklang::E_STOP_EVENT_CAUSE { irrklang::ESEC_SOUND_FINISHED_PLAYING = 0, +irrklang::ESEC_SOUND_STOPPED_BY_USER, +irrklang::ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL, +irrklang::ESEC_FORCE_32_BIT = 0x7fffffff + }
 

An enumeration listing all reasons for a fired sound stop event.

+ More...
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h_source.html new file mode 100644 index 0000000..4b687fd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_sound_stop_event_receiver_8h_source.html @@ -0,0 +1,121 @@ + + + + + +irrKlang: ik_ISoundStopEventReceiver.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h.html new file mode 100644 index 0000000..4f296ca --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h.html @@ -0,0 +1,92 @@ + + + + + +irrKlang: ik_IVirtualRefCounted.h File Reference + + + + + + + + + +
+

ik_IVirtualRefCounted.h File Reference

#include "ik_irrKlangTypes.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+

Classes

class  irrklang::IVirtualRefCounted
 Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted. More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h_source.html new file mode 100644 index 0000000..729401c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___i_virtual_ref_counted_8h_source.html @@ -0,0 +1,113 @@ + + + + + +irrKlang: ik_IVirtualRefCounted.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h.html new file mode 100644 index 0000000..a3e460c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h.html @@ -0,0 +1,98 @@ + + + + + +irrKlang: ik_SAudioStreamFormat.h File Reference + + + + + + + + + +
+

ik_SAudioStreamFormat.h File Reference

#include "ik_IRefCounted.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+ + + +

Classes

struct  irrklang::SAudioStreamFormat
 structure describing an audio stream format with helper functions More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Enumerations

enum  irrklang::ESampleFormat { irrklang::ESF_U8, +irrklang::ESF_S16 + }
 

audio sample data format enumeration for supported formats

+ More...
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h_source.html new file mode 100644 index 0000000..55ee767 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik___s_audio_stream_format_8h_source.html @@ -0,0 +1,135 @@ + + + + + +irrKlang: ik_SAudioStreamFormat.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h.html new file mode 100644 index 0000000..b4ea7dd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h.html @@ -0,0 +1,118 @@ + + + + + +irrKlang: ik_irrKlangTypes.h File Reference + + + + + + + + + +
+

ik_irrKlangTypes.h File Reference

#include <wchar.h>
+ +

Go to the source code of this file.

+ + + + +

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Typedefs

typedef unsigned char irrklang::ik_u8
 8 bit unsigned variable.
typedef signed char irrklang::ik_s8
 8 bit signed variable.
typedef char irrklang::ik_c8
 8 bit character variable.
typedef unsigned short irrklang::ik_u16
 16 bit unsigned variable.
typedef signed short irrklang::ik_s16
 16 bit signed variable.
typedef unsigned int irrklang::ik_u32
 32 bit unsigned variable.
typedef signed int irrklang::ik_s32
 32 bit signed variable.
typedef float irrklang::ik_f32
 32 bit floating point variable.
typedef double irrklang::ik_f64
 64 bit floating point variable.

Functions

bool irrklang::equalsfloat (const ik_f32 a, const ik_f32 b, const ik_f32 tolerance=IK_ROUNDING_ERROR_32)

Variables

const ik_f32 irrklang::IK_ROUNDING_ERROR_32 = 0.000001f
const ik_f64 irrklang::IK_PI64 = 3.1415926535897932384626433832795028841971693993751
const ik_f32 irrklang::IK_PI32 = 3.14159265359f
const ik_f32 irrklang::IK_RADTODEG = 180.0f / IK_PI32
const ik_f32 irrklang::IK_DEGTORAD = IK_PI32 / 180.0f
const ik_f64 irrklang::IK_RADTODEG64 = 180.0 / IK_PI64
const ik_f64 irrklang::IK_DEGTORAD64 = IK_PI64 / 180.0
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h_source.html new file mode 100644 index 0000000..a342486 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__irr_klang_types_8h_source.html @@ -0,0 +1,154 @@ + + + + + +irrKlang: ik_irrKlangTypes.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h.html new file mode 100644 index 0000000..6d0e2cc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h.html @@ -0,0 +1,101 @@ + + + + + +irrKlang: ik_vec3d.h File Reference + + + + + + + + + +
+

ik_vec3d.h File Reference

#include <math.h>
+#include "ik_irrKlangTypes.h"
+ +

Go to the source code of this file.

+ + + + + + + +

+

+ + + + + + + + +

Classes

class  irrklang::vec3d< T >
 a 3d vector template class for representing vectors and points in 3d More...

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Typedefs

typedef vec3d< ik_f32 > irrklang::vec3df
 Typedef for a ik_f32 3d vector, a vector using floats for X, Y and Z.
typedef vec3d< ik_s32 > irrklang::vec3di
 Typedef for an integer 3d vector, a vector using ints for X, Y and Z.

Functions

template<class S , class T >
vec3d< T > irrklang::operator* (const S scalar, const vec3d< T > &vector)
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h_source.html new file mode 100644 index 0000000..e1796b6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/ik__vec3d_8h_source.html @@ -0,0 +1,302 @@ + + + + + +irrKlang: ik_vec3d.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/index.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/index.html new file mode 100644 index 0000000..2295966 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/index.html @@ -0,0 +1,667 @@ + + + + + +irrKlang: irrKlang 1.6.0 API documentation + + + + + + + + + +
+

irrKlang 1.6.0 API documentation

+logobig.png +
+

+Contents

+

General:
+ Introduction
+ Features of irrKlang
+ Links into the API documentation
+ Tips and Tricks
+
+ Programming irrKlang:
+ Starting up the Engine
+ Playing Sounds
+ Influencing Sounds during Playback
+ Using Sound Sources
+ 3D Sound
+ Removing Sounds
+ Using Sound Events
+ Memory Playback
+ Sound Effects
+ Overriding File Access
+ Adding Audio Decoders
+ Creating irrKlang Plugins
+ Using irrKlang as static Lib
+ Enumerating sound devices
+ Recording Audio
+ Unicode support
+
+ Short full examples:
+ Quick Start Example
+ Quick Start Example 2
+
+
+

+

+Introduction

+

Welcome to the irrKlang API documentation. This page should give you a short overview over irrKlang, the high level audio library. In this documentation files you'll find any information you'll need to develop applications with irrKlang using C++. If you are looking for a tutorial on how to start, you'll find some on the homepage of irrKlang at http://www.ambiera.com/irrklang or inside the SDK in the directory .

+

The irrKlang library is intended to be an easy-to-use 3d and 2d sound engine, so this documentation is an important part of it. If you have any questions or suggestions, please take a look into the ambiera.com forum or just send a mail.

+


+
+

+

+Features of irrKlang

+

irrKlang is a high level 2D and 3D cross platform sound engine and audio library. It has a very simply object orientated interface and was designed to be used in games, scientific simulations, architectural visualizations and similar. irrKlang plays several file formats such as

+
    +
  • +RIFF WAVE (*.wav)
  • +
  • +Ogg Vorbis (*.ogg)
  • +
  • +MPEG-1 Audio Layer 3 (*.mp3)
  • +
  • +Free Lossless Audio Codec (*.flac)
  • +
  • +Amiga Modules (*.mod)
  • +
  • +Impulse Tracker (*.it)
  • +
  • +Scream Tracker 3 (*.s3d)
  • +
  • +Fast Tracker 2 (*.xm)
  • +
+

It is also able to run on different operating systems and use several output drivers:

+
    +
  • +Windows 98, ME, NT 4, 2000, XP, Vista, Windows 7, Windows 8
      +
    • +DirectSound
    • +
    • +DirectSound8
    • +
    • +WinMM
    • +
    +
  • +
  • +Linux / *nix
      +
    • +ALSA
    • +
    +
  • +
  • +MacOSX (x86 and PPC)
      +
    • +CoreAudio
    • +
    +
  • +
+


+
+
+

+

+Links into the API documentation

+

irrklang::ISoundEngine: The main class of irrKlang.
+ Class list: List of all classes with descriptions.
+ Class members: Good place to find forgotten features.
+
+
+
+

+

+Tips and Tricks

+

This section lists a few tips you might consider when implementing the sound part of your application using irrKlang:

+
    +
  • +If you can choose which audio file format is the primary one for your application, use .OGG files, instead of for example .MP3 files. irrKlang uses a lot less memory and CPU power when playing .OGGs.
  • +
  • +To keep your application simple, each time you play a sound, you can use for example play2D("filename.mp3") and let irrKlang handle the rest. There is no need to implement a preloading/caching/file management system for the audio playback. irrKlang will handle all this by itself and will never load a file twice.
  • +
  • +irrKlang is crashing in your application? This should not happen, irrKlang is pretty stable, and in most cases, this is a problem in your code: In a lot of cases the reason is simply a wrong call to irrklang::IRefCounted::drop(). Be sure you are doing it correctly. (If you are unsure, tempoarily remove all calls to irrklang::IRefCounted::drop() and see if this helps.)
  • +
+


+
+
+
+

+

+Starting up the Engine

+

irrKlang is designed so that it is very easy to achieve everything, its interface should be very simple to use. The Quick Start Example shows how to play and mp3 file, and there is another example, Quick Start Example 2, showing some few more details.
+ To start up the sound engine, you simply need to call createIrrKlangDevice(). To shut it down, call IRefCounted::drop():

+
 #include <irrKlang.h>
+
+ // ...
+
+ // start up the engine
+ irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice();
+        
+ // ...
+ 
+ // after finished,
+ // close the engine again, similar as calling 'delete'
+ engine->drop(); 
+

The createIrrKlangDevice() function also accepts several parameters, so that you can specify which sound driver should be used, if plugins should be used, if irrKlang should run in multithreaded mode, and similar.
+
+
+
+

+

+Playing Sounds

+

Once you have irrKlang running (like in Starting up the Engine), you can start playing sounds:

+
 engine->play2D("someSoundFile.wav"); 
+

This works with all supported file types. You can replace "someSoundFile.wav" with "someSoundFile.mp3", or "someSoundFile.ogg", for example.
+ To play a sound looped, set the second parameter to 'true':

+
 engine->play2D("myMusic.mp3", true); 
+

To stop this looping sound again, use engine->stopAllSounds() to stop all sounds, or irrklang::ISound::stop() if you only want to stop that single sound. Influencing Sounds during Playback shows how to get to that ISound interface.
+
+
+
+

+

+Influencing Sounds during Playback

+

To influence parameters of the sound such as pan, volume or playback speed during runtime, to get the play position or stop playback of single playing sounds, you can use the irrklang::ISound interface. irrklang::ISoundEngine::play2D (but also play3D) returns a pointer to this interface when its third ('startPaused') or fourth ('track') parameter was set to true:

+
 irrklang::ISound* snd = engine->play2D("myMusic.mp3", true, false, true); 
+
+ // ...
+
+ if (snd)
+     snd->setVolume(someNewValue);
+ 
+ // ...
+ 
+ if (snd)
+ {
+     snd->drop(); // don't forget to release the pointer once it is no longer needed by you
+     snd = 0;
+ }
+

The irrklang::ISound interface can also be used to test if the sound has been finished, set event receivers, pause and unpause sounds and similar.
+
+
+
+

+

+Using Sound Sources

+

To be more flexible playing back sounds, irrKlang uses the concept of sound sources. A sound source can be simply the name of a sound file, such as "sound.wav". It is possible to add "sound.wav" as sound source to irrKlang, and play it using the sound source pointer:

+
 irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); 
+
+ engine->play2D(shootSound);
+
+ // note: you don't need to drop() the shootSound if you don't use it anymore
+

The advantage of using irrklang::ISoundSource is that it is possible to set default values for this source, such as volume or distances if it should be used as 3D sound:

+
 irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); 
+
+ shootSound->setDefaultVolume(0.5f);
+
+ // shootSound will now be played with half its sound volume by default:
+ engine->play2D(shootSound);
+

It is also possible to have multiple settings for the same sound file:

+
 irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); 
+ irrklang::ISoundSource* shootSound2 = engine->addSoundSourceAlias(shootSound, "silentShoot"); 
+
+ shootSound2->setDefaultVolume(0.1f);
+
+ // shootSound will now be played with 100% of its sound volume by default,
+ // shootSound2 will now be played 10% of its sound volume by default. It is 
+ //  also possible to play it using engine->play("silentShoot"), now.
+

Using addSoundSourceFromMemory(), it is also possible to play sounds back directly from memory, without files. Of course, it is not necessary to use sound sources. Using irrklang::ISound, it is possible to change the settings of all sounds, too. But using sound sources, it is not necessary to do this every time a sound is played.
+
+
+
+

+

+3D Sound

+

There is nothing difficult in playing sounds in 3D using irrKlang: Instead of using irrklang::ISoundEngine::play2D(), just use irrklang::ISoundEngine::play3D(), which takes a 3D position as additional parameter:

+
 irrklang::vec3df position(23,70,90);
+ engine->play3D("yourSound.wav", position);
+

But to make it sound realistic, you need to set a minimal sound distance: If your sound is caused by a bee, it will usually have a smaller sound radius than for example a jet engine. You can set default values using sound sources (see Using Sound Sources) or set these values after you have started the sound paused:

+
 irrklang::vec3df position(23,70,90);
+
+ // start the sound paused:
+ irrklang::ISound* snd = engine->play3D("yourSound.wav", position, false, true);
+
+ if (snd)
+ {
+    snd->setMinDistance(30.0f); // a loud sound
+    snd->setIsPaused(false); // unpause the sound
+ }
+

There is also the possibility to change the maxDistance, but it is only necessary to change this in very rare cicumstances. If the sound moves, it is also a good idea to update its position from time to time:

+
 if (snd)
+    snd->setPosition(newPosition);
+

And don't forget to drop() the sound after you don't need it anymore. If you do, it's nothing severe because irrKlang will still clean up the sounds resources after it has finished, but you still would waste some few bytes of memory:

+
 if (snd)
+ {
+    snd->drop();
+    snd = 0;
+ }
+

To update the position of yourself, the listener of the 3D sounds, use this from time to time:

+
 irrklang::vec3df position(0,0,0);        // position of the listener
+ irrklang::vec3df lookDirection(10,0,10); // the direction the listener looks into
+ irrklang::vec3df velPerSecond(0,0,0);    // only relevant for doppler effects
+ irrklang::vec3df upVector(0,1,0);        // where 'up' is in your 3D scene
+
+ engine->setListenerPosition(position, lookDirection, velPerSecond, upVector);
+


+
+
+
+

+

+Removing Sounds

+

irrKlang manages the memory usage of sounds by itself, so usually, you don't have to care about memory management. But if you know you need to reduce the amount of used memory at a certain point in your program, you can do this:

+
 engine->removeAllSoundSources(); 
+

This will remove all sounds and also cause all sounds to be stopped. To remove single sounds from the engine, use:

+
 engine->removeSoundSource(pointerToSomeSoundSource); 
+ // or:
+ engine->removeSoundSource("nameOfASoundFile.wav"); 
+

Note: Only removing buffered sounds will reduce the amount of memory used by irrKlang, streamed sounds don't occupy a lot of memory when they are not played.
+
+
+
+

+

+Using Sound Events

+

In order to wait for a sound to be finished, it is simply possible to poll irrklang::ISound::isFinished(). Another way would be to constantly use irrklang::ISoundEngine::isCurrentlyPlaying to test wether a sound with that name or source is currently playing. But of course, an event based approach is a lot nicer. That's why irrKlang supports sound events.
+ The key to sound events is the method setSoundStopEventReceiver of the irrklang::ISound interface (See Influencing Sounds during Playback on how to get the ISound interface):

+
 irrklang::ISound* snd = engine->play2D("speech.mp3", false, false, true); 
+ if (snd)
+    snd->setSoundStopEventReceiver(yourEventReceiver, 0);
+

The optional second parameter of setSoundStopEventReceiver is a user pointer, set it to whatever you like. 'yourEventReceiver' must be an implementation of the irrklang::ISoundStopEventReceiver interface.
+ A whole implementation could look like this:

+
 class MySoundEndReceiver : public irrklang::ISoundStopEventReceiver
+ {
+   public:
+     virtual void OnSoundStopped (irrklang::ISound* sound, irrklang::E_STOP_EVENT_CAUSE reason, void* userData)
+     {
+        // called when the sound has ended playing
+        printf("sound has ended");
+     }
+ }
+
+ // ...
+
+ MySoundEndReceiver* myReceiver = new MySoundEndReceiver();
+ irrklang::ISound* snd = engine->play2D("speech.mp3", false, false, true); 
+ if (snd)
+    snd->setSoundStopEventReceiver(myReceiver);
+
+ myReceiver->drop(); // similar to delete
+

The irrklang::ISoundStopEventReceiver::OnSoundStopped() method is guaranteed to be called when a sound or sound stream has stopped, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted.
+
+
+
+

+

+Memory Playback

+

Using irrKlang, it is easily possible to play sounds directly from memory instead out of files. There is an example project showing this: In the SDK, in /examples/03.MemoryPlayback. But in short, it simply works by adding the memory as sound source (See Using Sound Sources for details about sound sources):

+
 engine->addSoundSourceFromMemory(pointerToMemory, memorySize, "nameforthesound.wav");
+ 
+ // play sound now
+ engine->play2D("nameforthesound.wav");
+

Or using a sound source pointer:

+
 irrklang::ISoundSource* snd = 
+   engine->addSoundSourceFromMemory(pointerToMemory, memorySize, "nameforthesound.wav");
+ 
+ // play sound now
+ engine->play2D(snd);
+

Note: It is also possible to overwrite the file access directly, don't use this Memory Playback feature for this. See Overriding File Access for details.
+
+
+
+

+

+Sound Effects

+

irrKlang supports the effects Chorus, Compressor, Distortion, Echo, Flanger Gargle, 3DL2Reverb, ParamEq and WavesReverb, when using the sound driver irrklang::ESOD_DIRECT_SOUND_8, which selected by default when using Windows.
+

+

Using the irrklang::ISound interface, you can optain the irrklang::ISoundEffectControl interface if the sound device supports sound effects and the last parameter ('enableSoundEffects') was set to true when calling play2D():

+
 irrklang::ISound* snd = engine->play2D("sound.wav", true, false, true, ESM_AUTO_DETECT, true);
+
+ if (snd)
+ {
+    irrklang::ISoundEffectControl* fx = snd->getSoundEffectControl();
+    if (fx)
+    {
+        // enable the echo sound effect for this sound
+        fx->enableEchoSoundEffect();
+    }
+ }
+ 
+ snd->drop();
+

This enabled the echo sound effect for this sound. The method also supports a lot of parameters, and can be called multiple times to change those parameters over time if wished. There are a lot of other sound effects, see irrklang::ISoundEffectControl for details.
+
+
+
+

+

+Overriding File Access

+

It is possible to let irrKlang use your own file access functions. This is useful if you want to read sounds from other sources than just files, for example from custom internet streams or an own encypted archive format. There is an example in the SDK in examples/04.OverrideFileAccess which shows this as well.
+

+

The only thing to do for this is to implement your own irrklang::IFileFactory, and set it in irrKlang using irrklang::ISoundEngine::addFileFactory():

+
 // a class implementing the IFileFactory interface to override irrklang file access
+ class CMyFileFactory : public irrklang::IFileFactory
+ {
+   public:
+
+   // Opens a file for read access. Simply return 0 if file not found.
+   virtual irrklang::IFileReader* createFileReader(const ik_c8* filename)
+   {
+     // return your own irrklang::IFileReader implementation here, for example like that:
+     return new CMyReadFile(filename);
+   }
+ };
+ 
+ // ...
+
+ CMyFileFactory* myFactory = new CMyFileFactory();
+ engine->addFileFactory(myFactory);
+ myFactory->drop();
+

For a full example implementation, just take a look into the SDK in examples/04.OverrideFileAccess.
+
+
+
+

+

+Adding Audio Decoders

+

To add support for new file formats, it is possible to add new audio decoders to irrKlang. The only thing to do for this is to implement your own irrklang::IAudioStreamLoader, and irrklang::IAudioStream, and set it in irrKlang using irrklang::ISoundEngine::registerAudioStreamLoader():

+
 class NewAudioStreamLoader : public irrklang::IAudioStreamLoader
+ {
+   // ... returns NewAudioDecoder and the used file name suffices.
+ };
+
+ class NewAudioDecoder : public irrklang::IAudioStream
+ {
+   public:
+     // ... decodes the new file format
+ };
+
+ // ...
+
+ NewAudioDecoder* loader = new NewAudioDecoder();
+ engine->registerAudioStreamLoader(loader);
+ loader->drop();
+

There is an example audio decoder and loader with full source in plugins/ikpMP3, which adds MP3 audio decoding capabilities to irrKlang.
+
+
+
+

+

+Creating irrKlang Plugins

+

irrKlang plugins are ikp*.dll (Windows), ikp*.so (Unix) or ikp*.dylib (MacOS) files which are loaded by irrKlang at startup when the irrklang::ESEO_LOAD_PLUGINS was set (which is default) or irrklang::ISoundEngine::loadPlugins() was called.
+

+

The plugin only needs to contain the following function which will be called by irrKlang:

+
 #ifdef WIN32
+ // Windows version
+ __declspec(dllexport) void __stdcall irrKlangPluginInit(ISoundEngine* engine, const char* version)
+ #else
+ // Linux and Mac OS version
+ void irrKlangPluginInit(ISoundEngine* engine, const char* version)
+ #endif
+ {
+   // your implementation here
+ }
+

In there, it is for example possible to extend irrKlang with new audio decoders, see Adding Audio Decoders for details.
+

+

There is an example plugin with full source in plugins/ikpMP3, which adds MP3 audio decoding capabilities to irrKlang.
+
+
+
+

+

+Using irrKlang as static Lib

+

If you don't want to use the irrKlang.DLL file and link irrKlang statically, you can do this by simply linking to the irrKlang.lib in the bin/win32-visualstudio_lib folder. This folder will only available in the pro versions of irrKlang, which you get when purchasing an irrKlang license.

+

To use irrKlang in this way, just define IRRKLANG_STATIC before including irrklang.h, like this:

+
 #define IRRKLANG_STATIC
+ #include <irrKlang.h>
+

Of course, IRRKLANG_STATIC can also simply be defined in the project/compiler settings instead of in the source file.
+
+
+
+

+

+Enumerating sound devices

+

irrKlang uses the default sound device when playing sound when started without parameters. But if you want irrKlang to playback sound on one specific sound device, you may want to enumerate the available sound devices on your system and select one of them. Use irrklang::createSoundDeviceList() for this. This example code shows how to print a list of all available sound devices on the current system and lets the user choose one of them:

+
 int main(int argc, const char** argv)
+ {
+        // enumerate devices
+ 
+        irrklang::ISoundDeviceList* deviceList = createSoundDeviceList();
+ 
+        // ask user for a sound device
+ 
+        printf("Devices available:\n\n");
+ 
+        for (int i=0; i<deviceList->getDeviceCount(); ++i)
+                printf("%d: %s\n", i, deviceList->getDeviceDescription(i));
+ 
+        printf("\nselect a device using the number (or press any key to use default):\n\n");
+        int deviceNumber = getch() - '0';
+ 
+        // create device with the selected driver
+ 
+        const char* deviceID = deviceList->getDeviceID(deviceNumber);
+                
+        ISoundEngine* engine = createIrrKlangDevice(irrklang::ESOD_AUTO_DETECT, 
+                                                    irrklang::ESEO_DEFAULT_OPTIONS,
+                                                    deviceID);
+ 
+        deviceList->drop(); // delete device list
+
+  // ... use engine now
+ } 
+

In this way, it is also possible to play back sound using two devices at the same time: Simply create two irrKlang devices with each a different deviceID.
+ Note: createSoundDeviceList() takes a driver type parameter (such as irrklang::ESOD_DIRECT_SOUND8), which you have to set to the same value as the first parameter you want to use with createIrrKlangDevice(), if it is other than irrklang::ESOD_AUTO_DETECT.
+
+
+
+

+

+Recording Audio

+

irrKlang is able to record audio from sound capturing devices such as microphones (currently only supported in windows). Use the irrklang::IAudioRecorder interface to do this. The following example shows how to record some audio and play it back again using the engine:

+
 int main(int argc, const char** argv)
+ {
+        irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice();
+        irrklang::IAudioRecorder* recorder = irrklang::createIrrKlangAudioRecorder(engine);
+
+        if (!engine || !recorder)
+        {
+                printf("Could not create audio engine or audio recoder\n");
+                return 1;
+        }
+
+        printf("\nPress any key to start recording audio...\n");
+        getch();
+
+        // record some audio
+
+        recorder->startRecordingBufferedAudio();
+
+        printf("\nRECORDING. Press any key to stop...\n");
+        getch();
+
+        recorder->stopRecordingAudio();
+
+        printf("\nRecording done, recorded %dms of audio.\n", 
+                recorder->getAudioFormat().FrameCount * 1000 / recorder->getAudioFormat().SampleRate );
+        printf("Press any key to play back recorded audio...\n");
+        getch();
+
+        // play the recorded audio
+        recorder->addSoundSourceFromRecordedAudio("myRecordedVoice");
+        engine->play2D("myRecordedVoice", true);
+
+        // wait until user presses a key
+        printf("\nPress any key to quit...");
+        getch();
+
+        recorder->drop();
+        engine->drop(); // delete engine
+
+        return 0;
+ } 
+

In order to select a specific audio capturing device for recording, it is necessary to enumerate the available devices. Simply replace the first to lines of code of the example above with code like this to list all devices and select one:

+
  // enumerate recording devices and ask user to select one
+ 
+  irrklang::ISoundDeviceList* deviceList = irrklang::createAudioRecorderDeviceList();
+
+  printf("Devices available:\n\n");
+
+  for (int i=0; i<deviceList->getDeviceCount(); ++i)
+           printf("%d: %s\n", i, deviceList->getDeviceDescription(i));
+
+  printf("\nselect a device using the number (or press any key to use default):\n\n");
+  int deviceNumber = getch() - '0';
+
+  // create recording device with the selected driver
+
+  const char* deviceID = deviceList->getDeviceID(deviceNumber);
+  irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice();
+  irrklang::IAudioRecorder* recorder = 
+     irrklang::createIrrKlangAudioRecorder(engine, irrklang::ESOD_AUTO_DETECT, deviceID);
+


+
+
+
+

+

+Unicode support

+

irrKlang supports unicode on all operating systems. Internally, it uses UTF8, and all functions accepting strings and file names take UTF8 strings. If you are running irrKlang on Windows, and are using the UNICODE define or using wchar_t* strings directly, you can do this as well. Use the irrKlang provided function makeUTF8fromUTF16string() to convert your wchar_t* string to a char* string.

+

This example shows how:

+
 const wchar_t* yourFilename = L"SomeUnicodeFilename.wav"; // assuming this is the file name you get from some of your functions
+
+ const int nBufferSize = 2048; // large enough, but best would be wcslen(yourFilename)*3.
+ char strBuffer[nBufferSize]; 
+ irrklang::makeUTF8fromUTF16string(yourFilename, strBuffer, nBufferSize);
+
+ // now the converted file name is in strBuffer. We can play it for example now:
+ engine->play2D(strBuffer);
+

Of course, you can use any other unicode converion function for this. makeUTF8fromUTF16string() is only provided for convenience.
+
+
+
+

+

+Quick Start Example

+

To simply start the engine and play a mp3 file, use code like this:

+
 #include <iostream>
+ #include <irrKlang.h>
+ #pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll
+
+ int main(int argc, const char** argv)
+ {
+        irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice();
+        if (!engine) return 1; // could not start engine
+
+        engine->play2D("someMusic.mp3", true); // play some mp3 file, looped
+ 
+        std::cin.get(); // wait until user presses a key
+ 
+        engine->drop(); // delete engine
+        return 0;
+ } 
+

A mp3 file is being played until the user presses enter in this example. As you can see, irrKlang uses namespaces, all of the classes are located in the namespace irrklang. If you don't want to write this in front of every class and function you are using, simply write

+
 using namespace irrklang;
+

in front of your code, as also shown in the next example.
+
+
+
+

+

+Quick Start Example 2

+

The following is a simple interactive application, starting up the sound engine and playing some streaming .ogg music file and a .wav sound effect every time the user presses a key.

+
 #include <iostream>
+ #include <irrKlang.h>
+ using namespace irrklang;
+
+ #pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll
+
+
+ int main(int argc, const char** argv)
+ {
+        // start the sound engine with default parameters
+        ISoundEngine* engine = createIrrKlangDevice();
+
+        if (!engine)
+                return 0; // error starting up the engine
+
+        // play some sound stream, looped
+        engine->play2D("../../media/helltroopers.ogg", true);
+
+        std::cout << "\nHello World!\n";
+
+        char i = 0;
+
+        while(i != 'q')
+        {
+                std::cout << "Press any key to play some sound, press 'q' to quit.\n";
+
+                // play a single sound
+                engine->play2D("../../media/bell.wav");
+
+                std::cin >> i; // wait for user to press some key
+        }
+
+        engine->drop(); // delete engine
+        return 0;
+ }
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/installdox b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/installdox new file mode 100644 index 0000000..9b89fe0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/installdox @@ -0,0 +1,117 @@ +#!/usr/bin/perl + +%subst = ( ); +$quiet = 0; + +if (open(F,"search.cfg")) +{ + $_= ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_; + $_= ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_; +} + +while ( @ARGV ) { + $_ = shift @ARGV; + if ( s/^-// ) { + if ( /^l(.*)/ ) { + $v = ($1 eq "") ? shift @ARGV : $1; + ($v =~ /\/$/) || ($v .= "/"); + $_ = $v; + if ( /(.+)\@(.+)/ ) { + if ( exists $subst{$1} ) { + $subst{$1} = $2; + } else { + print STDERR "Unknown tag file $1 given with option -l\n"; + &usage(); + } + } else { + print STDERR "Argument $_ is invalid for option -l\n"; + &usage(); + } + } + elsif ( /^q/ ) { + $quiet = 1; + } + elsif ( /^\?|^h/ ) { + &usage(); + } + else { + print STDERR "Illegal option -$_\n"; + &usage(); + } + } + else { + push (@files, $_ ); + } +} + +foreach $sub (keys %subst) +{ + if ( $subst{$sub} eq "" ) + { + print STDERR "No substitute given for tag file `$sub'\n"; + &usage(); + } + elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) + { + print "Substituting $subst{$sub} for each occurence of tag file $sub\n"; + } +} + +if ( ! @files ) { + if (opendir(D,".")) { + foreach $file ( readdir(D) ) { + $match = ".html"; + next if ( $file =~ /^\.\.?$/ ); + ($file =~ /$match/) && (push @files, $file); + ($file =~ "tree.js") && (push @files, $file); + } + closedir(D); + } +} + +if ( ! @files ) { + print STDERR "Warning: No input files given and none found!\n"; +} + +foreach $f (@files) +{ + if ( ! $quiet ) { + print "Editing: $f...\n"; + } + $oldf = $f; + $f .= ".bak"; + unless (rename $oldf,$f) { + print STDERR "Error: cannot rename file $oldf\n"; + exit 1; + } + if (open(F,"<$f")) { + unless (open(G,">$oldf")) { + print STDERR "Error: opening file $oldf for writing\n"; + exit 1; + } + if ($oldf ne "tree.js") { + while () { + s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; + print G "$_"; + } + } + else { + while () { + s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; + print G "$_"; + } + } + } + else { + print STDERR "Warning file $f does not exist\n"; + } + unlink $f; +} + +sub usage { + print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; + print STDERR "Options:\n"; + print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; + print STDERR " -q Quiet mode\n\n"; + exit 1; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h.html new file mode 100644 index 0000000..109ceda --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h.html @@ -0,0 +1,175 @@ + + + + + +irrKlang: irrKlang.h File Reference + + + + + + + + + +
+

irrKlang.h File Reference

+

Main header file of the irrKlang sound library, the only file needed to include. +More...

+#include "ik_irrKlangTypes.h"
+#include "ik_vec3d.h"
+#include "ik_IRefCounted.h"
+#include "ik_IVirtualRefCounted.h"
+#include "ik_ESoundOutputDrivers.h"
+#include "ik_ESoundEngineOptions.h"
+#include "ik_EStreamModes.h"
+#include "ik_SAudioStreamFormat.h"
+#include "ik_ISoundEngine.h"
+#include "ik_ISoundSource.h"
+#include "ik_ISound.h"
+#include "ik_IAudioStream.h"
+#include "ik_IAudioStreamLoader.h"
+#include "ik_ISoundEffectControl.h"
+#include "ik_ISoundStopEventReceiver.h"
+#include "ik_IFileFactory.h"
+#include "ik_IFileReader.h"
+#include "ik_ISoundDeviceList.h"
+#include "ik_IAudioRecorder.h"
+#include "ik_ISoundMixedOutputReceiver.h"
+ +

Go to the source code of this file.

+ + + + +

+

+ + + + + + + + + + + + + + + + +

Namespaces

namespace  irrklang
 

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Defines

#define IRR_KLANG_VERSION   "1.6.0"
 irrKlang Version
#define IRRKLANG_API   __attribute__((visibility("default")))
#define IRRKLANGCALLCONV

Functions

IRRKLANG_API ISoundEngine
+*IRRKLANGCALLCONV 
irrklang::createIrrKlangDevice (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, int options=ESEO_DEFAULT_OPTIONS, const char *deviceID=0, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates an irrKlang device. The irrKlang device is the root object for using the sound engine.
IRRKLANG_API ISoundDeviceList
+*IRRKLANGCALLCONV 
irrklang::createSoundDeviceList (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates a list of available sound devices for the driver type.
IRRKLANG_API IAudioRecorder
+*IRRKLANGCALLCONV 
irrklang::createIrrKlangAudioRecorder (ISoundEngine *irrKlangDeviceForPlayback, E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *deviceID=0, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates an irrKlang audio recording device. The IAudioRecorder is the root object for recording audio.
IRRKLANG_API ISoundDeviceList
+*IRRKLANGCALLCONV 
irrklang::createAudioRecorderDeviceList (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates a list of available recording devices for the driver type.
IRRKLANG_API bool IRRKLANGCALLCONV irrklang::makeUTF8fromUTF16string (const wchar_t *pInputString, char *pOutputBuffer, int outputBufferSize)
 Converts a wchar_t string to an utf8 string, useful when using Windows in unicode mode.
+

Detailed Description

+

Main header file of the irrKlang sound library, the only file needed to include.

+

Define Documentation

+ +
+
+ + + + +
#define IRR_KLANG_VERSION   "1.6.0"
+
+
+ +

irrKlang Version

+ +
+
+ +
+
+ + + + +
#define IRRKLANG_API   __attribute__((visibility("default")))
+
+
+ +
+
+ +
+
+ + + + +
#define IRRKLANGCALLCONV
+
+
+ +
+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h_source.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h_source.html new file mode 100644 index 0000000..795bd2c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irr_klang_8h_source.html @@ -0,0 +1,172 @@ + + + + + +irrKlang: irrKlang.h Source File + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irrklang.png b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irrklang.png new file mode 100644 index 0000000..d0c1850 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/irrklang.png differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/logobig.png b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/logobig.png new file mode 100644 index 0000000..00c5756 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/logobig.png differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaceirrklang.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaceirrklang.html new file mode 100644 index 0000000..6fb0c1b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaceirrklang.html @@ -0,0 +1,973 @@ + + + + + +irrKlang: irrklang Namespace Reference + + + + + + + + + +
+

irrklang Namespace Reference

+

Everything in the irrKlang Sound Engine can be found in this namespace. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Classes

class  IAudioRecorder
 Interface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function. More...
class  ICapturedAudioDataReceiver
 Interface to be implemented by the user if access to the recorded audio data is needed. More...
class  IAudioStream
 Reads and decodes audio data into an usable audio stream for the ISoundEngine. More...
class  IAudioStreamLoader
 Class which is able to create an audio file stream from a file. More...
class  IFileFactory
 Interface to overwrite file access in irrKlang. More...
class  IFileReader
 Interface providing read acess to a file. More...
class  IRefCounted
 Base class of most objects of the irrKlang. More...
class  ISound
 Represents a sound which is currently played. More...
class  ISoundDeviceList
 A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. More...
class  ISoundEffectControl
 Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. More...
class  ISoundEngine
 Interface to the sound engine, for playing 3d and 2d sound and music. More...
struct  SInternalAudioInterface
 structure for returning pointers to the internal audio interface. More...
class  ISoundMixedOutputReceiver
 Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine. More...
class  ISoundSource
 A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. More...
class  ISoundStopEventReceiver
 Interface to be implemented by the user, which recieves sound stop events. More...
class  IVirtualRefCounted
 Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted. More...
struct  SAudioStreamFormat
 structure describing an audio stream format with helper functions More...
class  vec3d
 a 3d vector template class for representing vectors and points in 3d More...

Typedefs

typedef unsigned char ik_u8
 8 bit unsigned variable.
typedef signed char ik_s8
 8 bit signed variable.
typedef char ik_c8
 8 bit character variable.
typedef unsigned short ik_u16
 16 bit unsigned variable.
typedef signed short ik_s16
 16 bit signed variable.
typedef unsigned int ik_u32
 32 bit unsigned variable.
typedef signed int ik_s32
 32 bit signed variable.
typedef float ik_f32
 32 bit floating point variable.
typedef double ik_f64
 64 bit floating point variable.
typedef vec3d< ik_f32vec3df
 Typedef for a ik_f32 3d vector, a vector using floats for X, Y and Z.
typedef vec3d< ik_s32vec3di
 Typedef for an integer 3d vector, a vector using ints for X, Y and Z.

Enumerations

enum  E_SOUND_ENGINE_OPTIONS {
+  ESEO_MULTI_THREADED = 0x01, +ESEO_MUTE_IF_NOT_FOCUSED = 0x02, +ESEO_LOAD_PLUGINS = 0x04, +ESEO_USE_3D_BUFFERS = 0x08, +
+  ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER = 0x10, +ESEO_PRINT_DEBUG_INFO_TO_STDOUT = 0x20, +ESEO_LINEAR_ROLLOFF = 0x40, +ESEO_DEFAULT_OPTIONS = ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER | ESEO_PRINT_DEBUG_INFO_TO_STDOUT, +
+  ESEO_FORCE_32_BIT = 0x7fffffff +
+ }
 

An enumeration for all options for starting up the sound engine.

+ More...
enum  E_SOUND_OUTPUT_DRIVER {
+  ESOD_AUTO_DETECT = 0, +ESOD_DIRECT_SOUND_8, +ESOD_DIRECT_SOUND, +ESOD_WIN_MM, +
+  ESOD_ALSA, +ESOD_CORE_AUDIO, +ESOD_NULL, +ESOD_COUNT, +
+  ESOD_FORCE_32_BIT = 0x7fffffff +
+ }
 

An enumeration for all types of supported sound drivers.

+ More...
enum  E_STREAM_MODE { ESM_AUTO_DETECT = 0, +ESM_STREAMING, +ESM_NO_STREAMING, +ESM_FORCE_32_BIT = 0x7fffffff + }
 

An enumeration for all types of supported stream modes.

+ More...
enum  E_STOP_EVENT_CAUSE { ESEC_SOUND_FINISHED_PLAYING = 0, +ESEC_SOUND_STOPPED_BY_USER, +ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL, +ESEC_FORCE_32_BIT = 0x7fffffff + }
 

An enumeration listing all reasons for a fired sound stop event.

+ More...
enum  ESampleFormat { ESF_U8, +ESF_S16 + }
 

audio sample data format enumeration for supported formats

+ More...

Functions

bool equalsfloat (const ik_f32 a, const ik_f32 b, const ik_f32 tolerance=IK_ROUNDING_ERROR_32)
template<class S , class T >
vec3d< T > operator* (const S scalar, const vec3d< T > &vector)
IRRKLANG_API ISoundEngine
+*IRRKLANGCALLCONV 
createIrrKlangDevice (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, int options=ESEO_DEFAULT_OPTIONS, const char *deviceID=0, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates an irrKlang device. The irrKlang device is the root object for using the sound engine.
IRRKLANG_API ISoundDeviceList
+*IRRKLANGCALLCONV 
createSoundDeviceList (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates a list of available sound devices for the driver type.
IRRKLANG_API IAudioRecorder
+*IRRKLANGCALLCONV 
createIrrKlangAudioRecorder (ISoundEngine *irrKlangDeviceForPlayback, E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *deviceID=0, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates an irrKlang audio recording device. The IAudioRecorder is the root object for recording audio.
IRRKLANG_API ISoundDeviceList
+*IRRKLANGCALLCONV 
createAudioRecorderDeviceList (E_SOUND_OUTPUT_DRIVER driver=ESOD_AUTO_DETECT, const char *sdk_version_do_not_use=IRR_KLANG_VERSION)
 Creates a list of available recording devices for the driver type.
IRRKLANG_API bool IRRKLANGCALLCONV makeUTF8fromUTF16string (const wchar_t *pInputString, char *pOutputBuffer, int outputBufferSize)
 Converts a wchar_t string to an utf8 string, useful when using Windows in unicode mode.

Variables

const ik_f32 IK_ROUNDING_ERROR_32 = 0.000001f
const ik_f64 IK_PI64 = 3.1415926535897932384626433832795028841971693993751
const ik_f32 IK_PI32 = 3.14159265359f
const ik_f32 IK_RADTODEG = 180.0f / IK_PI32
const ik_f32 IK_DEGTORAD = IK_PI32 / 180.0f
const ik_f64 IK_RADTODEG64 = 180.0 / IK_PI64
const ik_f64 IK_DEGTORAD64 = IK_PI64 / 180.0
+

Detailed Description

+

Everything in the irrKlang Sound Engine can be found in this namespace.

+

Typedef Documentation

+ +
+
+ + + + +
typedef char irrklang::ik_c8
+
+
+ +

8 bit character variable.

+

This is a typedef for char, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef float irrklang::ik_f32
+
+
+ +

32 bit floating point variable.

+

This is a typedef for float, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef double irrklang::ik_f64
+
+
+ +

64 bit floating point variable.

+

This is a typedef for double, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef signed short irrklang::ik_s16
+
+
+ +

16 bit signed variable.

+

This is a typedef for signed short, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef signed int irrklang::ik_s32
+
+
+ +

32 bit signed variable.

+

This is a typedef for signed int, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef signed char irrklang::ik_s8
+
+
+ +

8 bit signed variable.

+

This is a typedef for signed char, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef unsigned short irrklang::ik_u16
+
+
+ +

16 bit unsigned variable.

+

This is a typedef for unsigned short, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef unsigned int irrklang::ik_u32
+
+
+ +

32 bit unsigned variable.

+

This is a typedef for unsigned int, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef unsigned char irrklang::ik_u8
+
+
+ +

8 bit unsigned variable.

+

This is a typedef for unsigned char, it ensures portability of the engine.

+ +
+
+ +
+
+ + + + +
typedef vec3d<ik_f32> irrklang::vec3df
+
+
+ +

Typedef for a ik_f32 3d vector, a vector using floats for X, Y and Z.

+ +
+
+ +
+
+ + + + +
typedef vec3d<ik_s32> irrklang::vec3di
+
+
+ +

Typedef for an integer 3d vector, a vector using ints for X, Y and Z.

+ +
+
+

Enumeration Type Documentation

+ +
+ +
+ +

An enumeration for all options for starting up the sound engine.

+

When using createIrrKlangDevice, use a combination of this these as 'options' parameter to start up the engine. By default, irrKlang uses ESEO_DEFAULT_OPTIONS, which is set to the combination ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER | ESEO_PRINT_DEBUG_INFO_TO_STDOUT.

+
Enumerator:
+ + + + + + + + + +
ESEO_MULTI_THREADED  +

If specified (default), it will make irrKlang run in a separate thread.

+

Using this flag, irrKlang will update all streams, sounds, 3d positions and whatever automaticly. You also don't need to call ISoundEngine::update() if irrKlang is running multithreaded. However, if you want to run irrKlang in the same thread as your application (for easier debugging for example), don't set this. But you need to call ISoundEngine::update() as often as you can (at least about 2-3 times per second) to make irrKlang update everything correctly then.

+
ESEO_MUTE_IF_NOT_FOCUSED  +

If the window of the application doesn't have the focus, irrKlang will be silent if this has been set.

+

This will only work when irrKlang is using the DirectSound output driver.

+
ESEO_LOAD_PLUGINS  +

Automaticly loads external plugins when starting up.

+

Plugins usually are .dll, .so or .dylib files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which are executed after the startup of the sound engine and modify it for example to make it possible to play back mp3 files. Plugins are being loaded from the current working directory as well as from the position where the .exe using the irrKlang library resides. It is also possible to load the plugins after the engine has started up using ISoundEngine::loadPlugins().

+
ESEO_USE_3D_BUFFERS  +

Uses 3D sound buffers instead of emulating them when playing 3d sounds (default).

+

If this flag is not specified, all buffers will by created in 2D only and 3D positioning will be emulated in software, making the engine run faster if hardware 3d audio is slow on the system.

+
ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER  +

Prints debug messages to the debugger window.

+

irrKlang will print debug info and status messages to any windows debugger supporting OutputDebugString() (like VisualStudio). This is useful if your application does not capture any console output (see ESEO_PRINT_DEBUG_INFO_TO_STDOUT).

+
ESEO_PRINT_DEBUG_INFO_TO_STDOUT  +

Prints debug messages to stdout (the ConsoleWindow).

+

irrKlang will print debug info and status messages stdout, the console window in Windows.

+
ESEO_LINEAR_ROLLOFF  +

Uses linear rolloff for 3D sound.

+

If specified, instead of the default logarithmic one, irrKlang will use a linear rolloff model which influences the attenuation of the sounds over distance. The volume is interpolated linearly between the MinDistance and MaxDistance, making it possible to adjust sounds more easily although this is not physically correct. Note that this option may not work when used together with the ESEO_USE_3D_BUFFERS option when using Direct3D for example, irrKlang will then turn off ESEO_USE_3D_BUFFERS automaticly to be able to use this option and write out a warning.

+
ESEO_DEFAULT_OPTIONS  +

Default parameters when starting up the engine.

+
ESEO_FORCE_32_BIT  +

Never used, it only forces the compiler to compile these enumeration values to 32 bit.

+

Don't use this.

+
+
+
+ +
+
+ +
+ +
+ +

An enumeration for all types of supported sound drivers.

+

Values of this enumeration can be used as parameter when calling createIrrKlangDevice().

+
Enumerator:
+ + + + + + + + + +
ESOD_AUTO_DETECT  +

Autodetects the best sound driver for the system.

+
ESOD_DIRECT_SOUND_8  +

DirectSound8 sound output driver, windows only.

+

In contrast to ESOD_DIRECT_SOUND, this supports sophisticated sound effects but may not be available on old windows versions. It behaves very similar to ESOD_DIRECT_SOUND but also supports DX8 sound effects.

+
ESOD_DIRECT_SOUND  +

DirectSound sound output driver, windows only.

+

This uses DirectSound 3 or above, if available. If DX8 sound effects are needed, use ESOD_DIRECT_SOUND_8 instead. The ESOD_DIRECT_SOUND driver may be available on more and older windows versions than ESOD_DIRECT_SOUND_8.

+
ESOD_WIN_MM  +

WinMM sound output driver, windows only.

+

Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver.

+
ESOD_ALSA  +

ALSA sound output driver, linux only.

+

When using ESOD_ALSA in createIrrKlangDevice(), it is possible to set the third parameter, 'deviceID' to the name of specific ALSA pcm device, to the irrKlang force to use this one. Set it to 'default', or 'plug:hw' or whatever you need it to be. Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver.

+
ESOD_CORE_AUDIO  +

Core Audio sound output driver, mac os only.

+

Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver.

+
ESOD_NULL  +

Null driver, creating no sound output.

+
ESOD_COUNT  +

Amount of built-in sound output drivers.

+
ESOD_FORCE_32_BIT  +

This enumeration literal is never used, it only forces the compiler to compile these enumeration values to 32 bit.

+
+
+
+ +
+
+ +
+ +
+ +

An enumeration listing all reasons for a fired sound stop event.

+
Enumerator:
+ + + + +
ESEC_SOUND_FINISHED_PLAYING  +

The sound stop event was fired because the sound finished playing.

+
ESEC_SOUND_STOPPED_BY_USER  +

The sound stop event was fired because the sound was stopped by the user, calling ISound::stop().

+
ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL  +

The sound stop event was fired because the source of the sound was removed, for example because irrKlang was shut down or the user called ISoundEngine::removeSoundSource().

+
ESEC_FORCE_32_BIT  +

This enumeration literal is never used, it only forces the compiler to compile these enumeration values to 32 bit.

+
+
+
+ +
+
+ +
+
+ + + + +
enum irrklang::E_STREAM_MODE
+
+
+ +

An enumeration for all types of supported stream modes.

+
Enumerator:
+ + + + +
ESM_AUTO_DETECT  +

Autodetects the best stream mode for a specified audio data.

+
ESM_STREAMING  +

Streams the audio data when needed.

+
ESM_NO_STREAMING  +

Loads the whole audio data into the memory.

+
ESM_FORCE_32_BIT  +

This enumeration literal is never used, it only forces the compiler to compile these enumeration values to 32 bit.

+
+
+
+ +
+
+ +
+
+ + + + +
enum irrklang::ESampleFormat
+
+
+ +

audio sample data format enumeration for supported formats

+
Enumerator:
+ + +
ESF_U8  +

one unsigned byte (0;255)

+
ESF_S16  +

16 bit, signed (-32k;32k)

+
+
+
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV irrklang::createAudioRecorderDeviceList (E_SOUND_OUTPUT_DRIVER  driver = ESOD_AUTO_DETECT,
const char *  sdk_version_do_not_use = IRR_KLANG_VERSION 
)
+
+
+ +

Creates a list of available recording devices for the driver type.

+

The device IDs in this list can be used as parameter to createIrrKlangAudioRecorder() to make irrKlang use a special recording device.

+
Parameters:
+ + + +
driver The sound output driver of which the list is generated. Set it irrklang::ESOD_AUTO_DETECT to let this function use the same device as createIrrKlangDevice() would choose.
sdk_version_do_not_use Don't use or change this parameter. Always set it to IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks.
+
+
+
Returns:
Returns a pointer to the list of enumerated recording devices for the selected sound driver. The device IDs in this list can be used as parameter to createIrrKlangAudioRecorder() to make irrKlang use a special sound device. After you don't need the list anymore, call ISoundDeviceList::drop() in order to free its memory.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IRRKLANG_API IAudioRecorder* IRRKLANGCALLCONV irrklang::createIrrKlangAudioRecorder (ISoundEngine *  irrKlangDeviceForPlayback,
E_SOUND_OUTPUT_DRIVER  driver = ESOD_AUTO_DETECT,
const char *  deviceID = 0,
const char *  sdk_version_do_not_use = IRR_KLANG_VERSION 
)
+
+
+ +

Creates an irrKlang audio recording device. The IAudioRecorder is the root object for recording audio.

+

If you want to play back recorded audio as well, create the ISoundEngine first using createIrrKlangDevice() and then the IAudioRecorder using createIrrKlangAudioRecorder(), where you set the ISoundEngine as first parameter. See Recording Audio for an example on how to use this. Note: audio recording is a very new feature a still beta in irrKlang. It currently only works in Windows and with DirectSound (subject to change).

+
Parameters:
+ + + + + +
irrKlangDeviceForPlayback A pointer to the already existing sound device used for playback of audio. Sound sources recorded with the IAudioRecorder will be added into that device so that they can be played back there.
driver The sound output driver to be used for recording audio. Use irrklang::ESOD_AUTO_DETECT to let irrKlang decide which driver will be best.
deviceID Some additional optional deviceID for the audio driver. If not needed, simple set this to 0. Use createAudioRecorderDeviceList() to get a list of all deviceIDs.
sdk_version_do_not_use Don't use or change this parameter. Always set it to IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks.
+
+
+
Returns:
Returns pointer to the created irrKlang device or null if the device could not be created. If you don't need the device, use ISoundEngine::drop() to delete it. See IRefCounted::drop() for details.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IRRKLANG_API ISoundEngine* IRRKLANGCALLCONV irrklang::createIrrKlangDevice (E_SOUND_OUTPUT_DRIVER  driver = ESOD_AUTO_DETECT,
int  options = ESEO_DEFAULT_OPTIONS,
const char *  deviceID = 0,
const char *  sdk_version_do_not_use = IRR_KLANG_VERSION 
)
+
+
+ +

Creates an irrKlang device. The irrKlang device is the root object for using the sound engine.

+
Parameters:
+ + + + + +
driver The sound output driver to be used for sound output. Use irrklang::ESOD_AUTO_DETECT to let irrKlang decide which driver will be best.
options A combination of irrklang::E_SOUND_ENGINE_OPTIONS literals. Default value is irrklang::ESEO_DEFAULT_OPTIONS.
deviceID Some additional optional deviceID for the audio driver. If not needed, simple set this to 0. This can be used for example to set a specific ALSA output pcm device for output ("default" or "hw", for example). For most driver types, available deviceIDs can be enumerated using createSoundDeviceList(). See Enumerating sound devices for an example or ISoundDeviceList or details.
sdk_version_do_not_use Don't use or change this parameter. Always set it to IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks.
+
+
+
Returns:
Returns pointer to the created irrKlang device or null if the device could not be created. If you don't need the device, use ISoundEngine::drop() to delete it. See IRefCounted::drop() for details.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV irrklang::createSoundDeviceList (E_SOUND_OUTPUT_DRIVER  driver = ESOD_AUTO_DETECT,
const char *  sdk_version_do_not_use = IRR_KLANG_VERSION 
)
+
+
+ +

Creates a list of available sound devices for the driver type.

+

The device IDs in this list can be used as parameter to createIrrKlangDevice() to make irrKlang use a special sound device. See Enumerating sound devices for an example on how to use this.

+
Parameters:
+ + + +
driver The sound output driver of which the list is generated. Set it irrklang::ESOD_AUTO_DETECT to let this function use the same device as createIrrKlangDevice() would choose.
sdk_version_do_not_use Don't use or change this parameter. Always set it to IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks.
+
+
+
Returns:
Returns a pointer to the list of enumerated sound devices for the selected sound driver. The device IDs in this list can be used as parameter to createIrrKlangDevice() to make irrKlang use a special sound device. After you don't need the list anymore, call ISoundDeviceList::drop() in order to free its memory.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool irrklang::equalsfloat (const ik_f32  a,
const ik_f32  b,
const ik_f32  tolerance = IK_ROUNDING_ERROR_32 
) [inline]
+
+
+

returns if a float equals the other one, taking floating point rounding errors into account

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IRRKLANG_API bool IRRKLANGCALLCONV irrklang::makeUTF8fromUTF16string (const wchar_t *  pInputString,
char *  pOutputBuffer,
int  outputBufferSize 
)
+
+
+ +

Converts a wchar_t string to an utf8 string, useful when using Windows in unicode mode.

+

irrKlang works with unicode file names, and accepts char* strings as parameters for names and filenames. If you are running irrKlang in Windows, and working with wchar_t* pointers instead of char* ones, you can use this function to create a char* (UTF8) representation of your wchar_t* (UTF16) string. Works for filenames and other strings.

+
Parameters:
+ + + + +
pInputString zero terminated input string.
pOutputBuffer the buffer where the converted string is written to. Be sure that this buffer has a big enough size. A good size would be three times the string length of your input buffer, like wcslen(yourInputBuffer)*3. Because each wchar_t can be represented by up to 3 chars.
outputBufferSize size of your output buffer.
+
+
+
Returns:
Returns true if successful, and false if not. If 'false' is returned, maybe your buffer was too small.
+ +
+
+ +
+
+
+template<class S , class T >
+ + + + + + + + + + + + + + + + + + +
vec3d<T> irrklang::operator* (const S  scalar,
const vec3d< T > &  vector 
) [inline]
+
+
+ +
+
+

Variable Documentation

+ +
+
+ + + + +
const ik_f32 irrklang::IK_DEGTORAD = IK_PI32 / 180.0f
+
+
+ +
+
+ +
+
+ + + + +
const ik_f64 irrklang::IK_DEGTORAD64 = IK_PI64 / 180.0
+
+
+ +
+
+ +
+
+ + + + +
const ik_f32 irrklang::IK_PI32 = 3.14159265359f
+
+
+ +
+
+ +
+
+ + + + +
const ik_f64 irrklang::IK_PI64 = 3.1415926535897932384626433832795028841971693993751
+
+
+ +
+
+ +
+
+ + + + +
const ik_f32 irrklang::IK_RADTODEG = 180.0f / IK_PI32
+
+
+ +
+
+ +
+
+ + + + +
const ik_f64 irrklang::IK_RADTODEG64 = 180.0 / IK_PI64
+
+
+ +
+
+ +
+
+ + + + +
const ik_f32 irrklang::IK_ROUNDING_ERROR_32 = 0.000001f
+
+
+ +
+
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers.html new file mode 100644 index 0000000..ebcb527 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers.html @@ -0,0 +1,296 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+Here is a list of all namespace members with links to the namespace documentation for each member: + +

- c -

    +
  • createAudioRecorderDeviceList() +: irrklang +
  • +
  • createIrrKlangAudioRecorder() +: irrklang +
  • +
  • createIrrKlangDevice() +: irrklang +
  • +
  • createSoundDeviceList() +: irrklang +
  • +
+ + +

- e -

+ + +

- i -

+ + +

- m -

    +
  • makeUTF8fromUTF16string() +: irrklang +
  • +
+ + +

- o -

+ + +

- v -

+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_enum.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_enum.html new file mode 100644 index 0000000..1f9da61 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_enum.html @@ -0,0 +1,105 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_eval.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_eval.html new file mode 100644 index 0000000..097cc81 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_eval.html @@ -0,0 +1,174 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_func.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_func.html new file mode 100644 index 0000000..d80f45e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_func.html @@ -0,0 +1,111 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_type.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_type.html new file mode 100644 index 0000000..75c0784 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_type.html @@ -0,0 +1,123 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_vars.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_vars.html new file mode 100644 index 0000000..7391826 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespacemembers_vars.html @@ -0,0 +1,111 @@ + + + + + +irrKlang: Class Members + + + + + + + + + +
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaces.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaces.html new file mode 100644 index 0000000..e67d371 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/namespaces.html @@ -0,0 +1,81 @@ + + + + + +irrKlang: Namespace Index + + + + + + + + + +
+

Namespace List

Here is a list of all namespaces with brief descriptions: + +
irrklangEverything in the irrKlang Sound Engine can be found in this namespace
+
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_61.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_61.html new file mode 100644 index 0000000..7c29184 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_61.html @@ -0,0 +1,56 @@ + + + + + + + +
+
Loading...
+
+
+ addFileFactory + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceAlias + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromFile + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromMemory + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromPCMData + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromRecordedAudio + irrklang::IAudioRecorder +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_63.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_63.html new file mode 100644 index 0000000..90a9efb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_63.html @@ -0,0 +1,74 @@ + + + + + + + +
+
Loading...
+
+
+ ChannelCount + irrklang::SAudioStreamFormat +
+
+
+
+ clearRecordedAudioDataBuffer + irrklang::IAudioRecorder +
+
+
+ +
+
+
+ createAudioStream + irrklang::IAudioStreamLoader +
+
+
+
+ createFileReader + irrklang::IFileFactory +
+
+
+ +
+
+
+ createIrrKlangDevice + irrklang +
+
+
+
+ createSoundDeviceList + irrklang +
+
+
+
+ crossProduct + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_64.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_64.html new file mode 100644 index 0000000..89a6e7f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_64.html @@ -0,0 +1,95 @@ + + + + + + + +
+
Loading...
+
+
+ disableAllEffects + irrklang::ISoundEffectControl +
+
+
+
+ disableChorusSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableCompressorSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableDistortionSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableEchoSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableFlangerSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableGargleSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableI3DL2ReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableParamEqSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableWavesReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ dotProduct + irrklang::vec3d +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_65.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_65.html new file mode 100644 index 0000000..97747e6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_65.html @@ -0,0 +1,284 @@ + + + + + + + +
+
Loading...
+
+
+ E_SOUND_ENGINE_OPTIONS + irrklang +
+
+
+
+ E_SOUND_OUTPUT_DRIVER + irrklang +
+
+
+
+ E_STOP_EVENT_CAUSE + irrklang +
+
+
+
+ E_STREAM_MODE + irrklang +
+
+
+
+ enableChorusSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableCompressorSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableDistortionSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableEchoSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableFlangerSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableGargleSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableI3DL2ReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableParamEqSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableWavesReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ equals + irrklang::vec3d +
+
+
+
+ equalsfloat + irrklang +
+
+
+
+ ESampleFormat + irrklang +
+
+
+
+ ESEC_FORCE_32_BIT + irrklang +
+
+
+ +
+ +
+ +
+
+
+ ESEO_DEFAULT_OPTIONS + irrklang +
+
+
+
+ ESEO_FORCE_32_BIT + irrklang +
+
+
+
+ ESEO_LINEAR_ROLLOFF + irrklang +
+
+
+
+ ESEO_LOAD_PLUGINS + irrklang +
+
+
+
+ ESEO_MULTI_THREADED + irrklang +
+
+
+
+ ESEO_MUTE_IF_NOT_FOCUSED + irrklang +
+
+ + +
+
+ ESEO_USE_3D_BUFFERS + irrklang +
+
+
+
+ ESF_S16 + irrklang +
+
+
+
+ ESF_U8 + irrklang +
+
+
+
+ ESM_AUTO_DETECT + irrklang +
+
+
+
+ ESM_FORCE_32_BIT + irrklang +
+
+
+
+ ESM_NO_STREAMING + irrklang +
+
+
+
+ ESM_STREAMING + irrklang +
+
+
+
+ ESOD_ALSA + irrklang +
+
+
+
+ ESOD_AUTO_DETECT + irrklang +
+
+
+
+ ESOD_CORE_AUDIO + irrklang +
+
+
+
+ ESOD_COUNT + irrklang +
+
+
+
+ ESOD_DIRECT_SOUND + irrklang +
+
+
+
+ ESOD_DIRECT_SOUND_8 + irrklang +
+
+
+
+ ESOD_FORCE_32_BIT + irrklang +
+
+
+
+ ESOD_NULL + irrklang +
+
+
+
+ ESOD_WIN_MM + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_66.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_66.html new file mode 100644 index 0000000..1c2066a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_66.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ forceReloadAtNextUse + irrklang::ISoundSource +
+
+
+
+ FrameCount + irrklang::SAudioStreamFormat +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_67.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_67.html new file mode 100644 index 0000000..7ad33cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_67.html @@ -0,0 +1,321 @@ + + + + + + + +
+
Loading...
+
+
+ getAs4Values + irrklang::vec3d +
+
+ +
+
+ getBytesPerSecond + irrklang::SAudioStreamFormat +
+
+
+
+ getDefault3DSoundMaxDistance + irrklang::ISoundEngine +
+
+
+
+ getDefault3DSoundMinDistance + irrklang::ISoundEngine +
+
+
+
+ getDefaultMaxDistance + irrklang::ISoundSource +
+
+
+
+ getDefaultMinDistance + irrklang::ISoundSource +
+
+
+
+ getDefaultVolume + irrklang::ISoundSource +
+
+
+
+ getDeviceCount + irrklang::ISoundDeviceList +
+
+
+
+ getDeviceDescription + irrklang::ISoundDeviceList +
+
+
+
+ getDeviceID + irrklang::ISoundDeviceList +
+
+
+
+ getDistanceFrom + irrklang::vec3d +
+
+
+
+ getDistanceFromSQ + irrklang::vec3d +
+
+ +
+
+ getFileName + irrklang::IFileReader +
+
+
+
+ getForcedStreamingThreshold + irrklang::ISoundSource +
+
+
+
+ getFormat + irrklang::IAudioStream +
+
+
+
+ getFrameSize + irrklang::SAudioStreamFormat +
+
+
+
+ getHorizontalAngle + irrklang::vec3d +
+
+
+
+ getInternalAudioInterface + irrklang::ISoundEngine +
+
+
+
+ getInterpolated + irrklang::vec3d +
+
+
+
+ getIsPaused + irrklang::ISound +
+
+ +
+
+ getLength + irrklang::vec3d +
+
+
+
+ getLengthSQ + irrklang::vec3d +
+
+
+
+ getMaxDistance + irrklang::ISound +
+
+
+
+ getMinDistance + irrklang::ISound +
+
+
+
+ getName + irrklang::ISoundSource +
+
+
+
+ getPan + irrklang::ISound +
+
+
+
+ getPlaybackSpeed + irrklang::ISound +
+
+ +
+
+ getPlayPosition + irrklang::ISound +
+
+
+
+ getPos + irrklang::IFileReader +
+
+
+
+ getPosition + irrklang::ISound +
+
+
+
+ getRecordedAudioData + irrklang::IAudioRecorder +
+
+
+
+ getSampleData + irrklang::ISoundSource +
+
+
+
+ getSampleDataSize + irrklang::SAudioStreamFormat +
+
+
+
+ getSampleSize + irrklang::SAudioStreamFormat +
+
+
+
+ getSize + irrklang::IFileReader +
+
+
+
+ getSoundEffectControl + irrklang::ISound +
+
+ +
+
+ getSoundSourceCount + irrklang::ISoundEngine +
+
+
+
+ getSoundVolume + irrklang::ISoundEngine +
+
+
+
+ getStreamMode + irrklang::ISoundSource +
+
+
+
+ getVelocity + irrklang::ISound +
+
+
+
+ getVolume + irrklang::ISound +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_69.html new file mode 100644 index 0000000..355b2a4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_69.html @@ -0,0 +1,445 @@ + + + + + + + +
+
Loading...
+
+
+ IAudioRecorder + irrklang +
+
+
+
+ IAudioStream + irrklang +
+
+
+
+ IAudioStreamLoader + irrklang +
+
+
+ +
+
+
+ IFileFactory + irrklang +
+
+
+
+ IFileReader + irrklang +
+
+
+
+ ik_c8 + irrklang +
+
+
+
+ IK_DEGTORAD + irrklang +
+
+
+
+ IK_DEGTORAD64 + irrklang +
+
+ + + +
+
+ ik_f32 + irrklang +
+
+
+
+ ik_f64 + irrklang +
+
+ + + + + + + +
+ +
+ + + + + + + +
+
+ IK_PI32 + irrklang +
+
+
+
+ IK_PI64 + irrklang +
+
+
+
+ IK_RADTODEG + irrklang +
+
+
+
+ IK_RADTODEG64 + irrklang +
+
+
+
+ IK_ROUNDING_ERROR_32 + irrklang +
+
+
+
+ ik_s16 + irrklang +
+
+
+
+ ik_s32 + irrklang +
+
+
+
+ ik_s8 + irrklang +
+
+ +
+
+ ik_u16 + irrklang +
+
+
+
+ ik_u32 + irrklang +
+
+
+
+ ik_u8 + irrklang +
+
+
+ +
+
+
+ invert + irrklang::vec3d +
+
+
+
+ IRefCounted + irrklang +
+
+
+
+ IRefCounted + irrklang::IRefCounted +
+
+
+
+ IRR_KLANG_VERSION + irrKlang.h +
+
+
+
+ irrklang +
+
+
+ +
+
+
+ IRRKLANG_API + irrKlang.h +
+
+
+
+ IRRKLANGCALLCONV + irrKlang.h +
+
+
+
+ isALoadableFileExtension + irrklang::IAudioStreamLoader +
+
+
+
+ isBetweenPoints + irrklang::vec3d +
+
+
+
+ isChorusSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isCompressorSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+ +
+
+ isDistortionSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isEchoSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isFinished + irrklang::ISound +
+
+
+
+ isFlangerSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isGargleSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isI3DL2ReverbSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isLooped + irrklang::ISound +
+
+
+
+ isMultiThreaded + irrklang::ISoundEngine +
+
+
+
+ ISound + irrklang +
+
+
+
+ ISoundDeviceList + irrklang +
+
+
+
+ ISoundEffectControl + irrklang +
+
+
+
+ ISoundEngine + irrklang +
+
+
+
+ ISoundMixedOutputReceiver + irrklang +
+
+
+
+ ISoundSource + irrklang +
+
+
+
+ ISoundStopEventReceiver + irrklang +
+
+
+
+ isParamEqSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isRecording + irrklang::IAudioRecorder +
+
+
+
+ isWavesReverbSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ IVirtualRefCounted + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6c.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6c.html new file mode 100644 index 0000000..0f99162 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6c.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ loadPlugins + irrklang::ISoundEngine +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6d.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6d.html new file mode 100644 index 0000000..ad7e715 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6d.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ makeUTF8fromUTF16string + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6e.html new file mode 100644 index 0000000..1710a9b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6e.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ normalize + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6f.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6f.html new file mode 100644 index 0000000..b4a6e5c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_6f.html @@ -0,0 +1,132 @@ + + + + + + + +
+
Loading...
+
+
+ OnAudioDataReady + irrklang::ISoundMixedOutputReceiver +
+
+
+
+ OnReceiveAudioDataStreamChunk + irrklang::ICapturedAudioDataReceiver +
+
+
+
+ OnSoundStopped + irrklang::ISoundStopEventReceiver +
+
+
+
+ operator!= + irrklang::vec3d +
+
+ + +
+
+ operator+ + irrklang::vec3d +
+
+
+
+ operator+= + irrklang::vec3d +
+
+ +
+
+ operator-= + irrklang::vec3d +
+
+ + +
+
+ operator<= + irrklang::vec3d +
+
+
+
+ operator= + irrklang::vec3d +
+
+
+
+ operator== + irrklang::vec3d +
+
+
+
+ operator>= + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_70.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_70.html new file mode 100644 index 0000000..cbc1adc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_70.html @@ -0,0 +1,68 @@ + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_72.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_72.html new file mode 100644 index 0000000..5aed2fa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_72.html @@ -0,0 +1,71 @@ + + + + + + + +
+
Loading...
+
+
+ read + irrklang::IFileReader +
+
+
+
+ readFrames + irrklang::IAudioStream +
+
+
+
+ registerAudioStreamLoader + irrklang::ISoundEngine +
+
+
+
+ removeAllSoundSources + irrklang::ISoundEngine +
+
+ +
+
+ rotateXYBy + irrklang::vec3d +
+
+
+
+ rotateXZBy + irrklang::vec3d +
+
+
+
+ rotateYZBy + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_73.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_73.html new file mode 100644 index 0000000..f18c871 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_73.html @@ -0,0 +1,248 @@ + + + + + + + +
+
Loading...
+
+
+ SampleFormat + irrklang::SAudioStreamFormat +
+
+
+
+ SampleRate + irrklang::SAudioStreamFormat +
+
+
+
+ SAudioStreamFormat + irrklang +
+
+
+
+ seek + irrklang::IFileReader +
+
+ +
+
+ setAllSoundsPaused + irrklang::ISoundEngine +
+
+
+
+ setDefault3DSoundMaxDistance + irrklang::ISoundEngine +
+
+
+
+ setDefault3DSoundMinDistance + irrklang::ISoundEngine +
+
+
+
+ setDefaultMaxDistance + irrklang::ISoundSource +
+
+
+
+ setDefaultMinDistance + irrklang::ISoundSource +
+
+
+
+ setDefaultVolume + irrklang::ISoundSource +
+
+
+
+ setDopplerEffectParameters + irrklang::ISoundEngine +
+
+
+
+ setForcedStreamingThreshold + irrklang::ISoundSource +
+
+
+
+ setIsLooped + irrklang::ISound +
+
+
+
+ setIsPaused + irrklang::ISound +
+
+
+
+ setLength + irrklang::vec3d +
+
+
+
+ setListenerPosition + irrklang::ISoundEngine +
+
+
+
+ setMaxDistance + irrklang::ISound +
+
+
+
+ setMinDistance + irrklang::ISound +
+
+
+
+ setMixedDataOutputReceiver + irrklang::ISoundEngine +
+
+
+
+ setPan + irrklang::ISound +
+
+
+
+ setPlaybackSpeed + irrklang::ISound +
+
+
+
+ setPlayPosition + irrklang::ISound +
+
+ +
+
+ setRolloffFactor + irrklang::ISoundEngine +
+
+
+
+ setSoundStopEventReceiver + irrklang::ISound +
+
+
+
+ setSoundVolume + irrklang::ISoundEngine +
+
+
+
+ setStreamMode + irrklang::ISoundSource +
+
+
+
+ setVelocity + irrklang::ISound +
+
+
+
+ setVolume + irrklang::ISound +
+
+
+
+ SInternalAudioInterface + irrklang +
+
+
+
+ startRecordingBufferedAudio + irrklang::IAudioRecorder +
+
+
+
+ startRecordingCustomHandledAudio + irrklang::IAudioRecorder +
+
+
+
+ stop + irrklang::ISound +
+
+
+
+ stopAllSounds + irrklang::ISoundEngine +
+
+
+
+ stopAllSoundsOfSoundSource + irrklang::ISoundEngine +
+
+
+
+ stopRecordingAudio + irrklang::IAudioRecorder +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_75.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_75.html new file mode 100644 index 0000000..9df3aa1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_75.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ update + irrklang::ISoundEngine +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_76.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_76.html new file mode 100644 index 0000000..55eb308 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_76.html @@ -0,0 +1,48 @@ + + + + + + + +
+
Loading...
+
+
+ vec3d + irrklang +
+
+ +
+
+ vec3df + irrklang +
+
+
+
+ vec3di + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_78.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_78.html new file mode 100644 index 0000000..dc2cb05 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_78.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ X + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_79.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_79.html new file mode 100644 index 0000000..07637f6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_79.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ Y + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7a.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7a.html new file mode 100644 index 0000000..f48a618 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7a.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ Z + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7e.html new file mode 100644 index 0000000..906da72 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/all_7e.html @@ -0,0 +1,68 @@ + + + + + + + +
+
Loading...
+
+
+ ~IAudioStream + irrklang::IAudioStream +
+
+
+
+ ~IAudioStreamLoader + irrklang::IAudioStreamLoader +
+
+
+
+ ~IFileFactory + irrklang::IFileFactory +
+
+
+
+ ~IFileReader + irrklang::IFileReader +
+
+
+
+ ~IRefCounted + irrklang::IRefCounted +
+
+
+
+ ~ISoundMixedOutputReceiver + irrklang::ISoundMixedOutputReceiver +
+
+
+
+ ~ISoundStopEventReceiver + irrklang::ISoundStopEventReceiver +
+
+
+
+ ~IVirtualRefCounted + irrklang::IVirtualRefCounted +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_69.html new file mode 100644 index 0000000..2b02979 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_69.html @@ -0,0 +1,110 @@ + + + + + + + +
+
Loading...
+
+
+ IAudioRecorder + irrklang +
+
+
+
+ IAudioStream + irrklang +
+
+
+
+ IAudioStreamLoader + irrklang +
+
+
+ +
+
+
+ IFileFactory + irrklang +
+
+
+
+ IFileReader + irrklang +
+
+
+
+ IRefCounted + irrklang +
+
+
+
+ ISound + irrklang +
+
+
+
+ ISoundDeviceList + irrklang +
+
+
+
+ ISoundEffectControl + irrklang +
+
+
+
+ ISoundEngine + irrklang +
+
+
+
+ ISoundMixedOutputReceiver + irrklang +
+
+
+
+ ISoundSource + irrklang +
+
+
+
+ ISoundStopEventReceiver + irrklang +
+
+
+
+ IVirtualRefCounted + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_73.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_73.html new file mode 100644 index 0000000..9887d89 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_73.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ SAudioStreamFormat + irrklang +
+
+
+
+ SInternalAudioInterface + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_76.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_76.html new file mode 100644 index 0000000..631d95e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/classes_76.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ vec3d + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/close.png b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/close.png differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/defines_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/defines_69.html new file mode 100644 index 0000000..3bf6f80 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/defines_69.html @@ -0,0 +1,38 @@ + + + + + + + +
+
Loading...
+
+
+ IRR_KLANG_VERSION + irrKlang.h +
+
+
+
+ IRRKLANG_API + irrKlang.h +
+
+
+
+ IRRKLANGCALLCONV + irrKlang.h +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enums_65.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enums_65.html new file mode 100644 index 0000000..a4fe1b1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enums_65.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+
+ E_SOUND_ENGINE_OPTIONS + irrklang +
+
+
+
+ E_SOUND_OUTPUT_DRIVER + irrklang +
+
+
+
+ E_STOP_EVENT_CAUSE + irrklang +
+
+
+
+ E_STREAM_MODE + irrklang +
+
+
+
+ ESampleFormat + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enumvalues_65.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enumvalues_65.html new file mode 100644 index 0000000..b733d7d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/enumvalues_65.html @@ -0,0 +1,188 @@ + + + + + + + +
+
Loading...
+
+
+ ESEC_FORCE_32_BIT + irrklang +
+
+
+ +
+ +
+ +
+
+
+ ESEO_DEFAULT_OPTIONS + irrklang +
+
+
+
+ ESEO_FORCE_32_BIT + irrklang +
+
+
+
+ ESEO_LINEAR_ROLLOFF + irrklang +
+
+
+
+ ESEO_LOAD_PLUGINS + irrklang +
+
+
+
+ ESEO_MULTI_THREADED + irrklang +
+
+
+
+ ESEO_MUTE_IF_NOT_FOCUSED + irrklang +
+
+ + +
+
+ ESEO_USE_3D_BUFFERS + irrklang +
+
+
+
+ ESF_S16 + irrklang +
+
+
+
+ ESF_U8 + irrklang +
+
+
+
+ ESM_AUTO_DETECT + irrklang +
+
+
+
+ ESM_FORCE_32_BIT + irrklang +
+
+
+
+ ESM_NO_STREAMING + irrklang +
+
+
+
+ ESM_STREAMING + irrklang +
+
+
+
+ ESOD_ALSA + irrklang +
+
+
+
+ ESOD_AUTO_DETECT + irrklang +
+
+
+
+ ESOD_CORE_AUDIO + irrklang +
+
+
+
+ ESOD_COUNT + irrklang +
+
+
+
+ ESOD_DIRECT_SOUND + irrklang +
+
+
+
+ ESOD_DIRECT_SOUND_8 + irrklang +
+
+
+
+ ESOD_FORCE_32_BIT + irrklang +
+
+
+
+ ESOD_NULL + irrklang +
+
+
+
+ ESOD_WIN_MM + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/files_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/files_69.html new file mode 100644 index 0000000..eb8256d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/files_69.html @@ -0,0 +1,125 @@ + + + + + + + +
+
Loading...
+ + + + + + + + + + +
+ +
+ + + + + + + + +
+ +
+
+ +
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_61.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_61.html new file mode 100644 index 0000000..7c29184 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_61.html @@ -0,0 +1,56 @@ + + + + + + + +
+
Loading...
+
+
+ addFileFactory + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceAlias + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromFile + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromMemory + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromPCMData + irrklang::ISoundEngine +
+
+
+
+ addSoundSourceFromRecordedAudio + irrklang::IAudioRecorder +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_63.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_63.html new file mode 100644 index 0000000..dc115ae --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_63.html @@ -0,0 +1,68 @@ + + + + + + + +
+
Loading...
+
+
+ clearRecordedAudioDataBuffer + irrklang::IAudioRecorder +
+
+
+ +
+
+
+ createAudioStream + irrklang::IAudioStreamLoader +
+
+
+
+ createFileReader + irrklang::IFileFactory +
+
+
+ +
+
+
+ createIrrKlangDevice + irrklang +
+
+
+
+ createSoundDeviceList + irrklang +
+
+
+
+ crossProduct + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_64.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_64.html new file mode 100644 index 0000000..89a6e7f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_64.html @@ -0,0 +1,95 @@ + + + + + + + +
+
Loading...
+
+
+ disableAllEffects + irrklang::ISoundEffectControl +
+
+
+
+ disableChorusSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableCompressorSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableDistortionSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableEchoSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableFlangerSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableGargleSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableI3DL2ReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableParamEqSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ disableWavesReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ dotProduct + irrklang::vec3d +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_65.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_65.html new file mode 100644 index 0000000..5dabec1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_65.html @@ -0,0 +1,86 @@ + + + + + + + +
+
Loading...
+
+
+ enableChorusSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableCompressorSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableDistortionSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableEchoSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableFlangerSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableGargleSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableI3DL2ReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableParamEqSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ enableWavesReverbSoundEffect + irrklang::ISoundEffectControl +
+
+
+
+ equals + irrklang::vec3d +
+
+
+
+ equalsfloat + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_66.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_66.html new file mode 100644 index 0000000..5d72024 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_66.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ forceReloadAtNextUse + irrklang::ISoundSource +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_67.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_67.html new file mode 100644 index 0000000..7ad33cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_67.html @@ -0,0 +1,321 @@ + + + + + + + +
+
Loading...
+
+
+ getAs4Values + irrklang::vec3d +
+
+ +
+
+ getBytesPerSecond + irrklang::SAudioStreamFormat +
+
+
+
+ getDefault3DSoundMaxDistance + irrklang::ISoundEngine +
+
+
+
+ getDefault3DSoundMinDistance + irrklang::ISoundEngine +
+
+
+
+ getDefaultMaxDistance + irrklang::ISoundSource +
+
+
+
+ getDefaultMinDistance + irrklang::ISoundSource +
+
+
+
+ getDefaultVolume + irrklang::ISoundSource +
+
+
+
+ getDeviceCount + irrklang::ISoundDeviceList +
+
+
+
+ getDeviceDescription + irrklang::ISoundDeviceList +
+
+
+
+ getDeviceID + irrklang::ISoundDeviceList +
+
+
+
+ getDistanceFrom + irrklang::vec3d +
+
+
+
+ getDistanceFromSQ + irrklang::vec3d +
+
+ +
+
+ getFileName + irrklang::IFileReader +
+
+
+
+ getForcedStreamingThreshold + irrklang::ISoundSource +
+
+
+
+ getFormat + irrklang::IAudioStream +
+
+
+
+ getFrameSize + irrklang::SAudioStreamFormat +
+
+
+
+ getHorizontalAngle + irrklang::vec3d +
+
+
+
+ getInternalAudioInterface + irrklang::ISoundEngine +
+
+
+
+ getInterpolated + irrklang::vec3d +
+
+
+
+ getIsPaused + irrklang::ISound +
+
+ +
+
+ getLength + irrklang::vec3d +
+
+
+
+ getLengthSQ + irrklang::vec3d +
+
+
+
+ getMaxDistance + irrklang::ISound +
+
+
+
+ getMinDistance + irrklang::ISound +
+
+
+
+ getName + irrklang::ISoundSource +
+
+
+
+ getPan + irrklang::ISound +
+
+
+
+ getPlaybackSpeed + irrklang::ISound +
+
+ +
+
+ getPlayPosition + irrklang::ISound +
+
+
+
+ getPos + irrklang::IFileReader +
+
+
+
+ getPosition + irrklang::ISound +
+
+
+
+ getRecordedAudioData + irrklang::IAudioRecorder +
+
+
+
+ getSampleData + irrklang::ISoundSource +
+
+
+
+ getSampleDataSize + irrklang::SAudioStreamFormat +
+
+
+
+ getSampleSize + irrklang::SAudioStreamFormat +
+
+
+
+ getSize + irrklang::IFileReader +
+
+
+
+ getSoundEffectControl + irrklang::ISound +
+
+ +
+
+ getSoundSourceCount + irrklang::ISoundEngine +
+
+
+
+ getSoundVolume + irrklang::ISoundEngine +
+
+
+
+ getStreamMode + irrklang::ISoundSource +
+
+
+
+ getVelocity + irrklang::ISound +
+
+
+
+ getVolume + irrklang::ISound +
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_69.html new file mode 100644 index 0000000..2146011 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_69.html @@ -0,0 +1,131 @@ + + + + + + + +
+
Loading...
+
+
+ invert + irrklang::vec3d +
+
+
+
+ IRefCounted + irrklang::IRefCounted +
+
+
+
+ isALoadableFileExtension + irrklang::IAudioStreamLoader +
+
+
+
+ isBetweenPoints + irrklang::vec3d +
+
+
+
+ isChorusSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isCompressorSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+ +
+
+ isDistortionSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isEchoSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isFinished + irrklang::ISound +
+
+
+
+ isFlangerSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isGargleSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isI3DL2ReverbSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isLooped + irrklang::ISound +
+
+
+
+ isMultiThreaded + irrklang::ISoundEngine +
+
+
+
+ isParamEqSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
+
+ isRecording + irrklang::IAudioRecorder +
+
+
+
+ isWavesReverbSoundEffectEnabled + irrklang::ISoundEffectControl +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6c.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6c.html new file mode 100644 index 0000000..0f99162 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6c.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ loadPlugins + irrklang::ISoundEngine +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6d.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6d.html new file mode 100644 index 0000000..ad7e715 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6d.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ makeUTF8fromUTF16string + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6e.html new file mode 100644 index 0000000..1710a9b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6e.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ normalize + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6f.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6f.html new file mode 100644 index 0000000..b4a6e5c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_6f.html @@ -0,0 +1,132 @@ + + + + + + + +
+
Loading...
+
+
+ OnAudioDataReady + irrklang::ISoundMixedOutputReceiver +
+
+
+
+ OnReceiveAudioDataStreamChunk + irrklang::ICapturedAudioDataReceiver +
+
+
+
+ OnSoundStopped + irrklang::ISoundStopEventReceiver +
+
+
+
+ operator!= + irrklang::vec3d +
+
+ + +
+
+ operator+ + irrklang::vec3d +
+
+
+
+ operator+= + irrklang::vec3d +
+
+ +
+
+ operator-= + irrklang::vec3d +
+
+ + +
+
+ operator<= + irrklang::vec3d +
+
+
+
+ operator= + irrklang::vec3d +
+
+
+
+ operator== + irrklang::vec3d +
+
+
+
+ operator>= + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_70.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_70.html new file mode 100644 index 0000000..99fa911 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_70.html @@ -0,0 +1,38 @@ + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_72.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_72.html new file mode 100644 index 0000000..5aed2fa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_72.html @@ -0,0 +1,71 @@ + + + + + + + +
+
Loading...
+
+
+ read + irrklang::IFileReader +
+
+
+
+ readFrames + irrklang::IAudioStream +
+
+
+
+ registerAudioStreamLoader + irrklang::ISoundEngine +
+
+
+
+ removeAllSoundSources + irrklang::ISoundEngine +
+
+ +
+
+ rotateXYBy + irrklang::vec3d +
+
+
+
+ rotateXZBy + irrklang::vec3d +
+
+
+
+ rotateYZBy + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_73.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_73.html new file mode 100644 index 0000000..22f3e00 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_73.html @@ -0,0 +1,224 @@ + + + + + + + +
+
Loading...
+
+
+ seek + irrklang::IFileReader +
+
+ +
+
+ setAllSoundsPaused + irrklang::ISoundEngine +
+
+
+
+ setDefault3DSoundMaxDistance + irrklang::ISoundEngine +
+
+
+
+ setDefault3DSoundMinDistance + irrklang::ISoundEngine +
+
+
+
+ setDefaultMaxDistance + irrklang::ISoundSource +
+
+
+
+ setDefaultMinDistance + irrklang::ISoundSource +
+
+
+
+ setDefaultVolume + irrklang::ISoundSource +
+
+
+
+ setDopplerEffectParameters + irrklang::ISoundEngine +
+
+
+
+ setForcedStreamingThreshold + irrklang::ISoundSource +
+
+
+
+ setIsLooped + irrklang::ISound +
+
+
+
+ setIsPaused + irrklang::ISound +
+
+
+
+ setLength + irrklang::vec3d +
+
+
+
+ setListenerPosition + irrklang::ISoundEngine +
+
+
+
+ setMaxDistance + irrklang::ISound +
+
+
+
+ setMinDistance + irrklang::ISound +
+
+
+
+ setMixedDataOutputReceiver + irrklang::ISoundEngine +
+
+
+
+ setPan + irrklang::ISound +
+
+
+
+ setPlaybackSpeed + irrklang::ISound +
+
+
+
+ setPlayPosition + irrklang::ISound +
+
+ +
+
+ setRolloffFactor + irrklang::ISoundEngine +
+
+
+
+ setSoundStopEventReceiver + irrklang::ISound +
+
+
+
+ setSoundVolume + irrklang::ISoundEngine +
+
+
+
+ setStreamMode + irrklang::ISoundSource +
+
+
+
+ setVelocity + irrklang::ISound +
+
+
+
+ setVolume + irrklang::ISound +
+
+
+
+ startRecordingBufferedAudio + irrklang::IAudioRecorder +
+
+
+
+ startRecordingCustomHandledAudio + irrklang::IAudioRecorder +
+
+
+
+ stop + irrklang::ISound +
+
+
+
+ stopAllSounds + irrklang::ISoundEngine +
+
+
+
+ stopAllSoundsOfSoundSource + irrklang::ISoundEngine +
+
+
+
+ stopRecordingAudio + irrklang::IAudioRecorder +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_75.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_75.html new file mode 100644 index 0000000..9df3aa1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_75.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ update + irrklang::ISoundEngine +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_76.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_76.html new file mode 100644 index 0000000..c61762e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_76.html @@ -0,0 +1,30 @@ + + + + + + + +
+
Loading...
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_7e.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_7e.html new file mode 100644 index 0000000..906da72 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/functions_7e.html @@ -0,0 +1,68 @@ + + + + + + + +
+
Loading...
+
+
+ ~IAudioStream + irrklang::IAudioStream +
+
+
+
+ ~IAudioStreamLoader + irrklang::IAudioStreamLoader +
+
+
+
+ ~IFileFactory + irrklang::IFileFactory +
+
+
+
+ ~IFileReader + irrklang::IFileReader +
+
+
+
+ ~IRefCounted + irrklang::IRefCounted +
+
+
+
+ ~ISoundMixedOutputReceiver + irrklang::ISoundMixedOutputReceiver +
+
+
+
+ ~ISoundStopEventReceiver + irrklang::ISoundStopEventReceiver +
+
+
+
+ ~IVirtualRefCounted + irrklang::IVirtualRefCounted +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/namespaces_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/namespaces_69.html new file mode 100644 index 0000000..dfc5f13 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/namespaces_69.html @@ -0,0 +1,25 @@ + + + + + + + +
+
Loading...
+
+
+ irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/nomatches.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/nomatches.html new file mode 100644 index 0000000..b1ded27 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.css b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.css new file mode 100644 index 0000000..d263b97 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.css @@ -0,0 +1,198 @@ +/*---------------- Search Box */ + +#MSearchBox { + padding: 0px; + margin: 0px; + border: none; + border: 1px solid #84B0C7; + white-space: nowrap; + -moz-border-radius: 8px; + -webkit-border-top-left-radius: 8px; + -webkit-border-top-right-radius: 8px; + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; +} +#MSearchField { + font: 9pt Arial, Verdana, sans-serif; + color: #999999; + background-color: #FFFFFF; + font-style: normal; + cursor: text; + padding: 1px 1px; + margin: 0px 6px 0px 0px; + border: none; + outline: none; + vertical-align: middle; +} +.MSearchBoxActive #MSearchField { + color: #000000; +} +#MSearchSelect { + float : none; + display : inline; + background : none; + font: 9pt Verdana, sans-serif; + border: none; + margin: 0px 0px 0px 6px; + vertical-align: middle; + padding: 0px 0px; +} + +#MSearchClose { + float : none; + display : none; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +#MSearchCloseImg { + vertical-align: middle; +} + +.MSearchBoxLeft { + display: block; + text-align: left; + float: left; + margin-left: 6px; +} +.MSearchBoxRight { + display: block; + float: right; + text-align: right; + margin-right: 6px; +} +.MSearchBoxSpacer { + font-size: 0px; + clear: both; +} +.MSearchBoxRow { + font-size: 0px; + clear: both; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #A0A0A0; + background-color: #FAFAFA; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + } +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} +a.SelectItem:hover { + color: #FFFFFF; + background-color: #2A50E4; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; + } +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000000; + background-color: #EEF3F5; + } + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} +.SRPage .SRChildren { + display: none; +} +.SRSymbol { + font-weight: bold; color: #153788; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #153788; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.js b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.js new file mode 100644 index 0000000..2ed0ceb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.js @@ -0,0 +1,744 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "000000000000000000000000000000000000000000000000000000000000000001011111010011111011011011100010", + 1: "000000000000000000000000000000000000000000000000000000000000000000000000010000000001001000000000", + 2: "000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000", + 3: "000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000", + 4: "000000000000000000000000000000000000000000000000000000000000000001011111010011111011011000000010", + 5: "000000000000000000000000000000000000000000000000000000000000000000010010010000001001000011100000", + 6: "000000000000000000000000000000000000000000000000000000000000000000000000010000000000001000000000", + 7: "000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000", + 8: "000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000", + 9: "000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "namespaces", + 3: "files", + 4: "functions", + 5: "variables", + 6: "typedefs", + 7: "enums", + 8: "enumvalues", + 9: "defines" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code-32) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location.href = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.png b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.png new file mode 100644 index 0000000..9dd2396 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/search.png differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_69.html new file mode 100644 index 0000000..c91cb1f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_69.html @@ -0,0 +1,74 @@ + + + + + + + +
+
Loading...
+
+
+ ik_c8 + irrklang +
+
+
+
+ ik_f32 + irrklang +
+
+
+
+ ik_f64 + irrklang +
+
+
+
+ ik_s16 + irrklang +
+
+
+
+ ik_s32 + irrklang +
+
+
+
+ ik_s8 + irrklang +
+
+
+
+ ik_u16 + irrklang +
+
+
+
+ ik_u32 + irrklang +
+
+
+
+ ik_u8 + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_76.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_76.html new file mode 100644 index 0000000..d9a44ff --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/typedefs_76.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ vec3df + irrklang +
+
+
+
+ vec3di + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_63.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_63.html new file mode 100644 index 0000000..7952e42 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_63.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ ChannelCount + irrklang::SAudioStreamFormat +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_66.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_66.html new file mode 100644 index 0000000..7b660c0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_66.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ FrameCount + irrklang::SAudioStreamFormat +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_69.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_69.html new file mode 100644 index 0000000..ea7418f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_69.html @@ -0,0 +1,62 @@ + + + + + + + +
+
Loading...
+
+
+ IK_DEGTORAD + irrklang +
+
+
+
+ IK_DEGTORAD64 + irrklang +
+
+
+
+ IK_PI32 + irrklang +
+
+
+
+ IK_PI64 + irrklang +
+
+
+
+ IK_RADTODEG + irrklang +
+
+
+
+ IK_RADTODEG64 + irrklang +
+
+
+
+ IK_ROUNDING_ERROR_32 + irrklang +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_70.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_70.html new file mode 100644 index 0000000..043ae84 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_70.html @@ -0,0 +1,50 @@ + + + + + + + +
+
Loading...
+
+
+ pALSA_SND_PCM + irrklang::SInternalAudioInterface +
+
+
+
+ pCoreAudioDeciceID + irrklang::SInternalAudioInterface +
+
+
+
+ pIDirectSound + irrklang::SInternalAudioInterface +
+
+
+
+ pIDirectSound8 + irrklang::SInternalAudioInterface +
+
+
+
+ pWinMM_HWaveOut + irrklang::SInternalAudioInterface +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_73.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_73.html new file mode 100644 index 0000000..b807d19 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_73.html @@ -0,0 +1,32 @@ + + + + + + + +
+
Loading...
+
+
+ SampleFormat + irrklang::SAudioStreamFormat +
+
+
+
+ SampleRate + irrklang::SAudioStreamFormat +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_78.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_78.html new file mode 100644 index 0000000..dc2cb05 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_78.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ X + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_79.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_79.html new file mode 100644 index 0000000..07637f6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_79.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ Y + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_7a.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_7a.html new file mode 100644 index 0000000..f48a618 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/search/variables_7a.html @@ -0,0 +1,26 @@ + + + + + + + +
+
Loading...
+
+
+ Z + irrklang::vec3d +
+
+
Searching...
+
No Matches
+ +
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format-members.html new file mode 100644 index 0000000..2983c38 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format-members.html @@ -0,0 +1,88 @@ + + + + + +irrKlang: Member List + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format.html new file mode 100644 index 0000000..9f435eb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_audio_stream_format.html @@ -0,0 +1,252 @@ + + + + + +irrKlang: irrklang::SAudioStreamFormat Struct Reference + + + + + + + + + +
+

irrklang::SAudioStreamFormat Struct Reference

+

structure describing an audio stream format with helper functions +More...

+ +

#include <ik_SAudioStreamFormat.h>

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + +

Public Member Functions

ik_s32 getSampleSize () const
 returns the size of a sample of the data described by the stream data in bytes
ik_s32 getFrameSize () const
 returns the frame size of the stream data in bytes
ik_s32 getSampleDataSize () const
 returns the size of the sample data in bytes
ik_s32 getBytesPerSecond () const
 returns amount of bytes per second

Public Attributes

ik_s32 ChannelCount
 channels, 1 for mono, 2 for stereo
ik_s32 FrameCount
 amount of frames in the sample data or stream.
ik_s32 SampleRate
 samples per second
ESampleFormat SampleFormat
 format of the sample data
+

Detailed Description

+

structure describing an audio stream format with helper functions

+

Member Function Documentation

+ +
+
+ + + + + + + + +
ik_s32 irrklang::SAudioStreamFormat::getBytesPerSecond ( )  const [inline]
+
+
+ +

returns amount of bytes per second

+ +
+
+ +
+
+ + + + + + + + +
ik_s32 irrklang::SAudioStreamFormat::getFrameSize ( )  const [inline]
+
+
+ +

returns the frame size of the stream data in bytes

+ +
+
+ +
+
+ + + + + + + + +
ik_s32 irrklang::SAudioStreamFormat::getSampleDataSize ( )  const [inline]
+
+
+ +

returns the size of the sample data in bytes

+ +
+
+ +
+
+ + + + + + + + +
ik_s32 irrklang::SAudioStreamFormat::getSampleSize ( )  const [inline]
+
+
+ +

returns the size of a sample of the data described by the stream data in bytes

+ +
+
+

Member Data Documentation

+ +
+ +
+ +

channels, 1 for mono, 2 for stereo

+ +
+
+ +
+ +
+ +

amount of frames in the sample data or stream.

+

If the stream has an unknown lenght, this is -1

+ +
+
+ +
+ +
+ +

format of the sample data

+ +
+
+ +
+ +
+ +

samples per second

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface-members.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface-members.html new file mode 100644 index 0000000..f8bb1de --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface-members.html @@ -0,0 +1,85 @@ + + + + + +irrKlang: Member List + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface.html b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface.html new file mode 100644 index 0000000..95f5523 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/structirrklang_1_1_s_internal_audio_interface.html @@ -0,0 +1,183 @@ + + + + + +irrKlang: irrklang::SInternalAudioInterface Struct Reference + + + + + + + + + +
+

irrklang::SInternalAudioInterface Struct Reference

+

structure for returning pointers to the internal audio interface. +More...

+ +

#include <ik_ISoundEngine.h>

+ +

List of all members.

+ + + + + + + + + + + + +

Public Attributes

void * pIDirectSound
 IDirectSound interface, this is not null when using the ESOD_DIRECT_SOUND audio driver.
void * pIDirectSound8
 IDirectSound8 interface, this is not null when using the ESOD_DIRECT_SOUND8 audio driver.
void * pWinMM_HWaveOut
 HWaveout interface, this is not null when using the ESOD_WIN_MM audio driver.
void * pALSA_SND_PCM
 ALSA PCM Handle interface, this is not null when using the ESOD_ALSA audio driver.
ik_u32 pCoreAudioDeciceID
 AudioDeviceID handle, this is not null when using the ESOD_CORE_AUDIO audio driver.
+

Detailed Description

+

structure for returning pointers to the internal audio interface.

+

Use ISoundEngine::getInternalAudioInterface() to get this.

+

Member Data Documentation

+ +
+ +
+ +

ALSA PCM Handle interface, this is not null when using the ESOD_ALSA audio driver.

+ +
+
+ +
+ +
+ +

AudioDeviceID handle, this is not null when using the ESOD_CORE_AUDIO audio driver.

+ +
+
+ +
+ +
+ +

IDirectSound interface, this is not null when using the ESOD_DIRECT_SOUND audio driver.

+ +
+
+ +
+ +
+ +

IDirectSound8 interface, this is not null when using the ESOD_DIRECT_SOUND8 audio driver.

+ +
+
+ +
+ +
+ +

HWaveout interface, this is not null when using the ESOD_WIN_MM audio driver.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + +
+ +
+ +
+
+ +
+ + + + + +
irrKlang Audio Library
The irrKlang + Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated + by Doxygen + (1.6.1)
+
+
+ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_b.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_b.gif new file mode 100644 index 0000000..0d62348 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_b.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_l.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_l.gif new file mode 100644 index 0000000..9b1e633 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_l.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_r.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_r.gif new file mode 100644 index 0000000..ce9dd9f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tab_r.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tabs.css b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tabs.css new file mode 100644 index 0000000..a444163 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/cpp/tabs.css @@ -0,0 +1,105 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs #MSearchBox +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI.current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI.current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.navpath +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; + text-align : center; + margin : 2px; + padding : 2px; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/doc_cpp.html b/SQCSim2021/external/irrKlang-1.6.0/doc/doc_cpp.html new file mode 100644 index 0000000..67cd795 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/doc_cpp.html @@ -0,0 +1,12 @@ + + + + +irrKlang Documentation + + + + +This page should redirect to the C++-Documentation + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/doc_dotnet.html b/SQCSim2021/external/irrKlang-1.6.0/doc/doc_dotnet.html new file mode 100644 index 0000000..d703626 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/doc_dotnet.html @@ -0,0 +1,12 @@ + + + + +irrKlang Documentation + + + + +This page should redirect to the .NET-Documentation + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.BytesPerSecond.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.BytesPerSecond.html new file mode 100644 index 0000000..2c04faa --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.BytesPerSecond.html @@ -0,0 +1,57 @@ + + + + + BytesPerSecond Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.BytesPerSecond Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property BytesPerSecond As Integer
+
+ [C#] +
public int BytesPerSecond {get;}
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.ChannelCount.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.ChannelCount.html new file mode 100644 index 0000000..8f92962 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.ChannelCount.html @@ -0,0 +1,58 @@ + + + + + AudioFormat.ChannelCount Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.ChannelCount Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public ChannelCount As Integer
+
+ [C#] +
public int ChannelCount;
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.Format.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.Format.html new file mode 100644 index 0000000..2d7765e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.Format.html @@ -0,0 +1,58 @@ + + + + + AudioFormat.Format Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.Format Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public Format As SampleFormat
+
+ [C#] +
public SampleFormat Format;
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameCount.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameCount.html new file mode 100644 index 0000000..ec35c6a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameCount.html @@ -0,0 +1,58 @@ + + + + + AudioFormat.FrameCount Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.FrameCount Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public FrameCount As Integer
+
+ [C#] +
public int FrameCount;
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameSize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameSize.html new file mode 100644 index 0000000..f54cade --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.FrameSize.html @@ -0,0 +1,57 @@ + + + + + FrameSize Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.FrameSize Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property FrameSize As Integer
+
+ [C#] +
public int FrameSize {get;}
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleDataSize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleDataSize.html new file mode 100644 index 0000000..d87d6b1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleDataSize.html @@ -0,0 +1,57 @@ + + + + + SampleDataSize Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.SampleDataSize Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property SampleDataSize As Integer
+
+ [C#] +
public int SampleDataSize {get;}
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleRate.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleRate.html new file mode 100644 index 0000000..964fc27 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleRate.html @@ -0,0 +1,58 @@ + + + + + AudioFormat.SampleRate Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.SampleRate Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public SampleRate As Integer
+
+ [C#] +
public int SampleRate;
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleSize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleSize.html new file mode 100644 index 0000000..d2200a4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.SampleSize.html @@ -0,0 +1,57 @@ + + + + + SampleSize Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat.SampleSize Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property SampleSize As Integer
+
+ [C#] +
public int SampleSize {get;}
+

+

+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.html new file mode 100644 index 0000000..a782ab2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormat.html @@ -0,0 +1,68 @@ + + + + + AudioFormat Structure + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat Structure

+
+
+
+

+

+

For a list of all members of this type, see AudioFormat Members.

+

+ System.Object +
   System.ValueType
      IrrKlang.AudioFormat

+
+ [Visual Basic] +
Public Structure AudioFormat
+
+ [C#] +
public struct AudioFormat
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ AudioFormat Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatConstructor.html new file mode 100644 index 0000000..86ca83c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatConstructor.html @@ -0,0 +1,50 @@ + + + + + AudioFormat Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat Constructor 

+
+
+
+

Initializes a new instance of the AudioFormat class.

+
+ [Visual Basic] +
Public Sub New()
+
+ [C#] +
public AudioFormat();
+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatFields.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatFields.html new file mode 100644 index 0000000..49c3c4c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatFields.html @@ -0,0 +1,52 @@ + + + + + AudioFormat Fields + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat Fields

+
+
+
+

The fields of the AudioFormat structure are listed below. For a complete list of AudioFormat structure members, see the AudioFormat Members topic.

+

Public Instance Fields

+ +

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatMembers.html new file mode 100644 index 0000000..fcffb2c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatMembers.html @@ -0,0 +1,95 @@ + + + + + AudioFormat Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat Members +

+
+
+
+

+ AudioFormat overview +

+

Public Instance Constructors

+
+ + + + + +
+ + AudioFormat Constructor + Initializes a new instance of the AudioFormat class.
+
+

Public Instance Fields

+ +

Public Instance Properties

+ +

Public Instance Methods

+
+ + + + +
Equals (inherited from ValueType) + Indicates whether this instance and a specified object are equal. +
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from ValueType) + Returns the fully qualified type name of this instance. +
+
+

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatProperties.html new file mode 100644 index 0000000..f1ab46a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.AudioFormatProperties.html @@ -0,0 +1,52 @@ + + + + + AudioFormat Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

AudioFormat Properties

+
+
+
+

The properties of the AudioFormat structure are listed below. For a complete list of AudioFormat structure members, see the AudioFormat Members topic.

+

Public Instance Properties

+ +

See Also

+

+ AudioFormat Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarder.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarder.html new file mode 100644 index 0000000..a112477 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarder.html @@ -0,0 +1,67 @@ + + + + + EventForwarder Structure + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

EventForwarder Structure

+
+
+
+

Internal class, do not use.

+

For a list of all members of this type, see EventForwarder Members.

+

+ System.Object +
   System.ValueType
      IrrKlang.EventForwarder

+
+ [Visual Basic] +
Public Structure EventForwarder
+
+ [C#] +
public struct EventForwarder
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ EventForwarder Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarderMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarderMembers.html new file mode 100644 index 0000000..d834fae --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.EventForwarderMembers.html @@ -0,0 +1,67 @@ + + + + + EventForwarder Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

EventForwarder Members +

+
+
+
+

+ EventForwarder overview +

+

Public Instance Methods

+
+ + + + +
Equals (inherited from ValueType) + Indicates whether this instance and a specified object are equal. +
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from ValueType) + Returns the fully qualified type name of this instance. +
+
+

See Also

+

+ EventForwarder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarder.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarder.html new file mode 100644 index 0000000..e7b6821 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarder.html @@ -0,0 +1,67 @@ + + + + + FileFactoryForwarder Structure + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

FileFactoryForwarder Structure

+
+
+
+

Internal class, do not use.

+

For a list of all members of this type, see FileFactoryForwarder Members.

+

+ System.Object +
   System.ValueType
      IrrKlang.FileFactoryForwarder

+
+ [Visual Basic] +
Public Structure FileFactoryForwarder
+
+ [C#] +
public struct FileFactoryForwarder
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ FileFactoryForwarder Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarderMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarderMembers.html new file mode 100644 index 0000000..2026967 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.FileFactoryForwarderMembers.html @@ -0,0 +1,67 @@ + + + + + FileFactoryForwarder Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

FileFactoryForwarder Members +

+
+
+
+

+ FileFactoryForwarder overview +

+

Public Instance Methods

+
+ + + + +
Equals (inherited from ValueType) + Indicates whether this instance and a specified object are equal. +
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from ValueType) + Returns the fully qualified type name of this instance. +
+
+

See Also

+

+ FileFactoryForwarder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AddSoundSourceFromRecordedAudio.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AddSoundSourceFromRecordedAudio.html new file mode 100644 index 0000000..220ed70 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AddSoundSourceFromRecordedAudio.html @@ -0,0 +1,54 @@ + + + + + IAudioRecorder.AddSoundSourceFromRecordedAudio Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.AddSoundSourceFromRecordedAudio Method 

+
+
+
+

Creates a sound source for the recorded audio data, so that it can be played back. Only works after calling stopRecordingAudio().

+
+ [Visual Basic] +
Public Function AddSoundSourceFromRecordedAudio( _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromRecordedAudio(
   string soundName
);
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AudioFormat.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AudioFormat.html new file mode 100644 index 0000000..08067f9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.AudioFormat.html @@ -0,0 +1,56 @@ + + + + + AudioFormat Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.AudioFormat Property

+
+
+
+

Returns the audio format of the recorded audio data. Also contains informations about the length of the recorded audio stream.

+
+ [Visual Basic] +
Public ReadOnly Property AudioFormat As AudioFormat
+
+ [C#] +
public AudioFormat AudioFormat {get;}
+

+

+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.ClearRecordedAudioDataBuffer.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.ClearRecordedAudioDataBuffer.html new file mode 100644 index 0000000..994a3c1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.ClearRecordedAudioDataBuffer.html @@ -0,0 +1,54 @@ + + + + + IAudioRecorder.ClearRecordedAudioDataBuffer Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.ClearRecordedAudioDataBuffer Method 

+
+
+
+

Clears recorded audio data buffer, freeing memory. This method will only succeed if audio recording is currently stopped.

+
+ [Visual Basic] +
Public Sub ClearRecordedAudioDataBuffer()
+
+ [C#] +
public void ClearRecordedAudioDataBuffer();
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.Finalize.html new file mode 100644 index 0000000..fe25583 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.Finalize.html @@ -0,0 +1,54 @@ + + + + + IAudioRecorder.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.IsRecording.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.IsRecording.html new file mode 100644 index 0000000..b4954c5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.IsRecording.html @@ -0,0 +1,56 @@ + + + + + IsRecording Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.IsRecording Property

+
+
+
+

Returns if the recorder is currently recording audio.

+
+ [Visual Basic] +
Public ReadOnly Property IsRecording As Boolean
+
+ [C#] +
public bool IsRecording {get;}
+

+

+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.RecordedAudioData.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.RecordedAudioData.html new file mode 100644 index 0000000..100bf45 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.RecordedAudioData.html @@ -0,0 +1,57 @@ + + + + + RecordedAudioData Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.RecordedAudioData Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property RecordedAudioData As Byte()
+
+ [C#] +
public byte[] RecordedAudioData {get;}
+

+

+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_1.html new file mode 100644 index 0000000..2f03695 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_1.html @@ -0,0 +1,55 @@ + + + + + IAudioRecorder.StartRecordingBufferedAudio Method (Int32, SampleFormat, Int32) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.StartRecordingBufferedAudio Method (Int32, SampleFormat, Int32)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Function StartRecordingBufferedAudio( _
   ByVal sampleRate As Integer, _
   ByVal sampleFormat As SampleFormat, _
   ByVal channelCount As Integer _
) As Boolean
+
+ [C#] +
public bool StartRecordingBufferedAudio(
   int sampleRate,
   SampleFormat sampleFormat,
   int channelCount
);
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace | IAudioRecorder.StartRecordingBufferedAudio Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_2.html new file mode 100644 index 0000000..cf4c7e4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overload_2.html @@ -0,0 +1,54 @@ + + + + + IAudioRecorder.StartRecordingBufferedAudio Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.StartRecordingBufferedAudio Method ()

+
+
+
+

Starts recording audio.

+
+ [Visual Basic] +
Overloads Public Function StartRecordingBufferedAudio() As Boolean
+
+ [C#] +
public bool StartRecordingBufferedAudio();
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace | IAudioRecorder.StartRecordingBufferedAudio Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overloads.html new file mode 100644 index 0000000..889bbf6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StartRecordingBufferedAudio_overloads.html @@ -0,0 +1,49 @@ + + + + + StartRecordingBufferedAudio Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.StartRecordingBufferedAudio Method

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StopRecordingAudio.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StopRecordingAudio.html new file mode 100644 index 0000000..4d4c00c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.StopRecordingAudio.html @@ -0,0 +1,54 @@ + + + + + IAudioRecorder.StopRecordingAudio Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder.StopRecordingAudio Method 

+
+
+
+

Stops recording audio.

+
+ [Visual Basic] +
Public Sub StopRecordingAudio()
+
+ [C#] +
public void StopRecordingAudio();
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.html new file mode 100644 index 0000000..abaaf10 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorder.html @@ -0,0 +1,67 @@ + + + + + IAudioRecorder Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Class

+
+
+
+

Interface to an audio recorder.

+

For a list of all members of this type, see IAudioRecorder Members.

+

+ System.Object +
   IrrKlang.IAudioRecorder

+
+ [Visual Basic] +
Public Class IAudioRecorder
+
+ [C#] +
public class IAudioRecorder
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IAudioRecorder Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor.html new file mode 100644 index 0000000..ede36ea --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor.html @@ -0,0 +1,58 @@ + + + + + IAudioRecorder Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Constructor

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor1.html new file mode 100644 index 0000000..f05854d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor1.html @@ -0,0 +1,47 @@ + + + + + IAudioRecorder Constructor (ISoundEngine, SoundOutputDriver, String) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Constructor (ISoundEngine, SoundOutputDriver, String)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal engine As ISoundEngine, _
   ByVal driver As SoundOutputDriver, _
   ByVal deviceID As String _
)
+
+ [C#] +
public IAudioRecorder(
   ISoundEngine engine,
   SoundOutputDriver driver,
   string deviceID
);
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace | IAudioRecorder Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor2.html new file mode 100644 index 0000000..acb8f57 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor2.html @@ -0,0 +1,47 @@ + + + + + IAudioRecorder Constructor (ISoundEngine, SoundOutputDriver) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Constructor (ISoundEngine, SoundOutputDriver)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal engine As ISoundEngine, _
   ByVal driver As SoundOutputDriver _
)
+
+ [C#] +
public IAudioRecorder(
   ISoundEngine engine,
   SoundOutputDriver driver
);
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace | IAudioRecorder Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor3.html new file mode 100644 index 0000000..0283e17 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderConstructor3.html @@ -0,0 +1,47 @@ + + + + + IAudioRecorder Constructor (ISoundEngine) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Constructor (ISoundEngine)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal engine As ISoundEngine _
)
+
+ [C#] +
public IAudioRecorder(
   ISoundEngine engine
);
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace | IAudioRecorder Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMembers.html new file mode 100644 index 0000000..83847af --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMembers.html @@ -0,0 +1,98 @@ + + + + + IAudioRecorder Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Members +

+
+
+
+

+ IAudioRecorder overview +

+

Public Instance Constructors

+
+ + + + + +
+ + IAudioRecorder + Overloaded. Initializes a new instance of the IAudioRecorder class.
+
+

Public Instance Properties

+
+ + + +
AudioFormat Returns the audio format of the recorded audio data. Also contains informations about the length of the recorded audio stream.
IsRecording Returns if the recorder is currently recording audio.
RecordedAudioData 
+
+

Public Instance Methods

+
+ + + + + + + + +
AddSoundSourceFromRecordedAudio Creates a sound source for the recorded audio data, so that it can be played back. Only works after calling stopRecordingAudio().
ClearRecordedAudioDataBuffer Clears recorded audio data buffer, freeing memory. This method will only succeed if audio recording is currently stopped.
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
StartRecordingBufferedAudioOverloaded.  
StopRecordingAudio Stops recording audio.
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMethods.html new file mode 100644 index 0000000..55b0ed0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderMethods.html @@ -0,0 +1,72 @@ + + + + + IAudioRecorder Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Methods

+
+
+
+

The methods of the IAudioRecorder class are listed below. For a complete list of IAudioRecorder class members, see the IAudioRecorder Members topic.

+

Public Instance Methods

+
+ + + + + + + + +
AddSoundSourceFromRecordedAudio Creates a sound source for the recorded audio data, so that it can be played back. Only works after calling stopRecordingAudio().
ClearRecordedAudioDataBuffer Clears recorded audio data buffer, freeing memory. This method will only succeed if audio recording is currently stopped.
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
StartRecordingBufferedAudioOverloaded.  
StopRecordingAudio Stops recording audio.
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderProperties.html new file mode 100644 index 0000000..eb04fbf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IAudioRecorderProperties.html @@ -0,0 +1,51 @@ + + + + + IAudioRecorder Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IAudioRecorder Properties

+
+
+
+

The properties of the IAudioRecorder class are listed below. For a complete list of IAudioRecorder class members, see the IAudioRecorder Members topic.

+

Public Instance Properties

+
+ + + +
AudioFormat Returns the audio format of the recorded audio data. Also contains informations about the length of the recorded audio stream.
IsRecording Returns if the recorder is currently recording audio.
RecordedAudioData 
+
+

See Also

+

+ IAudioRecorder Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.html new file mode 100644 index 0000000..eb4b69e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.html @@ -0,0 +1,62 @@ + + + + + IFileFactory Interface + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IFileFactory Interface

+
+
+
+

Interface to overwrite opening files. Derive your own class from IFileFactory, overwrite the openFile() method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.

+

For a list of all members of this type, see IFileFactory Members.

+

+

+
+ [Visual Basic] +
Public Interface IFileFactory
+
+ [C#] +
public interface IFileFactory
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IFileFactory Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.openFile.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.openFile.html new file mode 100644 index 0000000..7dd0621 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactory.openFile.html @@ -0,0 +1,55 @@ + + + + + IFileFactory.openFile Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IFileFactory.openFile Method 

+
+
+
+

Opens a file for read access. Derive your own class from IFileFactory, overwrite this method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.

+
+ [Visual Basic] +
Function openFile( _
   ByVal filename As String _
) As Stream
+
+ [C#] +
+ Stream openFile(
   string filename
);
+

See Also

+

+ IFileFactory Interface | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMembers.html new file mode 100644 index 0000000..9de7a72 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMembers.html @@ -0,0 +1,56 @@ + + + + + IFileFactory Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IFileFactory Members +

+
+
+
+

+ IFileFactory overview +

+

Public Instance Methods

+
+ +
openFile Opens a file for read access. Derive your own class from IFileFactory, overwrite this method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.
+
+

See Also

+

+ IFileFactory Interface | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMethods.html new file mode 100644 index 0000000..618acc5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.IFileFactoryMethods.html @@ -0,0 +1,49 @@ + + + + + IFileFactory Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IFileFactory Methods

+
+
+
+

The methods of the IFileFactory interface are listed below. For a complete list of IFileFactory interface members, see the IFileFactory Members topic.

+

Public Instance Methods

+
+ +
openFile Opens a file for read access. Derive your own class from IFileFactory, overwrite this method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.
+
+

See Also

+

+ IFileFactory Interface | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Dispose.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Dispose.html new file mode 100644 index 0000000..6766dad --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Dispose.html @@ -0,0 +1,59 @@ + + + + + ISound.Dispose Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Dispose Method 

+
+
+
+

+

+
+ [Visual Basic] +
Overrides Public Sub Dispose() _
    Implements IDisposable.Dispose
+
+ [C#] +
public override void Dispose();
+

Implements

+

+ IDisposable.Dispose +

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finalize.html new file mode 100644 index 0000000..7880e7c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finalize.html @@ -0,0 +1,54 @@ + + + + + ISound.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finished.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finished.html new file mode 100644 index 0000000..a8eacc1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Finished.html @@ -0,0 +1,56 @@ + + + + + Finished Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Finished Property

+
+
+
+

returns if the sound has finished playing. Don't mix this up with isPaused(). isFinished() returns if the sound has been finished playing. If it has, is maybe already have been removed from the playing list of the sound engine and calls to any other of the methods of ISound will not have any result. If you call stop() to a playing sound will result that this function will return true when invoked.

+
+ [Visual Basic] +
Public ReadOnly Property Finished As Boolean
+
+ [C#] +
public bool Finished {get;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Looped.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Looped.html new file mode 100644 index 0000000..d5b8a0d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Looped.html @@ -0,0 +1,56 @@ + + + + + Looped Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Looped Property

+
+
+
+

gets or sets if the sound has been started to play looped. If the sound is playing looped and it is changed to not-looped, then it will stop playing after the loop has finished. If it is not looped and changed to looped, the sound will start repeating to be played when it reaches its end. Invoking this method will not have an effect when the sound already has stopped.

+
+ [Visual Basic] +
Public Property Looped As Boolean
+
+ [C#] +
public bool Looped {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MaxDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MaxDistance.html new file mode 100644 index 0000000..883f52a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MaxDistance.html @@ -0,0 +1,56 @@ + + + + + MaxDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.MaxDistance Property

+
+
+
+

Sets the maximal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.

+
+ [Visual Basic] +
Public Property MaxDistance As Single
+
+ [C#] +
public float MaxDistance {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MinDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MinDistance.html new file mode 100644 index 0000000..ab2a728 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.MinDistance.html @@ -0,0 +1,56 @@ + + + + + MinDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.MinDistance Property

+
+
+
+

Sets the minimal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.

+
+ [Visual Basic] +
Public Property MinDistance As Single
+
+ [C#] +
public float MinDistance {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Pan.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Pan.html new file mode 100644 index 0000000..1da8d35 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Pan.html @@ -0,0 +1,56 @@ + + + + + Pan Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Pan Property

+
+
+
+

sets the pan of the sound. Takes a value between -1 and 1, 0 is center.

+
+ [Visual Basic] +
Public Property Pan As Single
+
+ [C#] +
public float Pan {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Paused.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Paused.html new file mode 100644 index 0000000..d55a25e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Paused.html @@ -0,0 +1,56 @@ + + + + + Paused Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Paused Property

+
+
+
+

returns if the sound is paused

+
+ [Visual Basic] +
Public Property Paused As Boolean
+
+ [C#] +
public bool Paused {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayLength.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayLength.html new file mode 100644 index 0000000..ab35078 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayLength.html @@ -0,0 +1,56 @@ + + + + + PlayLength Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.PlayLength Property

+
+
+
+

Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support length reporting or it is a file stream of unknown size. Note: You can also use ISoundSource::getPlayLength() to get the length of a sound without actually needing to play it.

+
+ [Visual Basic] +
Public ReadOnly Property PlayLength As UInt32
+
+ [C#] +
public uint PlayLength {get;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayPosition.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayPosition.html new file mode 100644 index 0000000..e7b3297 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlayPosition.html @@ -0,0 +1,56 @@ + + + + + PlayPosition Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.PlayPosition Property

+
+
+
+

returns or sets the current play position of the sound in milliseconds. Returns -1 if not implemented or possible for this sound for example because it already has been stopped and freed internally or similar.

+
+ [Visual Basic] +
Public Property PlayPosition As UInt32
+
+ [C#] +
public uint PlayPosition {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlaybackSpeed.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlaybackSpeed.html new file mode 100644 index 0000000..441cf8c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.PlaybackSpeed.html @@ -0,0 +1,59 @@ + + + + + PlaybackSpeed Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.PlaybackSpeed Property

+
+
+
+

Sets or gets the playback speed (frequency) of the sound. Plays the sound at a higher or lower speed, increasing or decreasing its frequency which makes it sound lower or higher. Note that this feature is not available on all sound output drivers (it is on the DirectSound drivers at least), and it does not work together with the 'enableSoundEffects' parameter of ISoundEngine::play2D and ISoundEngine::play3D when using DirectSound.

+
+ [Visual Basic] +
Public Property PlaybackSpeed As Single
+
+ [C#] +
public float PlaybackSpeed {get; set;}
+

+

+

Parameters

+
+
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Position.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Position.html new file mode 100644 index 0000000..0cddf56 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Position.html @@ -0,0 +1,56 @@ + + + + + Position Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Position Property

+
+
+
+

sets the position of the sound in 3d space

+
+ [Visual Basic] +
Public Property Position As Vector3D
+
+ [C#] +
public Vector3D Position {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.SoundEffectControl.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.SoundEffectControl.html new file mode 100644 index 0000000..1be2907 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.SoundEffectControl.html @@ -0,0 +1,56 @@ + + + + + SoundEffectControl Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.SoundEffectControl Property

+
+
+
+

Returns the sound effect control interface for this sound. Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can be controlled using this. This can be null if the sound has not been started with the flag 'enableSoundEffects' or the driver doesn't support effects.

+
+ [Visual Basic] +
Public ReadOnly Property SoundEffectControl As ISoundEffectControl
+
+ [C#] +
public ISoundEffectControl SoundEffectControl {get;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Stop.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Stop.html new file mode 100644 index 0000000..8f33317 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Stop.html @@ -0,0 +1,55 @@ + + + + + ISound.Stop Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Stop Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Sub Stop()
+
+ [C#] +
public void Stop();
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Velocity.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Velocity.html new file mode 100644 index 0000000..bce63b9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Velocity.html @@ -0,0 +1,56 @@ + + + + + Velocity Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Velocity Property

+
+
+
+

sets or returns the velocity of the sound in 3d space, needed for Doppler effects. To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.

+
+ [Visual Basic] +
Public Property Velocity As Vector3D
+
+ [C#] +
public Vector3D Velocity {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Volume.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Volume.html new file mode 100644 index 0000000..05ca45b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.Volume.html @@ -0,0 +1,56 @@ + + + + + Volume Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.Volume Property

+
+
+
+

returns volume of the sound, a value between 0 (mute) and 1 (full volume). (this volume gets multiplied with the master volume of the sound engine and other parameters like distance to listener when played as 3d sound)

+
+ [Visual Basic] +
Public Property Volume As Single
+
+ [C#] +
public float Volume {get; set;}
+

+

+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.html new file mode 100644 index 0000000..2522db0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.html @@ -0,0 +1,67 @@ + + + + + ISound Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound Class

+
+
+
+

Represents a sound which is currently played. You can stop the sound or change the volume or whatever using this interface. Don't create sounds using new ISound, this won't work anyway. You can get an instance of an ISonud class by calling ISoundEngine::Play2D or Play3D.

+

For a list of all members of this type, see ISound Members.

+

+ System.Object +
   IrrKlang.ISound

+
+ [Visual Basic] +
Public Class ISound
    Implements IDisposable
+
+ [C#] +
public class ISound : IDisposable
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISound Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_1.html new file mode 100644 index 0000000..ffc6608 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_1.html @@ -0,0 +1,62 @@ + + + + + ISound.setSoundStopEventReceiver Method (ISoundStopEventReceiver) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.setSoundStopEventReceiver Method (ISoundStopEventReceiver)

+
+
+
+

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+
+ [Visual Basic] +
Overloads Public Sub setSoundStopEventReceiver( _
   ByVal reciever As ISoundStopEventReceiver _
)
+
+ [C#] +
public void setSoundStopEventReceiver(
   ISoundStopEventReceiver reciever
);
+

Parameters

+
+
+ reciever +
+
+
+
+

See Also

+

+ ISound Class | IrrKlang Namespace | ISound.setSoundStopEventReceiver Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_2.html new file mode 100644 index 0000000..dbdceeb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overload_2.html @@ -0,0 +1,66 @@ + + + + + ISound.setSoundStopEventReceiver Method (ISoundStopEventReceiver, Object) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.setSoundStopEventReceiver Method (ISoundStopEventReceiver, Object)

+
+
+
+

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+
+ [Visual Basic] +
Overloads Public Sub setSoundStopEventReceiver( _
   ByVal reciever As ISoundStopEventReceiver, _
   ByVal userData As Object _
)
+
+ [C#] +
public void setSoundStopEventReceiver(
   ISoundStopEventReceiver reciever,
   object userData
);
+

Parameters

+
+
+ reciever +
+
+
+
+ userData +
+
A user data object, can be null
+
+

See Also

+

+ ISound Class | IrrKlang Namespace | ISound.setSoundStopEventReceiver Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overloads.html new file mode 100644 index 0000000..3d08360 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISound.setSoundStopEventReceiver_overloads.html @@ -0,0 +1,49 @@ + + + + + setSoundStopEventReceiver Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound.setSoundStopEventReceiver Method

+
+
+
+

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+

Overload List

+

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+
+ public void setSoundStopEventReceiver(ISoundStopEventReceiver); +
+

Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.

+
+ public void setSoundStopEventReceiver(ISoundStopEventReceiver,object); +
+

See Also

+

+ ISound Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundConstructor.html new file mode 100644 index 0000000..d70389a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundConstructor.html @@ -0,0 +1,51 @@ + + + + + ISound Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound Constructor 

+
+
+
+

+

+
+ [Visual Basic] +
Public Sub New( _
   ByVal nativeSound As ISound*, _
   ByVal nativeEngine As ISoundEngine* _
)
+
+ [C#] +
public ISound(
   ISound* nativeSound,
   ISoundEngine* nativeEngine
);
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.DeviceCount.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.DeviceCount.html new file mode 100644 index 0000000..d8dc05c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.DeviceCount.html @@ -0,0 +1,56 @@ + + + + + DeviceCount Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList.DeviceCount Property

+
+
+
+

returns amount of enumerated devices in the list

+
+ [Visual Basic] +
Public ReadOnly Property DeviceCount As Integer
+
+ [C#] +
public int DeviceCount {get;}
+

+

+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.Finalize.html new file mode 100644 index 0000000..3b4840d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.Finalize.html @@ -0,0 +1,54 @@ + + + + + ISoundDeviceList.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceDescription.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceDescription.html new file mode 100644 index 0000000..0933ba0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceDescription.html @@ -0,0 +1,54 @@ + + + + + ISoundDeviceList.getDeviceDescription Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList.getDeviceDescription Method 

+
+
+
+

returns description of the device. Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1.

+
+ [Visual Basic] +
Public Function getDeviceDescription( _
   ByVal index As Integer _
) As String
+
+ [C#] +
public string getDeviceDescription(
   int index
);
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceID.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceID.html new file mode 100644 index 0000000..e649625 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.getDeviceID.html @@ -0,0 +1,55 @@ + + + + + ISoundDeviceList.getDeviceID Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList.getDeviceID Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Function getDeviceID( _
   ByVal index As Integer _
) As String
+
+ [C#] +
public string getDeviceID(
   int index
);
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.html new file mode 100644 index 0000000..719e07f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceList.html @@ -0,0 +1,67 @@ + + + + + ISoundDeviceList Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Class

+
+
+
+

A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. The function createIrrKlangDevice() has a parameter 'deviceID' which takes the value returned by ISoundDeviceList::getDeviceID() and uses that device then. The list of devices in ISoundDeviceList usually also includes the default device which is the first entry and has an empty deviceID string ("") and the description "default device".*/

+

For a list of all members of this type, see ISoundDeviceList Members.

+

+ System.Object +
   IrrKlang.ISoundDeviceList

+
+ [Visual Basic] +
Public Class ISoundDeviceList
+
+ [C#] +
public class ISoundDeviceList
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISoundDeviceList Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor.html new file mode 100644 index 0000000..b4152cd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor.html @@ -0,0 +1,54 @@ + + + + + ISoundDeviceList Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Constructor

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor1.html new file mode 100644 index 0000000..c722a33 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor1.html @@ -0,0 +1,47 @@ + + + + + ISoundDeviceList Constructor (SoundDeviceListType, SoundOutputDriver) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Constructor (SoundDeviceListType, SoundOutputDriver)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal type As SoundDeviceListType, _
   ByVal driver As SoundOutputDriver _
)
+
+ [C#] +
public ISoundDeviceList(
   SoundDeviceListType type,
   SoundOutputDriver driver
);
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace | ISoundDeviceList Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor2.html new file mode 100644 index 0000000..e2053f7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListConstructor2.html @@ -0,0 +1,47 @@ + + + + + ISoundDeviceList Constructor (SoundDeviceListType) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Constructor (SoundDeviceListType)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal type As SoundDeviceListType _
)
+
+ [C#] +
public ISoundDeviceList(
   SoundDeviceListType type
);
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace | ISoundDeviceList Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMembers.html new file mode 100644 index 0000000..ad8e2cd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMembers.html @@ -0,0 +1,94 @@ + + + + + ISoundDeviceList Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Members +

+
+
+
+

+ ISoundDeviceList overview +

+

Public Instance Constructors

+
+ + + + + +
+ + ISoundDeviceList + Overloaded. Initializes a new instance of the ISoundDeviceList class.
+
+

Public Instance Properties

+
+ +
DeviceCount returns amount of enumerated devices in the list
+
+

Public Instance Methods

+
+ + + + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
getDeviceDescription returns description of the device. Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1.
getDeviceID 
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMethods.html new file mode 100644 index 0000000..267e41c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListMethods.html @@ -0,0 +1,70 @@ + + + + + ISoundDeviceList Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Methods

+
+
+
+

The methods of the ISoundDeviceList class are listed below. For a complete list of ISoundDeviceList class members, see the ISoundDeviceList Members topic.

+

Public Instance Methods

+
+ + + + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
getDeviceDescription returns description of the device. Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1.
getDeviceID 
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListProperties.html new file mode 100644 index 0000000..3915763 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundDeviceListProperties.html @@ -0,0 +1,49 @@ + + + + + ISoundDeviceList Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundDeviceList Properties

+
+
+
+

The properties of the ISoundDeviceList class are listed below. For a complete list of ISoundDeviceList class members, see the ISoundDeviceList Members topic.

+

Public Instance Properties

+
+ +
DeviceCount returns amount of enumerated devices in the list
+
+

See Also

+

+ ISoundDeviceList Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableAllEffects.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableAllEffects.html new file mode 100644 index 0000000..8e1a2dc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableAllEffects.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableAllEffects Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableAllEffects Method 

+
+
+
+

Disables all active sound effects.

+
+ [Visual Basic] +
Public Sub DisableAllEffects()
+
+ [C#] +
public void DisableAllEffects();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableChorusSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableChorusSoundEffect.html new file mode 100644 index 0000000..e24c899 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableChorusSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableChorusSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableChorusSoundEffect Method 

+
+
+
+

Disables the Chorus sound effect.

+
+ [Visual Basic] +
Public Sub DisableChorusSoundEffect()
+
+ [C#] +
public void DisableChorusSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableCompressorSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableCompressorSoundEffect.html new file mode 100644 index 0000000..45de1a6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableCompressorSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableCompressorSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableCompressorSoundEffect Method 

+
+
+
+

Disables the Compressor sound effect.

+
+ [Visual Basic] +
Public Sub DisableCompressorSoundEffect()
+
+ [C#] +
public void DisableCompressorSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableDistortionSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableDistortionSoundEffect.html new file mode 100644 index 0000000..724d770 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableDistortionSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableDistortionSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableDistortionSoundEffect Method 

+
+
+
+

Disables the Distortion sound effect.

+
+ [Visual Basic] +
Public Sub DisableDistortionSoundEffect()
+
+ [C#] +
public void DisableDistortionSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableEchoSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableEchoSoundEffect.html new file mode 100644 index 0000000..46ec536 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableEchoSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableEchoSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableEchoSoundEffect Method 

+
+
+
+

Disables the Echo sound effect.

+
+ [Visual Basic] +
Public Sub DisableEchoSoundEffect()
+
+ [C#] +
public void DisableEchoSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableFlangerSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableFlangerSoundEffect.html new file mode 100644 index 0000000..42b72d7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableFlangerSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableFlangerSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableFlangerSoundEffect Method 

+
+
+
+

Disables the Flanger sound effect.

+
+ [Visual Basic] +
Public Sub DisableFlangerSoundEffect()
+
+ [C#] +
public void DisableFlangerSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableGargleSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableGargleSoundEffect.html new file mode 100644 index 0000000..e7a21f7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableGargleSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableGargleSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableGargleSoundEffect Method 

+
+
+
+

Disables the Gargle sound effect.

+
+ [Visual Basic] +
Public Sub DisableGargleSoundEffect()
+
+ [C#] +
public void DisableGargleSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableI3DL2ReverbSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableI3DL2ReverbSoundEffect.html new file mode 100644 index 0000000..b403fdc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableI3DL2ReverbSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableI3DL2ReverbSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableI3DL2ReverbSoundEffect Method 

+
+
+
+

Disables the I3DL2 sound effect.

+
+ [Visual Basic] +
Public Sub DisableI3DL2ReverbSoundEffect()
+
+ [C#] +
public void DisableI3DL2ReverbSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableParamEqSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableParamEqSoundEffect.html new file mode 100644 index 0000000..fc6fe7d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableParamEqSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableParamEqSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableParamEqSoundEffect Method 

+
+
+
+

Disables the ParamEq sound effect.

+
+ [Visual Basic] +
Public Sub DisableParamEqSoundEffect()
+
+ [C#] +
public void DisableParamEqSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableWavesReverbSoundEffect.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableWavesReverbSoundEffect.html new file mode 100644 index 0000000..6917872 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.DisableWavesReverbSoundEffect.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.DisableWavesReverbSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.DisableWavesReverbSoundEffect Method 

+
+
+
+

Disable the WavesReverb sound effect.

+
+ [Visual Basic] +
Public Sub DisableWavesReverbSoundEffect()
+
+ [C#] +
public void DisableWavesReverbSoundEffect();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_1.html new file mode 100644 index 0000000..cc3d167 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableChorusSoundEffect Method (Single, Single, Single, Single, Boolean, Single, Int32) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableChorusSoundEffect Method (Single, Single, Single, Single, Boolean, Single, Int32)

+
+
+
+

Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableChorusSoundEffect( _
   ByVal fWetDryMix As Single, _
   ByVal fDepth As Single, _
   ByVal fFeedback As Single, _
   ByVal fFrequency As Single, _
   ByVal sinusWaveForm As Boolean, _
   ByVal fDelay As Single, _
   ByVal lPhase As Integer _
) As Boolean
+
+ [C#] +
public bool EnableChorusSoundEffect(
   float fWetDryMix,
   float fDepth,
   float fFeedback,
   float fFrequency,
   bool sinusWaveForm,
   float fDelay,
   int lPhase
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableChorusSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_2.html new file mode 100644 index 0000000..9a83619 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableChorusSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableChorusSoundEffect Method ()

+
+
+
+

Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableChorusSoundEffect() As Boolean
+
+ [C#] +
public bool EnableChorusSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableChorusSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overloads.html new file mode 100644 index 0000000..65020da --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableChorusSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableChorusSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableChorusSoundEffect Method

+
+
+
+

Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableChorusSoundEffect(); +
+

Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableChorusSoundEffect(float,float,float,float,bool,float,int); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_1.html new file mode 100644 index 0000000..b9596a4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableCompressorSoundEffect Method (Single, Single, Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableCompressorSoundEffect Method (Single, Single, Single, Single, Single, Single)

+
+
+
+

Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.

+
+ [Visual Basic] +
Overloads Public Function EnableCompressorSoundEffect( _
   ByVal fGain As Single, _
   ByVal fAttack As Single, _
   ByVal fRelease As Single, _
   ByVal fThreshold As Single, _
   ByVal fRatio As Single, _
   ByVal fPredelay As Single _
) As Boolean
+
+ [C#] +
public bool EnableCompressorSoundEffect(
   float fGain,
   float fAttack,
   float fRelease,
   float fThreshold,
   float fRatio,
   float fPredelay
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableCompressorSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_2.html new file mode 100644 index 0000000..91d1c40 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableCompressorSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableCompressorSoundEffect Method ()

+
+
+
+

Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.

+
+ [Visual Basic] +
Overloads Public Function EnableCompressorSoundEffect() As Boolean
+
+ [C#] +
public bool EnableCompressorSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableCompressorSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overloads.html new file mode 100644 index 0000000..8d649a6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableCompressorSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableCompressorSoundEffect Method

+
+
+
+

Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.

+

Overload List

+

Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.

+
+ public bool EnableCompressorSoundEffect(); +
+

Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.

+
+ public bool EnableCompressorSoundEffect(float,float,float,float,float,float); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_1.html new file mode 100644 index 0000000..9d881d1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableDistortionSoundEffect Method (Single, Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableDistortionSoundEffect Method (Single, Single, Single, Single, Single)

+
+
+
+

Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableDistortionSoundEffect( _
   ByVal fGain As Single, _
   ByVal fEdge As Single, _
   ByVal fPostEQCenterFrequency As Single, _
   ByVal fPostEQBandwidth As Single, _
   ByVal fPreLowpassCutoff As Single _
) As Boolean
+
+ [C#] +
public bool EnableDistortionSoundEffect(
   float fGain,
   float fEdge,
   float fPostEQCenterFrequency,
   float fPostEQBandwidth,
   float fPreLowpassCutoff
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableDistortionSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_2.html new file mode 100644 index 0000000..981b662 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableDistortionSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableDistortionSoundEffect Method ()

+
+
+
+

Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableDistortionSoundEffect() As Boolean
+
+ [C#] +
public bool EnableDistortionSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableDistortionSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overloads.html new file mode 100644 index 0000000..ca5cf59 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableDistortionSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableDistortionSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableDistortionSoundEffect Method

+
+
+
+

Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableDistortionSoundEffect(); +
+

Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableDistortionSoundEffect(float,float,float,float,float); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_1.html new file mode 100644 index 0000000..1428817 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableEchoSoundEffect Method (Single, Single, Single, Single, Int32) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableEchoSoundEffect Method (Single, Single, Single, Single, Int32)

+
+
+
+

Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableEchoSoundEffect( _
   ByVal fWetDryMix As Single, _
   ByVal fFeedback As Single, _
   ByVal fLeftDelay As Single, _
   ByVal fRightDelay As Single, _
   ByVal lPanDelay As Integer _
) As Boolean
+
+ [C#] +
public bool EnableEchoSoundEffect(
   float fWetDryMix,
   float fFeedback,
   float fLeftDelay,
   float fRightDelay,
   int lPanDelay
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableEchoSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_2.html new file mode 100644 index 0000000..37470ef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableEchoSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableEchoSoundEffect Method ()

+
+
+
+

Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableEchoSoundEffect() As Boolean
+
+ [C#] +
public bool EnableEchoSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableEchoSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overloads.html new file mode 100644 index 0000000..3ea9f80 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableEchoSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableEchoSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableEchoSoundEffect Method

+
+
+
+

Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableEchoSoundEffect(); +
+

Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableEchoSoundEffect(float,float,float,float,int); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_1.html new file mode 100644 index 0000000..7b68935 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableFlangerSoundEffect Method (Single, Single, Single, Single, Boolean, Single, Int32) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableFlangerSoundEffect Method (Single, Single, Single, Single, Boolean, Single, Int32)

+
+
+
+

Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.

+
+ [Visual Basic] +
Overloads Public Function EnableFlangerSoundEffect( _
   ByVal fWetDryMix As Single, _
   ByVal fDepth As Single, _
   ByVal fFeedback As Single, _
   ByVal fFrequency As Single, _
   ByVal triangleWaveForm As Boolean, _
   ByVal fDelay As Single, _
   ByVal lPhase As Integer _
) As Boolean
+
+ [C#] +
public bool EnableFlangerSoundEffect(
   float fWetDryMix,
   float fDepth,
   float fFeedback,
   float fFrequency,
   bool triangleWaveForm,
   float fDelay,
   int lPhase
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableFlangerSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_2.html new file mode 100644 index 0000000..3e7c9a9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableFlangerSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableFlangerSoundEffect Method ()

+
+
+
+

Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.

+
+ [Visual Basic] +
Overloads Public Function EnableFlangerSoundEffect() As Boolean
+
+ [C#] +
public bool EnableFlangerSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableFlangerSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overloads.html new file mode 100644 index 0000000..d321405 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableFlangerSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableFlangerSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableFlangerSoundEffect Method

+
+
+
+

Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.

+

Overload List

+

Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.

+
+ public bool EnableFlangerSoundEffect(); +
+

Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.

+
+ public bool EnableFlangerSoundEffect(float,float,float,float,bool,float,int); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_1.html new file mode 100644 index 0000000..56b95b2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableGargleSoundEffect Method (Int32, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableGargleSoundEffect Method (Int32, Boolean)

+
+
+
+

Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.

+
+ [Visual Basic] +
Overloads Public Function EnableGargleSoundEffect( _
   ByVal rateHz As Integer, _
   ByVal sinusWaveForm As Boolean _
) As Boolean
+
+ [C#] +
public bool EnableGargleSoundEffect(
   int rateHz,
   bool sinusWaveForm
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableGargleSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_2.html new file mode 100644 index 0000000..a317d9e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableGargleSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableGargleSoundEffect Method ()

+
+
+
+

Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.

+
+ [Visual Basic] +
Overloads Public Function EnableGargleSoundEffect() As Boolean
+
+ [C#] +
public bool EnableGargleSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableGargleSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overloads.html new file mode 100644 index 0000000..563d395 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableGargleSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableGargleSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableGargleSoundEffect Method

+
+
+
+

Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.

+

Overload List

+

Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.

+
+ public bool EnableGargleSoundEffect(); +
+

Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.

+
+ public bool EnableGargleSoundEffect(int,bool); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_1.html new file mode 100644 index 0000000..f84495c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method (Int32, Int32, Single, Single, Single, Int32, Single, Int32, Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method (Int32, Int32, Single, Single, Single, Int32, Single, Int32, Single, Single, Single, Single)

+
+
+
+

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableI3DL2ReverbSoundEffect( _
   ByVal lRoom As Integer, _
   ByVal lRoomHF As Integer, _
   ByVal flRoomRolloffFactor As Single, _
   ByVal flDecayTime As Single, _
   ByVal flDecayHFRatio As Single, _
   ByVal lReflections As Integer, _
   ByVal flReflectionsDelay As Single, _
   ByVal lReverb As Integer, _
   ByVal flReverbDelay As Single, _
   ByVal flDiffusion As Single, _
   ByVal flDensity As Single, _
   ByVal flHFReference As Single _
) As Boolean
+
+ [C#] +
public bool EnableI3DL2ReverbSoundEffect(
   int lRoom,
   int lRoomHF,
   float flRoomRolloffFactor,
   float flDecayTime,
   float flDecayHFRatio,
   int lReflections,
   float flReflectionsDelay,
   int lReverb,
   float flReverbDelay,
   float flDiffusion,
   float flDensity,
   float flHFReference
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableI3DL2ReverbSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_2.html new file mode 100644 index 0000000..7da673b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method ()

+
+
+
+

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableI3DL2ReverbSoundEffect() As Boolean
+
+ [C#] +
public bool EnableI3DL2ReverbSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableI3DL2ReverbSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overloads.html new file mode 100644 index 0000000..3a80a54 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableI3DL2ReverbSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableI3DL2ReverbSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method

+
+
+
+

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableI3DL2ReverbSoundEffect(); +
+

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableI3DL2ReverbSoundEffect(int,int,float,float,float,int,float,int,float,float,float,float); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_1.html new file mode 100644 index 0000000..53e90e5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableParamEqSoundEffect Method (Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableParamEqSoundEffect Method (Single, Single, Single)

+
+
+
+

Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableParamEqSoundEffect( _
   ByVal fCenter As Single, _
   ByVal fBandwidth As Single, _
   ByVal fGain As Single _
) As Boolean
+
+ [C#] +
public bool EnableParamEqSoundEffect(
   float fCenter,
   float fBandwidth,
   float fGain
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableParamEqSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_2.html new file mode 100644 index 0000000..9deb255 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableParamEqSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableParamEqSoundEffect Method ()

+
+
+
+

Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableParamEqSoundEffect() As Boolean
+
+ [C#] +
public bool EnableParamEqSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableParamEqSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overloads.html new file mode 100644 index 0000000..f770b74 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableParamEqSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableParamEqSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableParamEqSoundEffect Method

+
+
+
+

Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableParamEqSoundEffect(); +
+

Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableParamEqSoundEffect(float,float,float); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_1.html new file mode 100644 index 0000000..e58c2a4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_1.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableWavesReverbSoundEffect Method (Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableWavesReverbSoundEffect Method (Single, Single, Single, Single)

+
+
+
+

Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableWavesReverbSoundEffect( _
   ByVal fInGain As Single, _
   ByVal fReverbMix As Single, _
   ByVal fReverbTime As Single, _
   ByVal fHighFreqRTRatio As Single _
) As Boolean
+
+ [C#] +
public bool EnableWavesReverbSoundEffect(
   float fInGain,
   float fReverbMix,
   float fReverbTime,
   float fHighFreqRTRatio
);
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableWavesReverbSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_2.html new file mode 100644 index 0000000..73b99e0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overload_2.html @@ -0,0 +1,56 @@ + + + + + ISoundEffectControl.EnableWavesReverbSoundEffect Method () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableWavesReverbSoundEffect Method ()

+
+
+
+

Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ [Visual Basic] +
Overloads Public Function EnableWavesReverbSoundEffect() As Boolean
+
+ [C#] +
public bool EnableWavesReverbSoundEffect();
+

Return Value

+

Returns true if successful.

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableWavesReverbSoundEffect Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overloads.html new file mode 100644 index 0000000..648d356 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.EnableWavesReverbSoundEffect_overloads.html @@ -0,0 +1,49 @@ + + + + + EnableWavesReverbSoundEffect Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.EnableWavesReverbSoundEffect Method

+
+
+
+

Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+

Overload List

+

Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableWavesReverbSoundEffect(); +
+

Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

+
+ public bool EnableWavesReverbSoundEffect(float,float,float,float); +
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.Finalize.html new file mode 100644 index 0000000..2f6a334 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.Finalize.html @@ -0,0 +1,54 @@ + + + + + ISoundEffectControl.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsChorusSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsChorusSoundEffectEnabled.html new file mode 100644 index 0000000..376fc39 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsChorusSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsChorusSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsChorusSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsChorusSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsChorusSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsCompressorSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsCompressorSoundEffectEnabled.html new file mode 100644 index 0000000..53c075a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsCompressorSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsCompressorSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsCompressorSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsCompressorSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsCompressorSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsDistortionSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsDistortionSoundEffectEnabled.html new file mode 100644 index 0000000..74ae278 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsDistortionSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsDistortionSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsDistortionSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsDistortionSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsDistortionSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsEchoSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsEchoSoundEffectEnabled.html new file mode 100644 index 0000000..0afd627 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsEchoSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsEchoSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsEchoSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsEchoSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsEchoSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsFlangerSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsFlangerSoundEffectEnabled.html new file mode 100644 index 0000000..d7355bf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsFlangerSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsFlangerSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsFlangerSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsFlangerSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsFlangerSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsGargleSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsGargleSoundEffectEnabled.html new file mode 100644 index 0000000..fecd63a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsGargleSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsGargleSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsGargleSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsGargleSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsGargleSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsI3DL2ReverbSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsI3DL2ReverbSoundEffectEnabled.html new file mode 100644 index 0000000..3c6e6d3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsI3DL2ReverbSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsI3DL2ReverbSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsI3DL2ReverbSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsI3DL2ReverbSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsI3DL2ReverbSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsParamEqSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsParamEqSoundEffectEnabled.html new file mode 100644 index 0000000..d956adf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsParamEqSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsParamEqSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsParamEqSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsParamEqSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsParamEqSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsWavesReverbSoundEffectEnabled.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsWavesReverbSoundEffectEnabled.html new file mode 100644 index 0000000..0346abd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.IsWavesReverbSoundEffectEnabled.html @@ -0,0 +1,56 @@ + + + + + IsWavesReverbSoundEffectEnabled Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl.IsWavesReverbSoundEffectEnabled Property

+
+
+
+

returns if the sound effect is enabled

+
+ [Visual Basic] +
Public ReadOnly Property IsWavesReverbSoundEffectEnabled As Boolean
+
+ [C#] +
public bool IsWavesReverbSoundEffectEnabled {get;}
+

+

+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.html new file mode 100644 index 0000000..05ea97f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControl.html @@ -0,0 +1,67 @@ + + + + + ISoundEffectControl Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl Class

+
+
+
+

Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. Sound effects such as chorus, distorsions, echo, reverb and similar can be controlled using this. An instance of this interface can be obtained via ISound::getSoundEffectControl(). The sound containing this interface has to be started via ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, otherwise no acccess to this interface will be available. For the DirectSound driver, these are effects available since DirectSound8. For most effects, sounds should have a sample rate of 44 khz and should be at least 150 milli seconds long for optimal quality when using the DirectSound driver.

+

For a list of all members of this type, see ISoundEffectControl Members.

+

+ System.Object +
   IrrKlang.ISoundEffectControl

+
+ [Visual Basic] +
Public Class ISoundEffectControl
+
+ [C#] +
public class ISoundEffectControl
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISoundEffectControl Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlConstructor.html new file mode 100644 index 0000000..aceb154 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlConstructor.html @@ -0,0 +1,51 @@ + + + + + ISoundEffectControl Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl Constructor 

+
+
+
+

+

+
+ [Visual Basic] +
Public Sub New( _
   ByVal nativeSound As ISound*, _
   ByVal nativeEngine As ISoundEngine* _
)
+
+ [C#] +
public ISoundEffectControl(
   ISound* nativeSound,
   ISoundEngine* nativeEngine
);
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMembers.html new file mode 100644 index 0000000..326367f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMembers.html @@ -0,0 +1,120 @@ + + + + + ISoundEffectControl Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl Members +

+
+
+
+

+ ISoundEffectControl overview +

+

Public Instance Constructors

+
+ + + + + +
+ + ISoundEffectControl Constructor + +
+
+

Public Instance Properties

+
+ + + + + + + + + +
IsChorusSoundEffectEnabled returns if the sound effect is enabled
IsCompressorSoundEffectEnabled returns if the sound effect is enabled
IsDistortionSoundEffectEnabled returns if the sound effect is enabled
IsEchoSoundEffectEnabled returns if the sound effect is enabled
IsFlangerSoundEffectEnabled returns if the sound effect is enabled
IsGargleSoundEffectEnabled returns if the sound effect is enabled
IsI3DL2ReverbSoundEffectEnabled returns if the sound effect is enabled
IsParamEqSoundEffectEnabled returns if the sound effect is enabled
IsWavesReverbSoundEffectEnabled returns if the sound effect is enabled
+
+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + +
DisableAllEffects Disables all active sound effects.
DisableChorusSoundEffect Disables the Chorus sound effect.
DisableCompressorSoundEffect Disables the Compressor sound effect.
DisableDistortionSoundEffect Disables the Distortion sound effect.
DisableEchoSoundEffect Disables the Echo sound effect.
DisableFlangerSoundEffect Disables the Flanger sound effect.
DisableGargleSoundEffect Disables the Gargle sound effect.
DisableI3DL2ReverbSoundEffect Disables the I3DL2 sound effect.
DisableParamEqSoundEffect Disables the ParamEq sound effect.
DisableWavesReverbSoundEffect Disable the WavesReverb sound effect.
EnableChorusSoundEffectOverloaded. Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableCompressorSoundEffectOverloaded. Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.
EnableDistortionSoundEffectOverloaded. Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableEchoSoundEffectOverloaded. Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableFlangerSoundEffectOverloaded. Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.
EnableGargleSoundEffectOverloaded. Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.
EnableI3DL2ReverbSoundEffectOverloaded. Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableParamEqSoundEffectOverloaded. Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableWavesReverbSoundEffectOverloaded. Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMethods.html new file mode 100644 index 0000000..9585254 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlMethods.html @@ -0,0 +1,87 @@ + + + + + ISoundEffectControl Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl Methods

+
+
+
+

The methods of the ISoundEffectControl class are listed below. For a complete list of ISoundEffectControl class members, see the ISoundEffectControl Members topic.

+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + +
DisableAllEffects Disables all active sound effects.
DisableChorusSoundEffect Disables the Chorus sound effect.
DisableCompressorSoundEffect Disables the Compressor sound effect.
DisableDistortionSoundEffect Disables the Distortion sound effect.
DisableEchoSoundEffect Disables the Echo sound effect.
DisableFlangerSoundEffect Disables the Flanger sound effect.
DisableGargleSoundEffect Disables the Gargle sound effect.
DisableI3DL2ReverbSoundEffect Disables the I3DL2 sound effect.
DisableParamEqSoundEffect Disables the ParamEq sound effect.
DisableWavesReverbSoundEffect Disable the WavesReverb sound effect.
EnableChorusSoundEffectOverloaded. Enables the chorus sound effect with default values. Chorus is a voice-doubling effect created by echoing the original sound with a slight delay and slightly modulating the delay of the echo. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableCompressorSoundEffectOverloaded. Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude.
EnableDistortionSoundEffectOverloaded. Enables the Distortion sound effect with default values. Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableEchoSoundEffectOverloaded. Enables the Echo sound effect with default values. An echo effect causes an entire sound to be repeated after a fixed delay. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableFlangerSoundEffectOverloaded. Enables the Flanger sound effect with default values. Flange is an echo effect in which the delay between the original signal and its echo is very short and varies over time. The result is sometimes referred to as a sweeping sound. The term flange originated with the practice of grabbing the flanges of a tape reel to change the speed.
EnableGargleSoundEffectOverloaded. Enables the Gargle sound effect with default values. The gargle effect modulates the amplitude of the signal.
EnableI3DL2ReverbSoundEffectOverloaded. Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableParamEqSoundEffectOverloaded. Enables the ParamEq sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
EnableWavesReverbSoundEffectOverloaded. Enables the WavesReverb sound effect with default values. Parametric equalizer amplifies or attenuates signals of a given frequency. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlProperties.html new file mode 100644 index 0000000..f151905 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEffectControlProperties.html @@ -0,0 +1,57 @@ + + + + + ISoundEffectControl Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEffectControl Properties

+
+
+
+

The properties of the ISoundEffectControl class are listed below. For a complete list of ISoundEffectControl class members, see the ISoundEffectControl Members topic.

+

Public Instance Properties

+
+ + + + + + + + + +
IsChorusSoundEffectEnabled returns if the sound effect is enabled
IsCompressorSoundEffectEnabled returns if the sound effect is enabled
IsDistortionSoundEffectEnabled returns if the sound effect is enabled
IsEchoSoundEffectEnabled returns if the sound effect is enabled
IsFlangerSoundEffectEnabled returns if the sound effect is enabled
IsGargleSoundEffectEnabled returns if the sound effect is enabled
IsI3DL2ReverbSoundEffectEnabled returns if the sound effect is enabled
IsParamEqSoundEffectEnabled returns if the sound effect is enabled
IsWavesReverbSoundEffectEnabled returns if the sound effect is enabled
+
+

See Also

+

+ ISoundEffectControl Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddFileFactory.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddFileFactory.html new file mode 100644 index 0000000..496ec9e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddFileFactory.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.AddFileFactory Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddFileFactory Method 

+
+
+
+

Adds a file factory to the sound engine, making it possible to override file access of the sound engine. Derive your own class from IFileFactory, overwrite the openFile() method and return your own implemented System::IO::Stream to overwrite file access of irrKlang.

+
+ [Visual Basic] +
Public Sub AddFileFactory( _
   ByVal fileFactory As IFileFactory _
)
+
+ [C#] +
public void AddFileFactory(
   IFileFactory fileFactory
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceAlias.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceAlias.html new file mode 100644 index 0000000..e197707 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceAlias.html @@ -0,0 +1,67 @@ + + + + + ISoundEngine.AddSoundSourceAlias Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceAlias Method 

+
+
+
+

Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings. This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances.

+
+ [Visual Basic] +
Public Function AddSoundSourceAlias( _
   ByVal baseSource As ISoundSource, _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceAlias(
   ISoundSource baseSource,
   string soundName
);
+

Parameters

+
+
+ baseSource +
+
The sound source where this sound source should be based on. This sound source will use the baseSource as base to access the file and similar, but it will have its own name and its own default settings.
+
+ soundName +
+
Name of the new sound source to be added.
+
+

Return Value

+

Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_1.html new file mode 100644 index 0000000..d8325d4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_1.html @@ -0,0 +1,63 @@ + + + + + ISoundEngine.AddSoundSourceFromFile Method (String) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromFile Method (String)

+
+
+
+

Adds sound source into the sound engine as file.

+
+ [Visual Basic] +
Overloads Public Function AddSoundSourceFromFile( _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromFile(
   string soundName
);
+

Parameters

+
+
+ soundName +
+
Name of the sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D().
+
+

Return Value

+

Returns the added sound source or null if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.AddSoundSourceFromFile Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_2.html new file mode 100644 index 0000000..64f0032 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_2.html @@ -0,0 +1,67 @@ + + + + + ISoundEngine.AddSoundSourceFromFile Method (String, StreamMode) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromFile Method (String, StreamMode)

+
+
+
+

Adds sound source into the sound engine as file.

+
+ [Visual Basic] +
Overloads Public Function AddSoundSourceFromFile( _
   ByVal soundName As String, _
   ByVal streamMode As StreamMode _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromFile(
   string soundName,
   StreamMode streamMode
);
+

Parameters

+
+
+ soundName +
+
Name of the sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D().
+
+ streamMode +
+
Streaming mode for this sound source
+
+

Return Value

+

Returns the added sound source or null if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.AddSoundSourceFromFile Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_3.html new file mode 100644 index 0000000..a097dad --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overload_3.html @@ -0,0 +1,72 @@ + + + + + ISoundEngine.AddSoundSourceFromFile Method (String, StreamMode, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromFile Method (String, StreamMode, Boolean)

+
+
+
+

Adds sound source into the sound engine as file.

+
+ [Visual Basic] +
Overloads Public Function AddSoundSourceFromFile( _
   ByVal soundName As String, _
   ByVal streamMode As StreamMode, _
   ByVal preLoad As Boolean _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromFile(
   string soundName,
   StreamMode streamMode,
   bool preLoad
);
+

Parameters

+
+
+ soundName +
+
Name of the sound file (e.g. "sounds/something.mp3"). You can also use this name when calling play3D() or play2D().
+
+ streamMode +
+
Streaming mode for this sound source
+
+ preLoad +
+
+
+
+

Return Value

+

Returns the added sound source or null if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.AddSoundSourceFromFile Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overloads.html new file mode 100644 index 0000000..69de301 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromFile_overloads.html @@ -0,0 +1,53 @@ + + + + + AddSoundSourceFromFile Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromFile Method

+
+
+
+

Adds sound source into the sound engine as file.

+

Overload List

+

Adds sound source into the sound engine as file.

+
+ public ISoundSource AddSoundSourceFromFile(string); +
+

Adds sound source into the sound engine as file.

+
+ public ISoundSource AddSoundSourceFromFile(string,StreamMode); +
+

Adds sound source into the sound engine as file.

+
+ public ISoundSource AddSoundSourceFromFile(string,StreamMode,bool); +
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromIOStream.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromIOStream.html new file mode 100644 index 0000000..eefacca --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromIOStream.html @@ -0,0 +1,56 @@ + + + + + ISoundEngine.AddSoundSourceFromIOStream Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromIOStream Method 

+
+
+
+

Adds a sound source into the sound engine from a IOStream. Note that the stream is totally read into memory when adding the sound source. If you want irrKlang to dynamically open and close custom file streams without loading everything into memory, use the addFileFactory with your own IFileFactory implementation.

+
+ [Visual Basic] +
Public Function AddSoundSourceFromIOStream( _
   ByVal stream As Stream, _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromIOStream(
   Stream stream,
   string soundName
);
+

Return Value

+

Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromMemory.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromMemory.html new file mode 100644 index 0000000..d71e6d3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromMemory.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.AddSoundSourceFromMemory Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromMemory Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Function AddSoundSourceFromMemory( _
   ByVal soundDataInMemory As Byte(), _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromMemory(
   byte[] soundDataInMemory,
   string soundName
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromPCMData.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromPCMData.html new file mode 100644 index 0000000..0033476 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddSoundSourceFromPCMData.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.AddSoundSourceFromPCMData Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.AddSoundSourceFromPCMData Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Function AddSoundSourceFromPCMData( _
   ByVal soundDataInMemory As Byte(), _
   ByVal soundName As String, _
   ByVal format As AudioFormat _
) As ISoundSource
+
+ [C#] +
public ISoundSource AddSoundSourceFromPCMData(
   byte[] soundDataInMemory,
   string soundName,
   AudioFormat format
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMaxDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMaxDistance.html new file mode 100644 index 0000000..e8f6642 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMaxDistance.html @@ -0,0 +1,56 @@ + + + + + Default3DSoundMaxDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Default3DSoundMaxDistance Property

+
+
+
+

Sets or gets the default maximal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMaxDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().

+
+ [Visual Basic] +
Public Property Default3DSoundMaxDistance As Single
+
+ [C#] +
public float Default3DSoundMaxDistance {get; set;}
+

+

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMinDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMinDistance.html new file mode 100644 index 0000000..9163d89 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Default3DSoundMinDistance.html @@ -0,0 +1,56 @@ + + + + + Default3DSoundMinDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Default3DSoundMinDistance Property

+
+
+
+

Sets or gets the default minimal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().

+
+ [Visual Basic] +
Public Property Default3DSoundMinDistance As Single
+
+ [C#] +
public float Default3DSoundMinDistance {get; set;}
+

+

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Finalize.html new file mode 100644 index 0000000..d350499 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Finalize.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_1.html new file mode 100644 index 0000000..c8e131c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_1.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.GetSoundSource Method (String, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.GetSoundSource Method (String, Boolean)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Function GetSoundSource( _
   ByVal soundName As String, _
   ByVal addIfNotFound As Boolean _
) As ISoundSource
+
+ [C#] +
public ISoundSource GetSoundSource(
   string soundName,
   bool addIfNotFound
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.GetSoundSource Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_2.html new file mode 100644 index 0000000..ba8571b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overload_2.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.GetSoundSource Method (String) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.GetSoundSource Method (String)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Function GetSoundSource( _
   ByVal soundName As String _
) As ISoundSource
+
+ [C#] +
public ISoundSource GetSoundSource(
   string soundName
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.GetSoundSource Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overloads.html new file mode 100644 index 0000000..97b939d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.GetSoundSource_overloads.html @@ -0,0 +1,50 @@ + + + + + GetSoundSource Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.GetSoundSource Method

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsCurrentlyPlaying.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsCurrentlyPlaying.html new file mode 100644 index 0000000..a403ab1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsCurrentlyPlaying.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.IsCurrentlyPlaying Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.IsCurrentlyPlaying Method 

+
+
+
+

Returns if a sound with the specified name is currently playing

+
+ [Visual Basic] +
Public Function IsCurrentlyPlaying( _
   ByVal soundName As String _
) As Boolean
+
+ [C#] +
public bool IsCurrentlyPlaying(
   string soundName
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsMultiThreaded.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsMultiThreaded.html new file mode 100644 index 0000000..31c1dd8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.IsMultiThreaded.html @@ -0,0 +1,56 @@ + + + + + IsMultiThreaded Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.IsMultiThreaded Property

+
+
+
+

Returns if irrKlang is running in the same thread as the application or is using multithreading. This basicly returns the flag set by the user when creating the sound engine.

+
+ [Visual Basic] +
Public ReadOnly Property IsMultiThreaded As Boolean
+
+ [C#] +
public bool IsMultiThreaded {get;}
+

+

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.LoadPlugins.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.LoadPlugins.html new file mode 100644 index 0000000..8451131 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.LoadPlugins.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.LoadPlugins Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.LoadPlugins Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Function LoadPlugins( _
   ByVal path As String _
) As Boolean
+
+ [C#] +
public bool LoadPlugins(
   string path
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Name.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Name.html new file mode 100644 index 0000000..7e8e5d0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Name.html @@ -0,0 +1,56 @@ + + + + + Name Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Name Property

+
+
+
+

Returns the name of the audio driver.

+
+ [Visual Basic] +
Public ReadOnly Property Name As String
+
+ [C#] +
public string Name {get;}
+

+

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_1.html new file mode 100644 index 0000000..2df861f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_1.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (ISoundSource, Boolean, Boolean, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (ISoundSource, Boolean, Boolean, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal source As ISoundSource, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal enableSoundEffects As Boolean _
) As ISound
+
+ [C#] +
public ISound Play2D(
   ISoundSource source,
   bool playLooped,
   bool startPaused,
   bool enableSoundEffects
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_2.html new file mode 100644 index 0000000..49d7e0b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_2.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (String, Boolean, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (String, Boolean, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal soundFilename As String, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean _
) As ISound
+
+ [C#] +
public ISound Play2D(
   string soundFilename,
   bool playLooped,
   bool startPaused
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_3.html new file mode 100644 index 0000000..530960e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_3.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (String, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (String, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal soundFilename As String, _
   ByVal playLooped As Boolean _
) As ISound
+
+ [C#] +
public ISound Play2D(
   string soundFilename,
   bool playLooped
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_4.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_4.html new file mode 100644 index 0000000..5a57379 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_4.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (String) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (String)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal soundFilename As String _
) As ISound
+
+ [C#] +
public ISound Play2D(
   string soundFilename
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_5.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_5.html new file mode 100644 index 0000000..14989c9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_5.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (String, Boolean, Boolean, StreamMode) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (String, Boolean, Boolean, StreamMode)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal soundFilename As String, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode _
) As ISound
+
+ [C#] +
public ISound Play2D(
   string soundFilename,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_6.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_6.html new file mode 100644 index 0000000..419cf7e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_6.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play2D Method (String, Boolean, Boolean, StreamMode, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method (String, Boolean, Boolean, StreamMode, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ [Visual Basic] +
Overloads Public Function Play2D( _
   ByVal soundFilename As String, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode, _
   ByVal enableSoundEffects As Boolean _
) As ISound
+
+ [C#] +
public ISound Play2D(
   string soundFilename,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode,
   bool enableSoundEffects
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overloads.html new file mode 100644 index 0000000..300a453 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overloads.html @@ -0,0 +1,65 @@ + + + + + Play2D Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play2D Method

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it.

+

Overload List

+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(ISoundSource,bool,bool,bool); +
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(string); +
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(string,bool); +
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(string,bool,bool); +
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(string,bool,bool,StreamMode); +
+

loads a sound source (if not loaded already) from a file and plays it.

+
+ public ISound Play2D(string,bool,bool,StreamMode,bool); +
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_1.html new file mode 100644 index 0000000..aa01e1d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_1.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (ISoundSource, Single, Single, Single, Boolean, Boolean, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (ISoundSource, Single, Single, Single, Boolean, Boolean, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal source As ISoundSource, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal enableSoundEffects As Boolean _
) As ISound
+
+ [C#] +
public ISound Play3D(
   ISoundSource source,
   float posX,
   float posY,
   float posZ,
   bool playLooped,
   bool startPaused,
   bool enableSoundEffects
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_2.html new file mode 100644 index 0000000..0e067ab --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_2.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Single, Single, Single)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   float posX,
   float posY,
   float posZ
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_3.html new file mode 100644 index 0000000..79a2441 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_3.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   float posX,
   float posY,
   float posZ,
   bool playLooped
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_4.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_4.html new file mode 100644 index 0000000..2b32665 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_4.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   float posX,
   float posY,
   float posZ,
   bool playLooped,
   bool startPaused
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_5.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_5.html new file mode 100644 index 0000000..0552002 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_5.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean, StreamMode) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean, StreamMode)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   float posX,
   float posY,
   float posZ,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_6.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_6.html new file mode 100644 index 0000000..920e7bd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_6.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean, StreamMode, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean, StreamMode, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode, _
   ByVal enableSoundEffects As Boolean _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   float posX,
   float posY,
   float posZ,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode,
   bool enableSoundEffects
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_7.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_7.html new file mode 100644 index 0000000..48b0b6c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_7.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Vector3D, Boolean, Boolean, StreamMode, Boolean) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Vector3D, Boolean, Boolean, StreamMode, Boolean)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal position As Vector3D, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode, _
   ByVal enableSoundEffects As Boolean _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   Vector3D position,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode,
   bool enableSoundEffects
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_8.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_8.html new file mode 100644 index 0000000..50fac12 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overload_8.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Play3D Method (String, Vector3D, Boolean, Boolean, StreamMode) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method (String, Vector3D, Boolean, Boolean, StreamMode)

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ [Visual Basic] +
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal position As Vector3D, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode _
) As ISound
+
+ [C#] +
public ISound Play3D(
   string soundFilename,
   Vector3D position,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overloads.html new file mode 100644 index 0000000..8e980c0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Play3D_overloads.html @@ -0,0 +1,73 @@ + + + + + Play3D Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Play3D Method

+
+
+
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+

Overload List

+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(ISoundSource,float,float,float,bool,bool,bool); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,Vector3D,bool,bool,StreamMode); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,Vector3D,bool,bool,StreamMode,bool); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,float,float,float); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,float,float,float,bool); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,float,float,float,bool,bool); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,float,float,float,bool,bool,StreamMode); +
+

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

+
+ public ISound Play3D(string,float,float,float,bool,bool,StreamMode,bool); +
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveAllSoundSources.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveAllSoundSources.html new file mode 100644 index 0000000..df1bec1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveAllSoundSources.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.RemoveAllSoundSources Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.RemoveAllSoundSources Method 

+
+
+
+

Removes all sound sources from the engine. This will also cause all sounds to be stopped. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

+
+ [Visual Basic] +
Public Sub RemoveAllSoundSources()
+
+ [C#] +
public void RemoveAllSoundSources();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveSoundSource.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveSoundSource.html new file mode 100644 index 0000000..a9ba245 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.RemoveSoundSource.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.RemoveSoundSource Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.RemoveSoundSource Method 

+
+
+
+

Removes a sound source from the engine, freeing the memory it occupies. This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.

+
+ [Visual Basic] +
Public Sub RemoveSoundSource( _
   ByVal soundName As String _
)
+
+ [C#] +
public void RemoveSoundSource(
   string soundName
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetAllSoundsPaused.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetAllSoundsPaused.html new file mode 100644 index 0000000..affcc39 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetAllSoundsPaused.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetAllSoundsPaused Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetAllSoundsPaused Method 

+
+
+
+

pauses or unpauses all currently playing sounds

+
+ [Visual Basic] +
Public Sub SetAllSoundsPaused( _
   ByVal bPaused As Boolean _
)
+
+ [C#] +
public void SetAllSoundsPaused(
   bool bPaused
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetDopplerEffectParameters.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetDopplerEffectParameters.html new file mode 100644 index 0000000..c7dd158 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetDopplerEffectParameters.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetDopplerEffectParameters Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetDopplerEffectParameters Method 

+
+
+
+

Sets parameters affecting the doppler effect.

+
+ [Visual Basic] +
Public Sub SetDopplerEffectParameters( _
   ByVal dopplerFactor As Single, _
   ByVal distanceFactor As Single _
)
+
+ [C#] +
public void SetDopplerEffectParameters(
   float dopplerFactor,
   float distanceFactor
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_1.html new file mode 100644 index 0000000..13364dc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_1.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetListenerPosition Method (Single, Single, Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetListenerPosition Method (Single, Single, Single, Single, Single, Single)

+
+
+
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ [Visual Basic] +
Overloads Public Sub SetListenerPosition( _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal lookDirX As Single, _
   ByVal lookDirY As Single, _
   ByVal lookDirZ As Single _
)
+
+ [C#] +
public void SetListenerPosition(
   float posX,
   float posY,
   float posZ,
   float lookDirX,
   float lookDirY,
   float lookDirZ
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_2.html new file mode 100644 index 0000000..11c9cef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_2.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetListenerPosition Method (Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetListenerPosition Method (Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

+
+
+
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ [Visual Basic] +
Overloads Public Sub SetListenerPosition( _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal lookDirX As Single, _
   ByVal lookDirY As Single, _
   ByVal lookDirZ As Single, _
   ByVal velPerSecondX As Single, _
   ByVal velPerSecondY As Single, _
   ByVal velPerSecondZ As Single, _
   ByVal upVectorX As Single, _
   ByVal upVectorY As Single, _
   ByVal upVectorZ As Single _
)
+
+ [C#] +
public void SetListenerPosition(
   float posX,
   float posY,
   float posZ,
   float lookDirX,
   float lookDirY,
   float lookDirZ,
   float velPerSecondX,
   float velPerSecondY,
   float velPerSecondZ,
   float upVectorX,
   float upVectorY,
   float upVectorZ
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_3.html new file mode 100644 index 0000000..0b1ded5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_3.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetListenerPosition Method (Vector3D, Vector3D) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetListenerPosition Method (Vector3D, Vector3D)

+
+
+
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ [Visual Basic] +
Overloads Public Sub SetListenerPosition( _
   ByVal pos As Vector3D, _
   ByVal lookdir As Vector3D _
)
+
+ [C#] +
public void SetListenerPosition(
   Vector3D pos,
   Vector3D lookdir
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_4.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_4.html new file mode 100644 index 0000000..de962f7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overload_4.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.SetListenerPosition Method (Vector3D, Vector3D, Vector3D, Vector3D) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetListenerPosition Method (Vector3D, Vector3D, Vector3D, Vector3D)

+
+
+
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ [Visual Basic] +
Overloads Public Sub SetListenerPosition( _
   ByVal pos As Vector3D, _
   ByVal lookdir As Vector3D, _
   ByVal velPerSecond As Vector3D, _
   ByVal upVector As Vector3D _
)
+
+ [C#] +
public void SetListenerPosition(
   Vector3D pos,
   Vector3D lookdir,
   Vector3D velPerSecond,
   Vector3D upVector
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overloads.html new file mode 100644 index 0000000..989fffb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetListenerPosition_overloads.html @@ -0,0 +1,57 @@ + + + + + SetListenerPosition Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetListenerPosition Method

+
+
+
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+

Overload List

+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ public void SetListenerPosition(Vector3D,Vector3D); +
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ public void SetListenerPosition(Vector3D,Vector3D,Vector3D,Vector3D); +
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ public void SetListenerPosition(float,float,float,float,float,float); +
+

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ public void SetListenerPosition(float,float,float,float,float,float,float,float,float,float,float,float); +
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetRolloffFactor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetRolloffFactor.html new file mode 100644 index 0000000..a65faa8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetRolloffFactor.html @@ -0,0 +1,61 @@ + + + + + ISoundEngine.SetRolloffFactor Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SetRolloffFactor Method 

+
+
+
+

Sets the roll off factor for 3d sounds.

+
+ [Visual Basic] +
Public Sub SetRolloffFactor( _
   ByVal rolloffFactor As Single _
)
+
+ [C#] +
public void SetRolloffFactor(
   float rolloffFactor
);
+

Parameters

+
+
+ rolloffFactor +
+
The rolloff factor can range from 0.0 to 10.0, where 0 is no rolloff. 1.0 is the default rolloff factor set, the value which we also experience in the real world. A value of 2 would mean twice the real-world rolloff.
+
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SoundVolume.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SoundVolume.html new file mode 100644 index 0000000..dc9823f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SoundVolume.html @@ -0,0 +1,56 @@ + + + + + SoundVolume Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.SoundVolume Property

+
+
+
+

sets sound volume. This value is multiplied with all sounds played. Volume set to 0 is silent and 1.0f is full volume.

+
+ [Visual Basic] +
Public Property SoundVolume As Single
+
+ [C#] +
public float SoundVolume {get; set;}
+

+

+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.StopAllSounds.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.StopAllSounds.html new file mode 100644 index 0000000..48fa736 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.StopAllSounds.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.StopAllSounds Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.StopAllSounds Method 

+
+
+
+

stops all currently playing sounds

+
+ [Visual Basic] +
Public Sub StopAllSounds()
+
+ [C#] +
public void StopAllSounds();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Update.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Update.html new file mode 100644 index 0000000..4734a58 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.Update.html @@ -0,0 +1,54 @@ + + + + + ISoundEngine.Update Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.Update Method 

+
+
+
+

Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode. This updates the 3d positions of the sounds as well as their volumes, effects streams and other stuff. Call this several times per frame (the more the better) if you specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

+
+ [Visual Basic] +
Public Sub Update()
+
+ [C#] +
public void Update();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.html new file mode 100644 index 0000000..4bcd663 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.html @@ -0,0 +1,68 @@ + + + + + ISoundEngine Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Class

+
+
+
+

+

+

For a list of all members of this type, see ISoundEngine Members.

+

+ System.Object +
   IrrKlang.ISoundEngine

+
+ [Visual Basic] +
Public Class ISoundEngine
+
+ [C#] +
public class ISoundEngine
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISoundEngine Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.internalGetNativeEngine.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.internalGetNativeEngine.html new file mode 100644 index 0000000..150696d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.internalGetNativeEngine.html @@ -0,0 +1,55 @@ + + + + + ISoundEngine.internalGetNativeEngine Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine.internalGetNativeEngine Method 

+
+
+
+

+

+
+ [Visual Basic] +
Public Function internalGetNativeEngine() As ISoundEngine*
+
+ [C#] +
public ISoundEngine* internalGetNativeEngine();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor.html new file mode 100644 index 0000000..c9c8b6d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor.html @@ -0,0 +1,62 @@ + + + + + ISoundEngine Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Constructor

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor1.html new file mode 100644 index 0000000..99e94b7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor1.html @@ -0,0 +1,47 @@ + + + + + ISoundEngine Constructor (SoundOutputDriver, SoundEngineOptionFlag, String) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Constructor (SoundOutputDriver, SoundEngineOptionFlag, String)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal driver As SoundOutputDriver, _
   ByVal options As SoundEngineOptionFlag, _
   ByVal deviceID As String _
)
+
+ [C#] +
public ISoundEngine(
   SoundOutputDriver driver,
   SoundEngineOptionFlag options,
   string deviceID
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor2.html new file mode 100644 index 0000000..376ec49 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor2.html @@ -0,0 +1,47 @@ + + + + + ISoundEngine Constructor (SoundOutputDriver, SoundEngineOptionFlag) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Constructor (SoundOutputDriver, SoundEngineOptionFlag)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal driver As SoundOutputDriver, _
   ByVal options As SoundEngineOptionFlag _
)
+
+ [C#] +
public ISoundEngine(
   SoundOutputDriver driver,
   SoundEngineOptionFlag options
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor3.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor3.html new file mode 100644 index 0000000..d01c522 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor3.html @@ -0,0 +1,47 @@ + + + + + ISoundEngine Constructor (SoundOutputDriver) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Constructor (SoundOutputDriver)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal driver As SoundOutputDriver _
)
+
+ [C#] +
public ISoundEngine(
   SoundOutputDriver driver
);
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor4.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor4.html new file mode 100644 index 0000000..4bb2257 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineConstructor4.html @@ -0,0 +1,46 @@ + + + + + ISoundEngine Constructor () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Constructor ()

+
+
+
+

Initializes a new instance of the ISoundEngine class.

+
+ [Visual Basic] +
Overloads Public Sub New()
+
+ [C#] +
public ISoundEngine();
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace | ISoundEngine Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMembers.html new file mode 100644 index 0000000..ca401d9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMembers.html @@ -0,0 +1,116 @@ + + + + + ISoundEngine Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Members +

+
+
+
+

+ ISoundEngine overview +

+

Public Instance Constructors

+
+ + + + + +
+ + ISoundEngine + Overloaded. Initializes a new instance of the ISoundEngine class.
+
+

Public Instance Properties

+
+ + + + + +
Default3DSoundMaxDistance Sets or gets the default maximal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMaxDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().
Default3DSoundMinDistance Sets or gets the default minimal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().
IsMultiThreaded Returns if irrKlang is running in the same thread as the application or is using multithreading. This basicly returns the flag set by the user when creating the sound engine.
Name Returns the name of the audio driver.
SoundVolume sets sound volume. This value is multiplied with all sounds played. Volume set to 0 is silent and 1.0f is full volume.
+
+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
AddFileFactory Adds a file factory to the sound engine, making it possible to override file access of the sound engine. Derive your own class from IFileFactory, overwrite the openFile() method and return your own implemented System::IO::Stream to overwrite file access of irrKlang.
AddSoundSourceAlias Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings. This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances.
AddSoundSourceFromFileOverloaded. Adds sound source into the sound engine as file.
AddSoundSourceFromIOStream Adds a sound source into the sound engine from a IOStream. Note that the stream is totally read into memory when adding the sound source. If you want irrKlang to dynamically open and close custom file streams without loading everything into memory, use the addFileFactory with your own IFileFactory implementation.
AddSoundSourceFromMemory 
AddSoundSourceFromPCMData 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetSoundSourceOverloaded.  
GetType (inherited from Object) + Gets the Type of the current instance. +
internalGetNativeEngine 
IsCurrentlyPlaying Returns if a sound with the specified name is currently playing
LoadPlugins 
Play2DOverloaded. loads a sound source (if not loaded already) from a file and plays it.
Play3DOverloaded. loads a sound source (if not loaded already) from a file and plays it as 3d sound.
RemoveAllSoundSources Removes all sound sources from the engine. This will also cause all sounds to be stopped. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.
RemoveSoundSource Removes a sound source from the engine, freeing the memory it occupies. This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.
SetAllSoundsPaused pauses or unpauses all currently playing sounds
SetDopplerEffectParameters Sets parameters affecting the doppler effect.
SetListenerPositionOverloaded. Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.
SetRolloffFactor Sets the roll off factor for 3d sounds.
StopAllSounds stops all currently playing sounds
ToString (inherited from Object) + Returns a String that represents the current Object. +
Update Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode. This updates the 3d positions of the sounds as well as their volumes, effects streams and other stuff. Call this several times per frame (the more the better) if you specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMethods.html new file mode 100644 index 0000000..40007b4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineMethods.html @@ -0,0 +1,88 @@ + + + + + ISoundEngine Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Methods

+
+
+
+

The methods of the ISoundEngine class are listed below. For a complete list of ISoundEngine class members, see the ISoundEngine Members topic.

+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
AddFileFactory Adds a file factory to the sound engine, making it possible to override file access of the sound engine. Derive your own class from IFileFactory, overwrite the openFile() method and return your own implemented System::IO::Stream to overwrite file access of irrKlang.
AddSoundSourceAlias Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings. This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances.
AddSoundSourceFromFileOverloaded. Adds sound source into the sound engine as file.
AddSoundSourceFromIOStream Adds a sound source into the sound engine from a IOStream. Note that the stream is totally read into memory when adding the sound source. If you want irrKlang to dynamically open and close custom file streams without loading everything into memory, use the addFileFactory with your own IFileFactory implementation.
AddSoundSourceFromMemory 
AddSoundSourceFromPCMData 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetSoundSourceOverloaded.  
GetType (inherited from Object) + Gets the Type of the current instance. +
internalGetNativeEngine 
IsCurrentlyPlaying Returns if a sound with the specified name is currently playing
LoadPlugins 
Play2DOverloaded. loads a sound source (if not loaded already) from a file and plays it.
Play3DOverloaded. loads a sound source (if not loaded already) from a file and plays it as 3d sound.
RemoveAllSoundSources Removes all sound sources from the engine. This will also cause all sounds to be stopped. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.
RemoveSoundSource Removes a sound source from the engine, freeing the memory it occupies. This will also cause all currently playing sounds of this source to be stopped. Also note that if the source has been removed successfully, the value returned by getSoundSourceCount() will have been decreased by one. Removing sound sources is only necessary if you know you won't use a lot of non-streamed sounds again. Sound sources of streamed sounds do not cost a lot of memory.
SetAllSoundsPaused pauses or unpauses all currently playing sounds
SetDopplerEffectParameters Sets parameters affecting the doppler effect.
SetListenerPositionOverloaded. Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.
SetRolloffFactor Sets the roll off factor for 3d sounds.
StopAllSounds stops all currently playing sounds
ToString (inherited from Object) + Returns a String that represents the current Object. +
Update Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode. This updates the 3d positions of the sounds as well as their volumes, effects streams and other stuff. Call this several times per frame (the more the better) if you specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineProperties.html new file mode 100644 index 0000000..1b8e35b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundEngineProperties.html @@ -0,0 +1,53 @@ + + + + + ISoundEngine Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundEngine Properties

+
+
+
+

The properties of the ISoundEngine class are listed below. For a complete list of ISoundEngine class members, see the ISoundEngine Members topic.

+

Public Instance Properties

+
+ + + + + +
Default3DSoundMaxDistance Sets or gets the default maximal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMaxDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().
Default3DSoundMinDistance Sets or gets the default minimal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().
IsMultiThreaded Returns if irrKlang is running in the same thread as the application or is using multithreading. This basicly returns the flag set by the user when creating the sound engine.
Name Returns the name of the audio driver.
SoundVolume sets sound volume. This value is multiplied with all sounds played. Volume set to 0 is silent and 1.0f is full volume.
+
+

See Also

+

+ ISoundEngine Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMembers.html new file mode 100644 index 0000000..34bb8ba --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMembers.html @@ -0,0 +1,108 @@ + + + + + ISound Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound Members +

+
+
+
+

+ ISound overview +

+

Public Instance Constructors

+
+ + + + + +
+ + ISound Constructor + +
+
+

Public Instance Properties

+
+ + + + + + + + + + + + + +
Finished returns if the sound has finished playing. Don't mix this up with isPaused(). isFinished() returns if the sound has been finished playing. If it has, is maybe already have been removed from the playing list of the sound engine and calls to any other of the methods of ISound will not have any result. If you call stop() to a playing sound will result that this function will return true when invoked.
Looped gets or sets if the sound has been started to play looped. If the sound is playing looped and it is changed to not-looped, then it will stop playing after the loop has finished. If it is not looped and changed to looped, the sound will start repeating to be played when it reaches its end. Invoking this method will not have an effect when the sound already has stopped.
MaxDistance Sets the maximal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.
MinDistance Sets the minimal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.
Pan sets the pan of the sound. Takes a value between -1 and 1, 0 is center.
Paused returns if the sound is paused
PlaybackSpeed Sets or gets the playback speed (frequency) of the sound. Plays the sound at a higher or lower speed, increasing or decreasing its frequency which makes it sound lower or higher. Note that this feature is not available on all sound output drivers (it is on the DirectSound drivers at least), and it does not work together with the 'enableSoundEffects' parameter of ISoundEngine::play2D and ISoundEngine::play3D when using DirectSound.
PlayLength Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support length reporting or it is a file stream of unknown size. Note: You can also use ISoundSource::getPlayLength() to get the length of a sound without actually needing to play it.
PlayPosition returns or sets the current play position of the sound in milliseconds. Returns -1 if not implemented or possible for this sound for example because it already has been stopped and freed internally or similar.
Position sets the position of the sound in 3d space
SoundEffectControl Returns the sound effect control interface for this sound. Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can be controlled using this. This can be null if the sound has not been started with the flag 'enableSoundEffects' or the driver doesn't support effects.
Velocity sets or returns the velocity of the sound in 3d space, needed for Doppler effects. To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.
Volume returns volume of the sound, a value between 0 (mute) and 1 (full volume). (this volume gets multiplied with the master volume of the sound engine and other parameters like distance to listener when played as 3d sound)
+
+

Public Instance Methods

+
+ + + + + + + +
Dispose 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
setSoundStopEventReceiverOverloaded. Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.
Stop 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMethods.html new file mode 100644 index 0000000..8501b5d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundMethods.html @@ -0,0 +1,71 @@ + + + + + ISound Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound Methods

+
+
+
+

The methods of the ISound class are listed below. For a complete list of ISound class members, see the ISound Members topic.

+

Public Instance Methods

+
+ + + + + + + +
Dispose 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
setSoundStopEventReceiverOverloaded. Sets the sound stop event receiver, an interface which gets called if a sound has finished playing.
Stop 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundProperties.html new file mode 100644 index 0000000..643c308 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundProperties.html @@ -0,0 +1,61 @@ + + + + + ISound Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISound Properties

+
+
+
+

The properties of the ISound class are listed below. For a complete list of ISound class members, see the ISound Members topic.

+

Public Instance Properties

+
+ + + + + + + + + + + + + +
Finished returns if the sound has finished playing. Don't mix this up with isPaused(). isFinished() returns if the sound has been finished playing. If it has, is maybe already have been removed from the playing list of the sound engine and calls to any other of the methods of ISound will not have any result. If you call stop() to a playing sound will result that this function will return true when invoked.
Looped gets or sets if the sound has been started to play looped. If the sound is playing looped and it is changed to not-looped, then it will stop playing after the loop has finished. If it is not looped and changed to looped, the sound will start repeating to be played when it reaches its end. Invoking this method will not have an effect when the sound already has stopped.
MaxDistance Sets the maximal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.
MinDistance Sets the minimal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite.
Pan sets the pan of the sound. Takes a value between -1 and 1, 0 is center.
Paused returns if the sound is paused
PlaybackSpeed Sets or gets the playback speed (frequency) of the sound. Plays the sound at a higher or lower speed, increasing or decreasing its frequency which makes it sound lower or higher. Note that this feature is not available on all sound output drivers (it is on the DirectSound drivers at least), and it does not work together with the 'enableSoundEffects' parameter of ISoundEngine::play2D and ISoundEngine::play3D when using DirectSound.
PlayLength Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support length reporting or it is a file stream of unknown size. Note: You can also use ISoundSource::getPlayLength() to get the length of a sound without actually needing to play it.
PlayPosition returns or sets the current play position of the sound in milliseconds. Returns -1 if not implemented or possible for this sound for example because it already has been stopped and freed internally or similar.
Position sets the position of the sound in 3d space
SoundEffectControl Returns the sound effect control interface for this sound. Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can be controlled using this. This can be null if the sound has not been started with the flag 'enableSoundEffects' or the driver doesn't support effects.
Velocity sets or returns the velocity of the sound in 3d space, needed for Doppler effects. To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.
Volume returns volume of the sound, a value between 0 (mute) and 1 (full volume). (this volume gets multiplied with the master volume of the sound engine and other parameters like distance to listener when played as 3d sound)
+
+

See Also

+

+ ISound Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.AudioFormat.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.AudioFormat.html new file mode 100644 index 0000000..f7a9fef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.AudioFormat.html @@ -0,0 +1,56 @@ + + + + + AudioFormat Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.AudioFormat Property

+
+
+
+

Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc. Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.

+
+ [Visual Basic] +
Public ReadOnly Property AudioFormat As AudioFormat
+
+ [C#] +
public AudioFormat AudioFormat {get;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMaxDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMaxDistance.html new file mode 100644 index 0000000..9146c9e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMaxDistance.html @@ -0,0 +1,56 @@ + + + + + DefaultMaxDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.DefaultMaxDistance Property

+
+
+
+

Sets or gets the default maximal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().

+
+ [Visual Basic] +
Public Property DefaultMaxDistance As Single
+
+ [C#] +
public float DefaultMaxDistance {get; set;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMinDistance.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMinDistance.html new file mode 100644 index 0000000..bc3926d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultMinDistance.html @@ -0,0 +1,56 @@ + + + + + DefaultMinDistance Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.DefaultMinDistance Property

+
+
+
+

Sets or gets the default minimal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().

+
+ [Visual Basic] +
Public Property DefaultMinDistance As Single
+
+ [C#] +
public float DefaultMinDistance {get; set;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultVolume.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultVolume.html new file mode 100644 index 0000000..4684787 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.DefaultVolume.html @@ -0,0 +1,56 @@ + + + + + DefaultVolume Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.DefaultVolume Property

+
+
+
+

Sets or gets the default volume for a sound played from this source. The default value of this is 1.0f. Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). The volume is a value between 0 (silent) and 1.0f (full volume).

+
+ [Visual Basic] +
Public Property DefaultVolume As Single
+
+ [C#] +
public float DefaultVolume {get; set;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Dispose.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Dispose.html new file mode 100644 index 0000000..08331ac --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Dispose.html @@ -0,0 +1,59 @@ + + + + + ISoundSource.Dispose Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.Dispose Method 

+
+
+
+

+

+
+ [Visual Basic] +
Overrides Public Sub Dispose() _
    Implements IDisposable.Dispose
+
+ [C#] +
public override void Dispose();
+

Implements

+

+ IDisposable.Dispose +

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Finalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Finalize.html new file mode 100644 index 0000000..7e84611 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Finalize.html @@ -0,0 +1,54 @@ + + + + + ISoundSource.Finalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.Finalize Method 

+
+
+
+

Destructor

+
+ [Visual Basic] +
Overrides Protected Sub Finalize()
+
+ [C#] +
protected override void Finalize();
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForceReloadAtNextUse.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForceReloadAtNextUse.html new file mode 100644 index 0000000..c02ebaf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForceReloadAtNextUse.html @@ -0,0 +1,54 @@ + + + + + ISoundSource.ForceReloadAtNextUse Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.ForceReloadAtNextUse Method 

+
+
+
+

Forces the sound to be reloaded at next replay. Sounds which are not played as streams are buffered to make it possible to replay them without much overhead. If the sound file is altered after the sound has been played the first time, the engine won't play the changed file then. Calling this method makes the engine reload the file before the file is played the next time.

+
+ [Visual Basic] +
Public Sub ForceReloadAtNextUse()
+
+ [C#] +
public void ForceReloadAtNextUse();
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForcedStreamingThreshold.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForcedStreamingThreshold.html new file mode 100644 index 0000000..691cc22 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.ForcedStreamingThreshold.html @@ -0,0 +1,57 @@ + + + + + ForcedStreamingThreshold Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.ForcedStreamingThreshold Property

+
+
+
+

+

+
+ [Visual Basic] +
Public Property ForcedStreamingThreshold As Integer
+
+ [C#] +
public int ForcedStreamingThreshold {get; set;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.IsSeekingSupported.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.IsSeekingSupported.html new file mode 100644 index 0000000..b3c71da --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.IsSeekingSupported.html @@ -0,0 +1,56 @@ + + + + + IsSeekingSupported Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.IsSeekingSupported Property

+
+
+
+

Returns if sounds played from this source will support seeking via ISound::setPlayPosition(). If a sound is seekable depends on the file type and the audio format. For example MOD files cannot be seeked currently. Returns true of the sound source supports setPlayPosition() and false if not. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the information from there, so this call could take a bit depending on the type of file.

+
+ [Visual Basic] +
Public ReadOnly Property IsSeekingSupported As Boolean
+
+ [C#] +
public bool IsSeekingSupported {get;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Name.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Name.html new file mode 100644 index 0000000..7dd04e7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.Name.html @@ -0,0 +1,56 @@ + + + + + Name Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.Name Property

+
+
+
+

Returns the name of the sound source (usually, this is the file name)

+
+ [Visual Basic] +
Public ReadOnly Property Name As String
+
+ [C#] +
public string Name {get;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.PlayLength.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.PlayLength.html new file mode 100644 index 0000000..38e7cf8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.PlayLength.html @@ -0,0 +1,56 @@ + + + + + PlayLength Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.PlayLength Property

+
+
+
+

Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support lenght reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.

+
+ [Visual Basic] +
Public ReadOnly Property PlayLength As UInt32
+
+ [C#] +
public uint PlayLength {get;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.SampleData.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.SampleData.html new file mode 100644 index 0000000..f38db9f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.SampleData.html @@ -0,0 +1,57 @@ + + + + + SampleData Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.SampleData Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property SampleData As Byte()
+
+ [C#] +
public byte[] SampleData {get;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.StreamMode.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.StreamMode.html new file mode 100644 index 0000000..9452443 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.StreamMode.html @@ -0,0 +1,56 @@ + + + + + StreamMode Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.StreamMode Property

+
+
+
+

Sets or returns the stream mode which is used for a sound played from this source. Note that if this is set to ESM_NO_STREAMING, the engine still might decide to stream the sound if it is too big. The threashold for this can be adjusted using ISoundSource::setForcedStreamingThreshold(). Note: If the returned type is ESM_AUTO_DETECT, this mode will change after the sound has been played the first time.

+
+ [Visual Basic] +
Public Property StreamMode As StreamMode
+
+ [C#] +
public StreamMode StreamMode {get; set;}
+

+

+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.getNativeSoundSource.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.getNativeSoundSource.html new file mode 100644 index 0000000..ec62f6b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.getNativeSoundSource.html @@ -0,0 +1,54 @@ + + + + + ISoundSource.getNativeSoundSource Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource.getNativeSoundSource Method 

+
+
+
+

for internal use only

+
+ [Visual Basic] +
Public Function getNativeSoundSource() As ISoundSource*
+
+ [C#] +
public ISoundSource* getNativeSoundSource();
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.html new file mode 100644 index 0000000..c71263b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.html @@ -0,0 +1,67 @@ + + + + + ISoundSource Class + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource Class

+
+
+
+

A sound source describes an input file (.ogg, .mp3 or .wav) and its default settings. It provides some informations about the sound source like the play lenght and can have default settings for volume, distances for 3d etc.

+

For a list of all members of this type, see ISoundSource Members.

+

+ System.Object +
   IrrKlang.ISoundSource

+
+ [Visual Basic] +
Public Class ISoundSource
    Implements IDisposable
+
+ [C#] +
public class ISoundSource : IDisposable
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISoundSource Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceConstructor.html new file mode 100644 index 0000000..cb8cde5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceConstructor.html @@ -0,0 +1,51 @@ + + + + + ISoundSource Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource Constructor 

+
+
+
+

+

+
+ [Visual Basic] +
Public Sub New( _
   ByVal nativeSound As ISoundSource*, _
   ByVal nativeEngine As ISoundEngine* _
)
+
+ [C#] +
public ISoundSource(
   ISoundSource* nativeSound,
   ISoundEngine* nativeEngine
);
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMembers.html new file mode 100644 index 0000000..a486221 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMembers.html @@ -0,0 +1,105 @@ + + + + + ISoundSource Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource Members +

+
+
+
+

+ ISoundSource overview +

+

Public Instance Constructors

+
+ + + + + +
+ + ISoundSource Constructor + +
+
+

Public Instance Properties

+
+ + + + + + + + + + +
AudioFormat Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc. Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.
DefaultMaxDistance Sets or gets the default maximal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().
DefaultMinDistance Sets or gets the default minimal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().
DefaultVolume Sets or gets the default volume for a sound played from this source. The default value of this is 1.0f. Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). The volume is a value between 0 (silent) and 1.0f (full volume).
ForcedStreamingThreshold 
IsSeekingSupported Returns if sounds played from this source will support seeking via ISound::setPlayPosition(). If a sound is seekable depends on the file type and the audio format. For example MOD files cannot be seeked currently. Returns true of the sound source supports setPlayPosition() and false if not. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the information from there, so this call could take a bit depending on the type of file.
Name Returns the name of the sound source (usually, this is the file name)
PlayLength Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support lenght reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.
SampleData 
StreamMode Sets or returns the stream mode which is used for a sound played from this source. Note that if this is set to ESM_NO_STREAMING, the engine still might decide to stream the sound if it is too big. The threashold for this can be adjusted using ISoundSource::setForcedStreamingThreshold(). Note: If the returned type is ESM_AUTO_DETECT, this mode will change after the sound has been played the first time.
+
+

Public Instance Methods

+
+ + + + + + + +
Dispose 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
ForceReloadAtNextUse Forces the sound to be reloaded at next replay. Sounds which are not played as streams are buffered to make it possible to replay them without much overhead. If the sound file is altered after the sound has been played the first time, the engine won't play the changed file then. Calling this method makes the engine reload the file before the file is played the next time.
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
getNativeSoundSource for internal use only
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMethods.html new file mode 100644 index 0000000..05b3d86 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceMethods.html @@ -0,0 +1,71 @@ + + + + + ISoundSource Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource Methods

+
+
+
+

The methods of the ISoundSource class are listed below. For a complete list of ISoundSource class members, see the ISoundSource Members topic.

+

Public Instance Methods

+
+ + + + + + + +
Dispose 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
ForceReloadAtNextUse Forces the sound to be reloaded at next replay. Sounds which are not played as streams are buffered to make it possible to replay them without much overhead. If the sound file is altered after the sound has been played the first time, the engine won't play the changed file then. Calling this method makes the engine reload the file before the file is played the next time.
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
getNativeSoundSource for internal use only
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize Destructor
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceProperties.html new file mode 100644 index 0000000..4da8179 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSourceProperties.html @@ -0,0 +1,58 @@ + + + + + ISoundSource Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundSource Properties

+
+
+
+

The properties of the ISoundSource class are listed below. For a complete list of ISoundSource class members, see the ISoundSource Members topic.

+

Public Instance Properties

+
+ + + + + + + + + + +
AudioFormat Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc. Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.
DefaultMaxDistance Sets or gets the default maximal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().
DefaultMinDistance Sets or gets the default minimal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().
DefaultVolume Sets or gets the default volume for a sound played from this source. The default value of this is 1.0f. Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). The volume is a value between 0 (silent) and 1.0f (full volume).
ForcedStreamingThreshold 
IsSeekingSupported Returns if sounds played from this source will support seeking via ISound::setPlayPosition(). If a sound is seekable depends on the file type and the audio format. For example MOD files cannot be seeked currently. Returns true of the sound source supports setPlayPosition() and false if not. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the information from there, so this call could take a bit depending on the type of file.
Name Returns the name of the sound source (usually, this is the file name)
PlayLength Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support lenght reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file.
SampleData 
StreamMode Sets or returns the stream mode which is used for a sound played from this source. Note that if this is set to ESM_NO_STREAMING, the engine still might decide to stream the sound if it is too big. The threashold for this can be adjusted using ISoundSource::setForcedStreamingThreshold(). Note: If the returned type is ESM_AUTO_DETECT, this mode will change after the sound has been played the first time.
+
+

See Also

+

+ ISoundSource Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.OnSoundStopped.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.OnSoundStopped.html new file mode 100644 index 0000000..bc5eb7b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.OnSoundStopped.html @@ -0,0 +1,56 @@ + + + + + ISoundStopEventReceiver.OnSoundStopped Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundStopEventReceiver.OnSoundStopped Method 

+
+
+
+

+

+
+ [Visual Basic] +
Sub OnSoundStopped( _
   ByVal sound As ISound, _
   ByVal reason As StopEventCause, _
   ByVal userData As Object _
)
+
+ [C#] +
+ void OnSoundStopped(
   ISound sound,
   StopEventCause reason,
   object userData
);
+

See Also

+

+ ISoundStopEventReceiver Interface | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.html new file mode 100644 index 0000000..31efe00 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiver.html @@ -0,0 +1,62 @@ + + + + + ISoundStopEventReceiver Interface + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundStopEventReceiver Interface

+
+
+
+

Interface to be implemented by the user, which recieves sound stop events. The interface has only one method to be implemented by the user: OnSoundStopped(). Implement this interface and set it via ISound::setSoundStopEventReceiver(). The sound stop event is guaranteed to be called when a sound or sound stream is finished, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted.

+

For a list of all members of this type, see ISoundStopEventReceiver Members.

+

+

+
+ [Visual Basic] +
Public Interface ISoundStopEventReceiver
+
+ [C#] +
public interface ISoundStopEventReceiver
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ ISoundStopEventReceiver Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMembers.html new file mode 100644 index 0000000..95c8230 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMembers.html @@ -0,0 +1,56 @@ + + + + + ISoundStopEventReceiver Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundStopEventReceiver Members +

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMethods.html new file mode 100644 index 0000000..a1eeac7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundStopEventReceiverMethods.html @@ -0,0 +1,49 @@ + + + + + ISoundStopEventReceiver Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

ISoundStopEventReceiver Methods

+
+
+
+

The methods of the ISoundStopEventReceiver interface are listed below. For a complete list of ISoundStopEventReceiver interface members, see the ISoundStopEventReceiver Members topic.

+

Public Instance Methods

+ +

See Also

+

+ ISoundStopEventReceiver Interface | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SampleFormat.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SampleFormat.html new file mode 100644 index 0000000..f52b1cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SampleFormat.html @@ -0,0 +1,81 @@ + + + + + SampleFormat Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

SampleFormat Enumeration

+
+
+
+

+

+
+ [Visual Basic] +
Public Enum SampleFormat
+
+ [C#] +
public enum SampleFormat
+
+

Members

+
+ + + + + + +
Member NameDescription
Signed16Bit 
Unsigned8Bit 
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundDeviceListType.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundDeviceListType.html new file mode 100644 index 0000000..8eee1d9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundDeviceListType.html @@ -0,0 +1,80 @@ + + + + + SoundDeviceListType Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

SoundDeviceListType Enumeration

+
+
+
+

type of a sound device list

+
+ [Visual Basic] +
Public Enum SoundDeviceListType
+
+ [C#] +
public enum SoundDeviceListType
+
+

Members

+
+ + + + + + +
Member NameDescription
RecordingDevice type of a sound device list
PlaybackDevice type of a sound device list
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundEngineOptionFlag.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundEngineOptionFlag.html new file mode 100644 index 0000000..b5fe857 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundEngineOptionFlag.html @@ -0,0 +1,110 @@ + + + + + SoundEngineOptionFlag Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

SoundEngineOptionFlag Enumeration

+
+
+
+

An enumeration for all options for starting up the sound engine When using createSoundEngine, use a combination of this these options parameter to start up the engine.

+
+ [Visual Basic] +
Public Enum SoundEngineOptionFlag
+
+ [C#] +
public enum SoundEngineOptionFlag
+
+

Members

+
+ + + + + + + + + + + + +
Member NameDescription
DefaultOptions Default parameters when starting up the engine. A combination of MultiThreaded | LoadPlugins | Use3DBuffers | PrintDebugInfoIntoDebugger
LinearRolloff If specified, instead of the default logarithmic one, irrKlang will use a linear rolloff model which influences the attenuation of the sounds over distance. The volume is interpolated linearly between the MinDistance and MaxDistance, making it possible to adjust sounds more easily although this is not physically correct. Note that this option may not work when used together with the Use3DBuffers option when using Direct3D for example, irrKlang will then turn off Use3DBuffers automaticly to be able to use this option and write out a warning.
PrintDebugInfoToStdOut 
PrintDebugInfoIntoDebugger In addition to printing debug info to stdout, irrKlang will print debug info to any windows debugger supporting OutputDebugString() (like VisualStudio). This is pretty useful if your application does not capture any console output.
Use3DBuffers Uses 3D sound buffers instead of emulating them when playing 3d sounds (default). If this flag is not specified, all buffers will by created in 2D only and 3D positioning will be emulated in software, making the engine run faster if hardware 3d audio is slow on the system.
LoadPlugins Automaticly loads external plugins when starting up. Plugins usually are .dll files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which are executed after the startup of the sound engine and modify it for example to make it possible to play back mp3 files. Plugins are being loaded from the current working directory as well as from the position where the .exe using the irrKlang library resides.
MuteIfNotFocused If the window of the application doesn't have the focus, irrKlang will be silent if this has been set. This will only work when irrKlang is using the DirectSound output driver.
MultiThreaded If specified (default), it will make irrKlang run in a separate thread, updating all streams, sounds, 3d positions and whatever automaticly. You also don't need to call ISoundEngine::update() if irrKlang is running multithreaded. However, if you want to run irrKlang in the same thread as your application (for easier debugging for example), don't set this. But you need to call ISoundEngine::update() as often as you can (at least about 2-3 times per second) to make irrKlang update everything correctly then.
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundOutputDriver.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundOutputDriver.html new file mode 100644 index 0000000..11fbf70 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.SoundOutputDriver.html @@ -0,0 +1,105 @@ + + + + + SoundOutputDriver Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

SoundOutputDriver Enumeration

+
+
+
+

An enum for all types of output drivers irrKlang supports.

+
+ [Visual Basic] +
Public Enum SoundOutputDriver
+
+ [C#] +
public enum SoundOutputDriver
+
+

Members

+
+ + + + + + + + + + + +
Member NameDescription
NullDriver Null driver, creating no sound output
CoreAudio Core Audio sound output driver, mac os only
ALSA ALSA sound output driver, linux only
WinMM WinMM sound output driver, windows only
DirectSound DirectSound sound output driver, windows only
DirectSound8 DirectSound8 sound output driver, windows only
AutoDetect An enum for all types of output drivers irrKlang supports.
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StopEventCause.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StopEventCause.html new file mode 100644 index 0000000..7f8f3d1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StopEventCause.html @@ -0,0 +1,85 @@ + + + + + StopEventCause Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

StopEventCause Enumeration

+
+
+
+

An enumeration listing all reasons for a fired sound stop event

+
+ [Visual Basic] +
Public Enum StopEventCause
+
+ [C#] +
public enum StopEventCause
+
+

Members

+
+ + + + + + + +
Member NameDescription
SoundStoppedBySourceRemoval The sound was stopped because its sound source was removed or the engine was shut down
SoundStoppedByUser The sound was stopped because the user called ISound::stop().
SoundFinishedPlaying The sound finished playing.
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarder.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarder.html new file mode 100644 index 0000000..2919264 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarder.html @@ -0,0 +1,67 @@ + + + + + StreamForwarder Structure + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

StreamForwarder Structure

+
+
+
+

Internal class, do not use.

+

For a list of all members of this type, see StreamForwarder Members.

+

+ System.Object +
   System.ValueType
      IrrKlang.StreamForwarder

+
+ [Visual Basic] +
Public Structure StreamForwarder
+
+ [C#] +
public struct StreamForwarder
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ StreamForwarder Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarderMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarderMembers.html new file mode 100644 index 0000000..764df8c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamForwarderMembers.html @@ -0,0 +1,67 @@ + + + + + StreamForwarder Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

StreamForwarder Members +

+
+
+
+

+ StreamForwarder overview +

+

Public Instance Methods

+
+ + + + +
Equals (inherited from ValueType) + Indicates whether this instance and a specified object are equal. +
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from ValueType) + Returns the fully qualified type name of this instance. +
+
+

See Also

+

+ StreamForwarder Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamMode.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamMode.html new file mode 100644 index 0000000..0695eb3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.StreamMode.html @@ -0,0 +1,85 @@ + + + + + StreamMode Enumeration + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

StreamMode Enumeration

+
+
+
+

An enum for all types of output stream modes

+
+ [Visual Basic] +
Public Enum StreamMode
+
+ [C#] +
public enum StreamMode
+
+

Members

+
+ + + + + + + +
Member NameDescription
NoStreaming An enum for all types of output stream modes
Streaming An enum for all types of output stream modes
AutoDetect Autodetects the best sound driver for the system
+
+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ IrrKlang Namespace +

+ + + + + + + + + + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.CrossProduct.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.CrossProduct.html new file mode 100644 index 0000000..6e639fe --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.CrossProduct.html @@ -0,0 +1,63 @@ + + + + + Vector3D.CrossProduct Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.CrossProduct Method 

+
+
+
+

Returns cross product with an other vector

+
+ [Visual Basic] +
Public Function CrossProduct( _
   ByVal p As Vector3D _
) As Vector3D
+
+ [C#] +
public Vector3D CrossProduct(
   Vector3D p
);
+

Parameters

+
+
+ p +
+
other vector
+
+

Return Value

+

cross product

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.DotProduct.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.DotProduct.html new file mode 100644 index 0000000..82befbc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.DotProduct.html @@ -0,0 +1,54 @@ + + + + + Vector3D.DotProduct Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.DotProduct Method 

+
+
+
+

Returns the dot product with another vector.

+
+ [Visual Basic] +
Public Function DotProduct( _
   ByVal other As Vector3D _
) As Single
+
+ [C#] +
public float DotProduct(
   Vector3D other
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Equals.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Equals.html new file mode 100644 index 0000000..6ce3a24 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Equals.html @@ -0,0 +1,54 @@ + + + + + Vector3D.Equals Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Equals Method 

+
+
+
+

Compares the vector to another vector.

+
+ [Visual Basic] +
Overrides Public Function Equals( _
   ByVal rhs As Object _
) As Boolean
+
+ [C#] +
public override bool Equals(
   object rhs
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFrom.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFrom.html new file mode 100644 index 0000000..6bfb6af --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFrom.html @@ -0,0 +1,54 @@ + + + + + Vector3D.GetDistanceFrom Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.GetDistanceFrom Method 

+
+
+
+

Returns distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.

+
+ [Visual Basic] +
Public Function GetDistanceFrom( _
   ByVal other As Vector3D _
) As Double
+
+ [C#] +
public double GetDistanceFrom(
   Vector3D other
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFromSQ.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFromSQ.html new file mode 100644 index 0000000..ce004c5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetDistanceFromSQ.html @@ -0,0 +1,54 @@ + + + + + Vector3D.GetDistanceFromSQ Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.GetDistanceFromSQ Method 

+
+
+
+

Returns squared distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.

+
+ [Visual Basic] +
Public Function GetDistanceFromSQ( _
   ByVal other As Vector3D _
) As Single
+
+ [C#] +
public float GetDistanceFromSQ(
   Vector3D other
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetInterpolated.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetInterpolated.html new file mode 100644 index 0000000..0f1fd49 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetInterpolated.html @@ -0,0 +1,65 @@ + + + + + Vector3D.GetInterpolated Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.GetInterpolated Method 

+
+
+
+

returns interpolated vector

+
+ [Visual Basic] +
Public Function GetInterpolated( _
   ByVal other As Vector3D, _
   ByVal d As Single _
) As Vector3D
+
+ [C#] +
public Vector3D GetInterpolated(
   Vector3D other,
   float d
);
+

Parameters

+
+
+ other +
+
other vector to interpolate between
+
+ d +
+
value between 0.0f and 1.0f.
+
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLength.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLength.html new file mode 100644 index 0000000..4d8851d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLength.html @@ -0,0 +1,54 @@ + + + + + Vector3D.GetLength Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.GetLength Method 

+
+
+
+

Returns length of the vector.

+
+ [Visual Basic] +
Public Function GetLength() As Double
+
+ [C#] +
public double GetLength();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLengthSQ.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLengthSQ.html new file mode 100644 index 0000000..815de6a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.GetLengthSQ.html @@ -0,0 +1,54 @@ + + + + + Vector3D.GetLengthSQ Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.GetLengthSQ Method 

+
+
+
+

Returns squared length of the vector. This is useful because it is much faster then GetLength().

+
+ [Visual Basic] +
Public Function GetLengthSQ() As Double
+
+ [C#] +
public double GetLengthSQ();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Invert.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Invert.html new file mode 100644 index 0000000..2d61ab1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Invert.html @@ -0,0 +1,54 @@ + + + + + Vector3D.Invert Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Invert Method 

+
+
+
+

Inverts the vector.

+
+ [Visual Basic] +
Public Sub Invert()
+
+ [C#] +
public void Invert();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.IsBetweenPoints.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.IsBetweenPoints.html new file mode 100644 index 0000000..7d7b1d3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.IsBetweenPoints.html @@ -0,0 +1,67 @@ + + + + + Vector3D.IsBetweenPoints Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.IsBetweenPoints Method 

+
+
+
+

Returns if the point represented by this vector is between to points

+
+ [Visual Basic] +
Public Function IsBetweenPoints( _
   ByVal begin As Vector3D, _
   ByVal end As Vector3D _
) As Boolean
+
+ [C#] +
public bool IsBetweenPoints(
   Vector3D begin,
   Vector3D end
);
+

Parameters

+
+
+ begin +
+
Start point of line
+
+ end +
+
End point of line
+
+

Return Value

+

True if between points, false if not.

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Length.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Length.html new file mode 100644 index 0000000..ff28736 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Length.html @@ -0,0 +1,57 @@ + + + + + Length Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Length Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property Length As Double
+
+ [C#] +
public double Length {get;}
+

+

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.LengthSQ.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.LengthSQ.html new file mode 100644 index 0000000..257b020 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.LengthSQ.html @@ -0,0 +1,57 @@ + + + + + LengthSQ Property + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.LengthSQ Property

+
+
+
+

+

+
+ [Visual Basic] +
Public ReadOnly Property LengthSQ As Double
+
+ [C#] +
public double LengthSQ {get;}
+

+

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Normalize.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Normalize.html new file mode 100644 index 0000000..cec6f99 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Normalize.html @@ -0,0 +1,54 @@ + + + + + Vector3D.Normalize Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Normalize Method 

+
+
+
+

Normalizes the vector.

+
+ [Visual Basic] +
Public Function Normalize() As Vector3D
+
+ [C#] +
public Vector3D Normalize();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.SetLength.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.SetLength.html new file mode 100644 index 0000000..c7dd6cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.SetLength.html @@ -0,0 +1,54 @@ + + + + + Vector3D.SetLength Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.SetLength Method 

+
+
+
+

Sets the lenght of the vector to a new value

+
+ [Visual Basic] +
Public Sub SetLength( _
   ByVal newlength As Single _
)
+
+ [C#] +
public void SetLength(
   float newlength
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_1.html new file mode 100644 index 0000000..d674a6a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_1.html @@ -0,0 +1,55 @@ + + + + + Vector3D.Set Method (Vector3D) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Set Method (Vector3D)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub Set( _
   ByVal p As Vector3D _
)
+
+ [C#] +
public void Set(
   Vector3D p
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3D.Set Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_2.html new file mode 100644 index 0000000..0fd026f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overload_2.html @@ -0,0 +1,55 @@ + + + + + Vector3D.Set Method (Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Set Method (Single, Single, Single)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub Set( _
   ByVal nx As Single, _
   ByVal ny As Single, _
   ByVal nz As Single _
)
+
+ [C#] +
public void Set(
   float nx,
   float ny,
   float nz
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3D.Set Overload List

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overloads.html new file mode 100644 index 0000000..9b0ba01 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Set_overloads.html @@ -0,0 +1,50 @@ + + + + + Set Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Set Method

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.ToString.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.ToString.html new file mode 100644 index 0000000..839a6ef --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.ToString.html @@ -0,0 +1,55 @@ + + + + + Vector3D.ToString Method + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.ToString Method 

+
+
+
+

+

+
+ [Visual Basic] +
Overrides Public Function ToString() As String
+
+ [C#] +
public override string ToString();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.X.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.X.html new file mode 100644 index 0000000..08c8dfb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.X.html @@ -0,0 +1,58 @@ + + + + + Vector3D.X Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.X Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public X As Single
+
+ [C#] +
public float X;
+

+

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Y.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Y.html new file mode 100644 index 0000000..6e57847 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Y.html @@ -0,0 +1,58 @@ + + + + + Vector3D.Y Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Y Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public Y As Single
+
+ [C#] +
public float Y;
+

+

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Z.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Z.html new file mode 100644 index 0000000..0e144f8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.Z.html @@ -0,0 +1,58 @@ + + + + + Vector3D.Z Field + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D.Z Field +

+
+
+
+

+

+
+ [Visual Basic] +
Public Z As Single
+
+ [C#] +
public float Z;
+

+

+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.html new file mode 100644 index 0000000..34f9ce0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.html @@ -0,0 +1,67 @@ + + + + + Vector3D Structure + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Structure

+
+
+
+

3d vector class with lots of operators and methods. This class has been ported directly from the native C++ Irrlicht Engine, so it may not be 100% complete yet and the design may not be 100% .NET like.

+

For a list of all members of this type, see Vector3D Members.

+

+ System.Object +
   System.ValueType
      IrrKlang.Vector3D

+
+ [Visual Basic] +
Public Structure Vector3D
+
+ [C#] +
public struct Vector3D
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + IrrKlang +

+

+ Assembly: irrKlang.NET (in irrKlang.NET.dll) +

+

See Also

+

+ Vector3D Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Addition.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Addition.html new file mode 100644 index 0000000..0253b4a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Addition.html @@ -0,0 +1,48 @@ + + + + + Vector3D Addition Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Addition Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Addition(o1, o2)
+
+ [C#] +
public static Vector3D operator +(
   Vector3D o1,
   Vector3D o2
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Division.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Division.html new file mode 100644 index 0000000..3730821 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Division.html @@ -0,0 +1,48 @@ + + + + + Vector3D Division Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Division Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Division(o, scal)
+
+ [C#] +
public static Vector3D operator /(
   Vector3D o,
   float scal
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Equality.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Equality.html new file mode 100644 index 0000000..829fb2d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Equality.html @@ -0,0 +1,48 @@ + + + + + Vector3D Equality Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Equality Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Equality(o1, o2)
+
+ [C#] +
public static bool operator ==(
   Vector3D o1,
   Vector3D o2
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_1.html new file mode 100644 index 0000000..dfdc913 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_1.html @@ -0,0 +1,48 @@ + + + + + Vector3D Multiplication Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Multiplication Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Multiply(scal, o)
+
+ [C#] +
public static Vector3D operator *(
   float scal,
   ref Vector3D o
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3DMultiplication Operator Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_2.html new file mode 100644 index 0000000..eb69be9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overload_2.html @@ -0,0 +1,48 @@ + + + + + Vector3D Multiplication Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Multiplication Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Multiply(o, scal)
+
+ [C#] +
public static Vector3D operator *(
   Vector3D o,
   float scal
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3DMultiplication Operator Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overloads.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overloads.html new file mode 100644 index 0000000..967e333 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Multiply_overloads.html @@ -0,0 +1,50 @@ + + + + + Vector3D Multiplication Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Multiplication Operator

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Subtraction.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Subtraction.html new file mode 100644 index 0000000..3f2076e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3D.op_Subtraction.html @@ -0,0 +1,48 @@ + + + + + Vector3D Subtraction Operator + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Subtraction Operator 

+
+
+
+

+

+
+ [Visual Basic] +
+ returnValue = Vector3D.op_Subtraction(o1, o2)
+
+ [C#] +
public static Vector3D operator -(
   Vector3D o1,
   Vector3D o2
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor.html new file mode 100644 index 0000000..a511b44 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor.html @@ -0,0 +1,54 @@ + + + + + Vector3D Constructor + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Constructor

+
+
+
+

+

+

Overload List

+

Initializes a new instance of the Vector3D class.

+
+ public Vector3D(); +
+

 

+
+ public Vector3D(float,float,float); +
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor1.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor1.html new file mode 100644 index 0000000..cd5baca --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor1.html @@ -0,0 +1,47 @@ + + + + + Vector3D Constructor (Single, Single, Single) + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Constructor (Single, Single, Single)

+
+
+
+

+

+
+ [Visual Basic] +
Overloads Public Sub New( _
   ByVal nx As Single, _
   ByVal ny As Single, _
   ByVal nz As Single _
)
+
+ [C#] +
public Vector3D(
   float nx,
   float ny,
   float nz
);
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3D Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor2.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor2.html new file mode 100644 index 0000000..3fc3647 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DConstructor2.html @@ -0,0 +1,46 @@ + + + + + Vector3D Constructor () + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Constructor ()

+
+
+
+

Initializes a new instance of the Vector3D class.

+
+ [Visual Basic] +
Overloads Public Sub New()
+
+ [C#] +
public Vector3D();
+

See Also

+

+ Vector3D Class | IrrKlang Namespace | Vector3D Constructor Overload List

+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DFields.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DFields.html new file mode 100644 index 0000000..d24a3a9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DFields.html @@ -0,0 +1,51 @@ + + + + + Vector3D Fields + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Fields

+
+
+
+

The fields of the Vector3D structure are listed below. For a complete list of Vector3D structure members, see the Vector3D Members topic.

+

Public Instance Fields

+
+ + + +
X 
Y 
Z 
+
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMembers.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMembers.html new file mode 100644 index 0000000..c4d110e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMembers.html @@ -0,0 +1,109 @@ + + + + + Vector3D Members + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Members +

+
+
+
+

+ Vector3D overview +

+

Public Static (Shared) Operators

+ +

Public Instance Constructors

+
+ + + + + +
+ + Vector3D + Overloaded. Initializes a new instance of the Vector3D class.
+
+

Public Instance Fields

+
+ + + +
X 
Y 
Z 
+
+

Public Instance Properties

+
+ + +
Length 
LengthSQ 
+
+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + +
CrossProduct Returns cross product with an other vector
DotProduct Returns the dot product with another vector.
Equals Compares the vector to another vector.
GetDistanceFrom Returns distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetDistanceFromSQ Returns squared distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetInterpolated returns interpolated vector
GetLength Returns length of the vector.
GetLengthSQ Returns squared length of the vector. This is useful because it is much faster then GetLength().
GetType (inherited from Object) + Gets the Type of the current instance. +
Invert Inverts the vector.
IsBetweenPoints Returns if the point represented by this vector is between to points
Normalize Normalizes the vector.
SetOverloaded.  
SetLength Sets the lenght of the vector to a new value
ToString 
+
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMethods.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMethods.html new file mode 100644 index 0000000..a2ff24d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DMethods.html @@ -0,0 +1,68 @@ + + + + + Vector3D Methods + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Methods

+
+
+
+

The methods of the Vector3D structure are listed below. For a complete list of Vector3D structure members, see the Vector3D Members topic.

+

Public Instance Methods

+
+ + + + + + + + + + + + + + + + +
CrossProduct Returns cross product with an other vector
DotProduct Returns the dot product with another vector.
Equals Compares the vector to another vector.
GetDistanceFrom Returns distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetDistanceFromSQ Returns squared distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetHashCode (inherited from ValueType) + Returns the hash code for this instance. +
GetInterpolated returns interpolated vector
GetLength Returns length of the vector.
GetLengthSQ Returns squared length of the vector. This is useful because it is much faster then GetLength().
GetType (inherited from Object) + Gets the Type of the current instance. +
Invert Inverts the vector.
IsBetweenPoints Returns if the point represented by this vector is between to points
Normalize Normalizes the vector.
SetOverloaded.  
SetLength Sets the lenght of the vector to a new value
ToString 
+
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DOperators.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DOperators.html new file mode 100644 index 0000000..dd8ede7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DOperators.html @@ -0,0 +1,53 @@ + + + + + Vector3D Operators + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Operators

+
+
+
+

The operators of the Vector3D structure are listed below. For a complete list of Vector3D structure members, see the Vector3D Members topic.

+

Public Static (Shared) Operators

+ +

See Also

+

+ Vector3D Class | Vector3D Members | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DProperties.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DProperties.html new file mode 100644 index 0000000..c2e60d3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.Vector3DProperties.html @@ -0,0 +1,50 @@ + + + + + Vector3D Properties + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

Vector3D Properties

+
+
+
+

The properties of the Vector3D structure are listed below. For a complete list of Vector3D structure members, see the Vector3D Members topic.

+

Public Instance Properties

+
+ + +
Length 
LengthSQ 
+
+

See Also

+

+ Vector3D Class | IrrKlang Namespace

+ + + + +
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.html new file mode 100644 index 0000000..c332838 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.html @@ -0,0 +1,190 @@ + + + + + IrrKlang + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IrrKlang Namespace

+
+
+
+

the main namespace where every class of the sound engine can be found

+

+ Namespace hierarchy +

+

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassDescription
+ IAudioRecorder + Interface to an audio recorder.
+ ISound + Represents a sound which is currently played. You can stop the sound or change the volume or whatever using this interface. Don't create sounds using new ISound, this won't work anyway. You can get an instance of an ISonud class by calling ISoundEngine::Play2D or Play3D.
+ ISoundDeviceList + A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. The function createIrrKlangDevice() has a parameter 'deviceID' which takes the value returned by ISoundDeviceList::getDeviceID() and uses that device then. The list of devices in ISoundDeviceList usually also includes the default device which is the first entry and has an empty deviceID string ("") and the description "default device".*/
+ ISoundEffectControl + Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. Sound effects such as chorus, distorsions, echo, reverb and similar can be controlled using this. An instance of this interface can be obtained via ISound::getSoundEffectControl(). The sound containing this interface has to be started via ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, otherwise no acccess to this interface will be available. For the DirectSound driver, these are effects available since DirectSound8. For most effects, sounds should have a sample rate of 44 khz and should be at least 150 milli seconds long for optimal quality when using the DirectSound driver.
+ ISoundEngine +  
+ ISoundSource + A sound source describes an input file (.ogg, .mp3 or .wav) and its default settings. It provides some informations about the sound source like the play lenght and can have default settings for volume, distances for 3d etc.
+
+

Interfaces

+
+ + + + + + + + + + + + + +
InterfaceDescription
+ IFileFactory + Interface to overwrite opening files. Derive your own class from IFileFactory, overwrite the openFile() method and return your own System::IO::Stream to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.
+ ISoundStopEventReceiver + Interface to be implemented by the user, which recieves sound stop events. The interface has only one method to be implemented by the user: OnSoundStopped(). Implement this interface and set it via ISound::setSoundStopEventReceiver(). The sound stop event is guaranteed to be called when a sound or sound stream is finished, either because the sound reached its playback end, its sound source was removed, ISoundEngine::stopAllSounds() has been called or the whole engine was deleted.
+
+

Structures

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
StructureDescription
+ AudioFormat +  
+ EventForwarder + Internal class, do not use.
+ FileFactoryForwarder + Internal class, do not use.
+ StreamForwarder + Internal class, do not use.
+ Vector3D + 3d vector class with lots of operators and methods. This class has been ported directly from the native C++ Irrlicht Engine, so it may not be 100% complete yet and the design may not be 100% .NET like.
+
+

Enumerations

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EnumerationDescription
+ SampleFormat +  
+ SoundDeviceListType + type of a sound device list
+ SoundEngineOptionFlag + An enumeration for all options for starting up the sound engine When using createSoundEngine, use a combination of this these options parameter to start up the engine.
+ SoundOutputDriver + An enum for all types of output drivers irrKlang supports.
+ StopEventCause + An enumeration listing all reasons for a fired sound stop event
+ StreamMode + An enum for all types of output stream modes
+
+
+ +
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlangHierarchy.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlangHierarchy.html new file mode 100644 index 0000000..a1a2436 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlangHierarchy.html @@ -0,0 +1,88 @@ + + + + + IrrKlangHierarchy + + + + + + +
+
+ + + + + +
IrrKlang.NET +
+
+
+

IrrKlang Hierarchy

+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/MSDN.css b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/MSDN.css new file mode 100644 index 0000000..11a962a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/MSDN.css @@ -0,0 +1,405 @@ +body /* This body tag requires the use of one of the sets of banner and/or text div ids */ + { + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + background: #ffffff; + color: #000000; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 70%; + width: 100%; + /*overflow: expression('hidden');*/ + } +div#scrollyes /* Allows topic to scroll with correct margins. Cannot be used with running head banner */ + { /* Must immediately follow . */ + padding: 2px 15px 2px 22px; + width: 100%; + } +div#nsbanner /* Creates Nonscrolling banner region */ + { + position: relative; + left: 0px; + padding: 0px 0px 0px 0px; + border-bottom: 1px solid #999999; + /*width: expression(document.body.clientWidth);*/ + background-color: #99ccff; + } +div#nstext /* Creates the scrolling text area for Nonscrolling region topic */ + { + top: 0px; + padding: 5px 20px 0px 22px; + /*overflow: expression('auto'); + width: expression(document.body.clientWidth); + height: expression(document.body.clientHeight - nsbanner.offsetHeight);*/ + } +div#scrbanner /* Creates the running head bar in a full-scroll topic */ + { /* Allows topic to scroll. */ + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + border-bottom: 1px solid #999999; + } +div#scrtext /* Creates the text area in a full-scroll topic */ + { /* Allows topic to scroll. */ + padding: 0px 10px 0px 22px; + } +div#bannerrow1 /* provides full-width color to top row in running head (requires script) */ + { + } +div#titlerow /* provides non-scroll topic title area (requires script) */ + { + padding: 0px 10px 0px 22px; + } + +h1, h2, h3, h4 + { + font-family: Verdana, Arial, Helvetica, sans-serif; + margin-bottom: .4em; + margin-top: 1em; + font-weight: bold; + } +h1 + { + font-size: 120%; + margin-top: 0em; + } +div#scrollyes h1 /* Changes font size for full-scrolling topic */ + { + font-size: 150%; + } +h2 + { + font-size: 130%; + } +h3 + { + font-size: 115%; + } +h4 + { + font-size: 100%; + } +.dtH1, .dtH2, .dtH3, .dtH4 + { + margin-left: -18px; + } +div#titlerow h1 + { + margin-bottom: .2em + } + +table.bannerparthead, table.bannertitle /* General values for the Running Head tables */ + { + position: relative; + left: 0px; + top: 0px; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + width: 100%; + height: 21px; + border-collapse: collapse; + border-style: solid; + border-width: 0px; + background-color: #99ccff; + font-size: 100%; + } +table.bannerparthead td /* General Values for cells in the top row of running head */ + { + margin: 0px 0px 0px 0px; + padding: 2px 0px 0px 4px; + vertical-align: middle; + border-width: 0px; + border-style: solid; + border-color: #999999; + background: transparent; + font-style: italic; + font-weight: normal; + } +table.bannerparthead td.product /* Values for top right cell in running head */ + { /* Allows for a second text block in the running head */ + text-align: right; + padding: 2px 5px 0px 5px; + } +table.bannertitle td /* General Values for cells in the bottom row of running head */ + { + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 3px; + vertical-align: middle; + border-width: 0px 0px 1px 0px; + border-style: solid; + border-color: #999999; + background: transparent; + font-weight: bold; + } +td.button1 /* Values for button cells */ + { + width: 14px; + cursor: hand; + } + +p + { + margin: .5em 0em .5em 0em; + } +blockquote.dtBlock + { + margin: .5em 1.5em .5em 1.5em; + } +div#dtHoverText + { + color: #000066; + } +.normal + { + margin: .5em 0em .5em 0em; + } +.fineprint + { + font-size: 90%; /* 90% of 70% */ + } +.indent + { + margin: .5em 1.5em .5em 1.5em; + } +.topicstatus /* Topic Status Boilerplate class */ + { + display: block; + color: red; + } +p.label + { + margin-top: 1em; + } +p.labelproc + { + margin-top: 1em; + color: #000066; + } + +div.tablediv + { + width: 100%; /* Forces tables to have correct right margins and top spacing */ + margin-top: -.4em; + } +ol div.tablediv, ul div.tablediv, ol div.HxLinkTable, ul div.HxLinkTable + { + margin-top: 0em; /* Forces tables to have correct right margins and top spacing */ + } +table.dtTABLE + { + width: 100%; /* Forces tables to have correct right margin */ + margin-top: .6em; + margin-bottom: .3em; + border-width: 1px 1px 0px 0px; + border-style: solid; + border-color: #999999; + background-color: #999999; + font-size: 100%; /* Text in Table is same size as text outside table */ + } +table.dtTABLE th, table.dtTABLE td + { + border-style: solid; /* Creates the cell border and color */ + border-width: 0px 0px 1px 1px; + border-style: solid; + border-color: #999999; + padding: 4px 6px; + text-align: left; + } +table.dtTABLE th + { + background: #cccccc; /* Creates the shaded table header row */ + vertical-align: bottom; + } +table.dtTABLE td + { + background: #ffffff; + vertical-align: top; + } + +MSHelp\:ktable + { + disambiguator: span; + separator:  | + prefix: | + postfix:   + filterString: ; + } +div.HxLinkTable + { + width: auto; /* Forces tables to have correct right margins and top spacing */ + margin-top: -.4em; + visibility: visible; + } +ol div.HxLinkTable, ul div.HxLinkTable + { + margin-top: 0em; /* Forces tables to have correct right margins and top spacing */ + } +table.HxLinkTable /* Keep in sync with general table settings below */ + { + width: auto; + margin-top: 1.5em; + margin-bottom: .3em; + margin-left: -1em; + border-width: 1px 1px 0px 0px; + border-style: solid; + border-color: #999999; + background-color: #999999; + font-size: 100%; /* Text in Table is same size as text outside table */ + behavior:url(hxlinktable.htc); /* Attach the behavior to link elements. */ + } +table.HxLinkTable th, table.HxLinkTable td /* Keep in sync with general table settings below */ + { + border-style: solid; /* Creates the cell border and color */ + border-width: 0px 0px 1px 1px; + border-style: solid; + border-color: #999999; + padding: 4px 6px; + text-align: left; + } +table.HxLinkTable th /* Keep in sync with general table settings below */ + { + background: #cccccc; /* Creates the shaded table header row */ + vertical-align: bottom; + } +table.HxLinkTable td /* Keep in sync with general table settings below */ + { + background: #ffffff; + vertical-align: top; + } +pre.code + { + background-color: #eeeeee; + padding: 4px 6px 4px 6px; + } +pre, div.syntax + { + margin-top: .5em; + margin-bottom: .5em; + } +pre, code, .code, div.syntax + { + font: 100% Monospace, Courier New, Courier; /* This is 100% of 70% */ + color: #000066; + } +pre b, code b + { + letter-spacing: .1em; /* opens kerning on bold in Syntax/Code */ + } +pre.syntax, div.syntax + { + background: #cccccc; + padding: 4px 8px; + cursor: text; + margin-top: 1em; + margin-bottom: 1em; + color: #000000; + border-width: 1px; + border-style: solid; + border-color: #999999; +/* ------------------------------------- */ +/* BEGIN changes to dtue.css conventions */ + font-weight: bolder; + letter-spacing: .1em; + } +.syntax span.lang + { + margin: 0; + font-weight: normal; + } +.syntax span.meta + { + margin: 0; + font-weight: normal; + font-style: italic; + } +.syntax a + { + margin: 0; + font-weight: normal; + } +/* END changes to dtue.css conventions */ +/* ----------------------------------- */ + +.syntax div + { + padding-left: 24px; + text-indent: -24px; + } + +.syntax .attribute + { + font-weight: normal; + } +div.footer + { + font-style: italic; + } +div.footer hr + { + color: #999999; + height: 1px; + } + +ol, ul + { + margin: .5em 0em 0em 4em; + } +li + { + margin-bottom: .5em; + } +ul p, ol p, dl p + { + margin-left: 0em; + } +ul p.label, ol p.label + { + margin-top: .5em; + } + +dl + { + margin-top: 0em; + padding-left: 1px; /* Prevents italic-letter descenders from being cut off */ + } +dd + { + margin-bottom: 0em; + margin-left: 1.5em; + } +dt + { + margin-top: .5em; + } + +a:link + { + color: #0000ff; + } +a:visited + { + color: #0000ff; + } +a:hover + { + color: #3366ff; + } + +img + { + border: none; + } +table.dtTABLE td img + { + border: none; + vertical-align: top; + margin-right: 2px; + } +/* Not in dtue.css. Used by NDoc's "ShowMissing..." options. */ +.missing + { + color: Red; + font-weight: bold; + } +div.Hierarchy +{ + margin: 0.5em,0.0em,0.5em,1.0em; +} \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/contents.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/contents.html new file mode 100644 index 0000000..7f998fe --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/contents.html @@ -0,0 +1,1145 @@ + + + Contents + + + + + + +
sync toc
+
+
+
+ + Overview +
+
+ + IrrKlang +
+ + + + +
+ + IFileFactory Interface +
+ +
+ + Methods +
+ +
+
+
+
+ + +
+ + ISoundEffectControl Class +
+ + + +
+ + Methods +
+ + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + ISoundEngine Class +
+ + + +
+ + Methods +
+ + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + +
+
+
+
+ + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/default.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/default.html new file mode 100644 index 0000000..40ea70e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/default.html @@ -0,0 +1,97 @@ + + + + + irrKlang.NET API Documentation + + + + + + +
+
+ + + + + +
IrrKlang.NET
+
+
+

IrrKlang.NET documentation 

+
+
+ +
+

Welcome to the irrKlang Sound Engine API documentation. Here you'll find + any information you'll need to develop applications with the irrKlang Sound + Engine. If you look for a tutorial on how to start, take a look at the homepage + of the irrKlang sound Engine at www.ambiera.com/irrklang + or into the SDK in the directory \examples.net.
+
+ The irrKlang library is intended to be an easy-to-use 3d and 2d sound engine, + so this documentation is an important part of it. If you have any questions + or suggestions, please take a look into the ambiera.com forum or just send + a mail.

+

Overview

+

This documentation is only about the .NET part of the engine, for languages + such as C#, VisualBasic.NET, Delphi.NET and similar. If you want to know how + to use the native engine using C++, please take a look into the other help + file, which is named irrKlang.chm. +
+
+ irrKlang .NET can run as stand alone .DLL and does not need the native irrKlang.DLL. + But please note that plugin .DLL files like the mp3 playback .DLL file ikpMP3.DLL + will still be needed if you want to use the features of those plugins (mp3 + playback in that case)

+
+

How to use irrKlang.NET

+

Take a look in the /examples.net folder of the SDK, there you'll find some + examples for C# and VisualBasic.NET which are using irrKlang.NET. Copy irrKlang.DLL + and all plugin .DLLs (ikp*.DLL) into the folder where your application is. + The following simple example shows how to use irrKlang to play back a music file: +

+
+
 
+
[C#]
+ using System;
+ using IrrKlang;
+
+ namespace HelloWorld
+ {
+   class Example
+   {
+    [STAThread]
+    static void Main(string[] + args)
+    {
+      // start up the engine
+      ISoundEngine engine = new + ISoundEngine();
+
+


+      // play a sound file
+      engine.play2D("../../media/ophelia.mp3");

+


+      // wait until user presses + ok to end application

+

     System.Windows.Forms.MessageBox.Show("Playing, + press ok.");

+

   } // end main()

+

  } // end class

+

} // end namespace

+
+
+
+
+ + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/index.html b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/index.html new file mode 100644 index 0000000..a45efa8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/index.html @@ -0,0 +1,21 @@ + + + + + irrKlang.net + + + + + + + <p>This page requires frames, but your browser does not support them.</p> + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intevent.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intevent.gif new file mode 100644 index 0000000..2d27ba5 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intevent.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intfield.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intfield.gif new file mode 100644 index 0000000..22f0bed Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intfield.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intmethod.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intmethod.gif new file mode 100644 index 0000000..f7dce34 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intmethod.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intoperator.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intoperator.gif new file mode 100644 index 0000000..865746a Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intoperator.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intproperty.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intproperty.gif new file mode 100644 index 0000000..0d0ab67 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/intproperty.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privevent.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privevent.gif new file mode 100644 index 0000000..01b0590 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privevent.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privfield.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privfield.gif new file mode 100644 index 0000000..ab93261 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privfield.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privmethod.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privmethod.gif new file mode 100644 index 0000000..c932525 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privmethod.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privoperator.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privoperator.gif new file mode 100644 index 0000000..c0e1c47 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privoperator.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privproperty.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privproperty.gif new file mode 100644 index 0000000..84a5986 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/privproperty.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protevent.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protevent.gif new file mode 100644 index 0000000..ac5512a Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protevent.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protfield.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protfield.gif new file mode 100644 index 0000000..342d505 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protfield.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protmethod.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protmethod.gif new file mode 100644 index 0000000..f83bbb8 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protmethod.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protoperator.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protoperator.gif new file mode 100644 index 0000000..e83f740 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protoperator.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protproperty.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protproperty.gif new file mode 100644 index 0000000..389e1c5 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/protproperty.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubevent.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubevent.gif new file mode 100644 index 0000000..f1821fc Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubevent.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubfield.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubfield.gif new file mode 100644 index 0000000..5c68c17 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubfield.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubmethod.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubmethod.gif new file mode 100644 index 0000000..b0c1181 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubmethod.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/puboperator.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/puboperator.gif new file mode 100644 index 0000000..c562964 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/puboperator.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubproperty.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubproperty.gif new file mode 100644 index 0000000..ceb4dc2 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/pubproperty.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/static.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/static.gif new file mode 100644 index 0000000..c342e27 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/static.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.css b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.css new file mode 100644 index 0000000..a4459d2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.css @@ -0,0 +1,60 @@ +.treeDiv +{ + font-family: verdana; + font-size: 70.5%; + font-weight: normal; + background-color: #f1f1f1; + color: Black; + overflow: auto; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; +} + +.treeNode +{ + white-space: nowrap; + text-indent: -14px; + margin: 5px 2px 5px 14px; +} +A.treeUnselected:hover, A.treeSelected:hover +{ + text-decoration: underline; + background-color: #cccccc; + border: solid 1px #999999; + text-decoration: none; +} +A.treeUnselected, A.treeSelected +{ + color: Black; + padding: 1px 3px 1px 3px; + text-decoration: none; +} +A.treeSelected +{ + background-color: #ffffff; + border: solid 1px #999999; +} +A.treeUnselected +{ + border: solid 1px f0f0f0; + background-color: transparent; +} +.treeSubnodes +{ + display: block; +} +.treeSubnodesHidden +{ + display: none; +} +.treeNode IMG.treeNoLinkImage, .treeNode IMG.treeLinkImage +{ + width: 9px; + height: 9px; + margin-left: 5px; + margin-right: 0px; +} +.treeNode IMG.treeLinkImage +{ + cursor: pointer; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.js b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.js new file mode 100644 index 0000000..8e30d2a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/tree.js @@ -0,0 +1,264 @@ +/* Copyright © 2002 Jean-Claude Manoli [jc@manoli.net] + * + * This software is provided 'as-is', without any express or implied warranty. + * In no event will the author(s) be held liable for any damages arising from + * the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * + * 2. Altered source versions must be plainly marked as such, and must not + * be misrepresented as being the original software. + * + * 3. This notice may not be removed or altered from any source distribution. + */ + +var treeSelected = null; //last treeNode clicked + +//pre-load tree nodes images +var imgPlus = new Image(); +imgPlus.src="treenodeplus.gif"; +var imgMinus = new Image(); +imgMinus.src="treenodeminus.gif"; +var imgDot = new Image(); +imgPlus.src="treenodedot.gif"; + + +function findNode(el) +{ +// Takes element and determines if it is a treeNode. +// If not, seeks a treeNode in its parents. + while (el != null) + { + if (el.className == "treeNode") + { + break; + } + else + { + el = el.parentNode; + } + } + return el; +} + + +function clickAnchor(el) +{ +// handles click on a TOC link +// + expandNode(el.parentNode); + selectNode(el.parentNode); + el.blur(); +} + + +function selectNode(el) +{ +// Un-selects currently selected node, if any, and selects the specified node +// + if (treeSelected != null) + { + setSubNodeClass(treeSelected, 'A', 'treeUnselected'); + } + setSubNodeClass(el, 'A', 'treeSelected'); + treeSelected = el; +} + + +function setSubNodeClass(el, nodeName, className) +{ +// Sets the specified class name on el's first child that is a nodeName element +// + var child; + for (var i=0; i < el.childNodes.length; i++) + { + child = el.childNodes[i]; + if (child.nodeName == nodeName) + { + child.className = className; + break; + } + } +} + + +function expandCollapse(el) +{ +// If source treeNode has child nodes, expand or collapse view of treeNode +// + if (el == null) + return; //Do nothing if it isn't a treeNode + + var child; + var imgEl; + for(var i=0; i < el.childNodes.length; i++) + { + child = el.childNodes[i]; + if (child.src) + { + imgEl = child; + } + else if (child.className == "treeSubnodesHidden") + { + child.className = "treeSubnodes"; + imgEl.src = "treenodeminus.gif"; + break; + } + else if (child.className == "treeSubnodes") + { + child.className = "treeSubnodesHidden"; + imgEl.src = "treenodeplus.gif"; + break; + } + } +} + + +function expandNode(el) +{ +// If source treeNode has child nodes, expand it +// + var child; + var imgEl; + for(var i=0; i < el.childNodes.length; i++) + { + child = el.childNodes[i]; + if (child.src) + { + imgEl = child; + } + if (child.className == "treeSubnodesHidden") + { + child.className = "treeSubnodes"; + imgEl.src = "treenodeminus.gif"; + break; + } + } +} + + +function syncTree(href) +{ +// Selects and scrolls into view the node that references the specified URL +// + var loc = new String(); + loc = href; + if (loc.substring(0, 7) == 'file://') + { + loc = 'file:///' + loc.substring(7, loc.length); + loc = loc.replace(/\\/g, '/'); + } + + var base = loc.substr(0, loc.lastIndexOf('/') + 1); + + var tocEl = findHref(document.getElementById('treeRoot'), loc, base); + if (tocEl != null) + { + selectAndShowNode(tocEl); + } +} + +function findHref(node, href, base) +{ +// find the element with the specified href value +// + var el; + var anchors = node.getElementsByTagName('A'); + for (var i = 0; i < anchors.length; i++) + { + el = anchors[i]; + var aref = new String(); + aref = el.getAttribute('href'); + + if ((aref.substring(0, 7) != 'http://') + && (aref.substring(0, 8) != 'https://') + && (aref.substring(0, 7) != 'file://')) + { + aref = base + aref; + } + + if (aref == href) + { + return el; + } + } + return null; +} + +function selectAndShowNode(node) +{ +// Selects and scrolls into view the specified node +// + var el = findNode(node); + if (el != null) + { + selectNode(el); + do + { + expandNode(el); + el = findNode(el.parentNode); + } while ((el != null)) + + //vertical scroll element into view + var windowTop; + var windowBottom; + var treeDiv = document.getElementById('tree'); + + var ua = window.navigator.userAgent.toLowerCase(); + if ((i = ua.indexOf('msie')) != -1) + { + windowTop = node.offsetTop - treeDiv.scrollTop; + windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight; + } + else if (ua.indexOf('gecko') != -1) + { + windowTop = node.offsetTop - treeDiv.offsetTop - treeDiv.scrollTop; + windowBottom = treeDiv.clientHeight - windowTop - node.offsetHeight; + } + else + { + return; + } + + if (windowTop < 0) + { + treeDiv.scrollTop += windowTop - 18; + return; + } + if (windowBottom < 0) + { + treeDiv.scrollTop -= windowBottom - 18; + return; + } + } +} + + +function resizeTree() +{ + //var treeDiv = document.getElementById('tree'); + //treeDiv.setAttribute('style', 'width: ' + document.body.offsetWidth + 'px; height: ' + (document.body.offsetHeight - 27) + 'px;'); + //treeDiv.style.width = document.documentElement.offsetWidth; + //treeDiv.style.height = document.documentElement.offsetHeight - 27; + + var treeDiv = document.getElementById('tree'); + if(!window.innerHeight) + { + // IE method + treeDiv.style.width = document.documentElement.offsetWidth; + treeDiv.style.height = document.documentElement.offsetHeight - 27; + } + else + { + // Netscape/Firefox method + treeDiv.style.width = window.innerWidth; + treeDiv.style.height = window.innerHeight - 27; + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodedot.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodedot.gif new file mode 100644 index 0000000..c135603 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodedot.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeminus.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeminus.gif new file mode 100644 index 0000000..1deac2f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeminus.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeplus.gif b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeplus.gif new file mode 100644 index 0000000..2d15c14 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/treenodeplus.gif differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/doc/readme.txt b/SQCSim2021/external/irrKlang-1.6.0/doc/readme.txt new file mode 100644 index 0000000..c5b6246 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/doc/readme.txt @@ -0,0 +1,2 @@ +This documentation is also available as html version at +http://www.ambiera.com/irrklang \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.csproj new file mode 100644 index 0000000..f300bb9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.csproj @@ -0,0 +1,104 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.01.HelloWorld + + + JScript + Grid + IE50 + false + Exe + CSharp._01.HelloWorld + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.sln new file mode 100644 index 0000000..fdeb7cd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.01.HelloWorld_vs2005", "CSharp.01.HelloWorld_vs2005.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.csproj new file mode 100644 index 0000000..7877089 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.csproj @@ -0,0 +1,179 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.01.HelloWorld + + + JScript + Grid + IE50 + false + Exe + CSharp._01.HelloWorld + OnBuildSuccess + + + + + + + v4.5 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + false + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.sln new file mode 100644 index 0000000..14ad82e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/CSharp.01.HelloWorld_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.01.HelloWorld_vs2010", "CSharp.01.HelloWorld_vs2010.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.Build.0 = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/Class1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/Class1.cs new file mode 100644 index 0000000..0f3435f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.01.HelloWorld/Class1.cs @@ -0,0 +1,35 @@ +using System; +using IrrKlang; + +namespace CSharp._01.HelloWorld +{ + class Class1 + { + [STAThread] + static void Main(string[] args) + { + // start the sound engine with default parameters + ISoundEngine engine = new ISoundEngine(); + + // To play a sound, we only to call play2D(). The second parameter + // tells the engine to play it looped. + + engine.Play2D("../../media/getout.ogg", true); + + Console.Out.WriteLine("\nHello World"); + + do + { + Console.Out.WriteLine("Press any key to play some sound, press 'q' to quit."); + + // play a single sound + engine.Play2D("../../media/bell.wav"); + } + while(_getch() != 'q'); + } + + // some simple function for reading keys from the console + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _getch(); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.csproj new file mode 100644 index 0000000..2d2f9da --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.csproj @@ -0,0 +1,104 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {49444AE7-02F6-40C2-9348-D2F1A448CC3B} + Debug + AnyCPU + App.ico + + + CSharp.02.3DSound + + + JScript + Grid + IE50 + false + Exe + CSharp._02._3DSound + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.sln new file mode 100644 index 0000000..b9ebe64 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.02.3DSound_vs2005", "CSharp.02.3DSound_vs2005.csproj", "{49444AE7-02F6-40C2-9348-D2F1A448CC3B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49444AE7-02F6-40C2-9348-D2F1A448CC3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49444AE7-02F6-40C2-9348-D2F1A448CC3B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49444AE7-02F6-40C2-9348-D2F1A448CC3B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49444AE7-02F6-40C2-9348-D2F1A448CC3B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.csproj new file mode 100644 index 0000000..25165e3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.csproj @@ -0,0 +1,179 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.02.3DSound + + + JScript + Grid + IE50 + false + Exe + CSharp._02.3DSound + OnBuildSuccess + + + + + + + v4.5 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + false + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.sln new file mode 100644 index 0000000..a9a48c3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/CSharp.02.3DSound_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.02.3DSound_vs2010", "CSharp.02.3DSound_vs2010.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.Build.0 = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/Class1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/Class1.cs new file mode 100644 index 0000000..ff251f7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.02.3DSound/Class1.cs @@ -0,0 +1,120 @@ +using System; +using IrrKlang; + +namespace CSharp._02._3DSound +{ + class Class1 + { + [STAThread] + static void Main(string[] args) + { + // start the sound engine with default parameters + ISoundEngine engine = new ISoundEngine(); + + // Now play some sound stream as music in 3d space, looped. + // We play it at position (0,0,0) in 3d space + + ISound music = engine.Play3D("../../media/ophelia.mp3", + 0,0,0, true); + + // the following step isn't necessary, but to adjust the distance where + // the 3D sound can be heard, we set some nicer minimum distance + // (the default min distance is 1, for a small object). The minimum + // distance simply is the distance in which the sound gets played + // at maximum volume. + + if (music != null) + music.MinDistance = 5.0f; + + // Print some help text and start the display loop + + Console.Out.Write("\nPlaying streamed sound in 3D."); + Console.Out.Write("\nPress ESCAPE to quit, any other key to play sound at random position.\n\n"); + + Console.Out.Write("+ = Listener position\n"); + Console.Out.Write("o = Playing sound\n"); + + Random rand = new Random(); // we need random 3d positions + const float radius = 5; + float posOnCircle = 0; + + while(true) // endless loop until user exits + { + // Each step we calculate the position of the 3D music. + // For this example, we let the + // music position rotate on a circle: + + posOnCircle += 0.04f; + Vector3D pos3d = new Vector3D(radius * (float)Math.Cos(posOnCircle), 0, + radius * (float)Math.Sin(posOnCircle * 0.5f)); + + // After we know the positions, we need to let irrKlang know about the + // listener position (always position (0,0,0), facing forward in this example) + // and let irrKlang know about our calculated 3D music position + + engine.SetListenerPosition(0,0,0, 0,0,1); + + if (music != null) + music.Position = pos3d; + + // Now print the position of the sound in a nice way to the console + // and also print the play position + + string stringForDisplay = " + "; + int charpos = (int)((pos3d.X + radius) / radius * 10.0f); + if (charpos >= 0 && charpos < 20) + { + stringForDisplay = stringForDisplay.Remove(charpos, 1); + stringForDisplay = stringForDisplay.Insert(charpos, "o"); + } + + uint playPos = 0; + if (music != null) + playPos = music.PlayPosition; + + string output = String.Format("\rx:({0}) 3dpos: {1:f} {2:f} {3:f}, playpos:{4}:{5:00} ", + stringForDisplay, pos3d.X, pos3d.Y, pos3d.Z, + playPos/60000, (playPos%60000)/1000); + + Console.Write(output); + + System.Threading.Thread.Sleep(100); + + // Handle user input: Every time the user presses a key in the console, + // play a random sound or exit the application if he pressed ESCAPE. + + if (_kbhit()!=0) + { + int key = _getch(); + + if (key == 27) + break; // user pressed ESCAPE key + else + { + // Play random sound at some random position. + + Vector3D pos = new Vector3D(((float)rand.NextDouble() % radius*2.0f) - radius, 0, 0); + + string filename; + + if (rand.Next()%2 != 0) + filename = "../../media/bell.wav"; + else + filename = "../../media/explosion.wav"; + + engine.Play3D(filename, pos.X, pos.Y, pos.Z); + + Console.Write("\nplaying {0} at {1:f} {2:f} {3:f}\n", + filename, pos.X, pos.Y, pos.Z); + } + } + } + } + + // simple functions for reading keys from the console + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _kbhit(); + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _getch(); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.csproj new file mode 100644 index 0000000..9541fca --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.csproj @@ -0,0 +1,104 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {49444AE7-02F6-40C2-9348-D2F67448CC3B} + Debug + AnyCPU + App.ico + + + CSharp.03.MemoryPlayback + + + JScript + Grid + IE50 + false + Exe + CSharp._03._MemoryPlayback + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.sln new file mode 100644 index 0000000..7ae091a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.03.MemoryPlayback_vs2005", "CSharp.03.MemoryPlayback_vs2005.csproj", "{49444AE7-02F6-40C2-9348-D2F67448CC3B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49444AE7-02F6-40C2-9348-D2F67448CC3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49444AE7-02F6-40C2-9348-D2F67448CC3B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49444AE7-02F6-40C2-9348-D2F67448CC3B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49444AE7-02F6-40C2-9348-D2F67448CC3B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.csproj new file mode 100644 index 0000000..f17d2f5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.csproj @@ -0,0 +1,179 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.03.MemoryPlayback + + + JScript + Grid + IE50 + false + Exe + CSharp._03.MemoryPlayback + OnBuildSuccess + + + + + + + v4.5 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + false + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.sln new file mode 100644 index 0000000..ec57902 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/CSharp.03.MemoryPlayback_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.03.MemoryPlayback_vs2010", "CSharp.03.MemoryPlayback_vs2010.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.Build.0 = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/Class1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/Class1.cs new file mode 100644 index 0000000..3372944 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.03.MemoryPlayback/Class1.cs @@ -0,0 +1,276 @@ +// This example will show how to play sounds directly from memory using irrKlang. +// This is useful for embedding sounds directly in executables as well for +// making irrKlang work together with different APIs like advanced decoders or +// middleware. + +using System; +using IrrKlang; + +namespace CSharp._03._MemoryPlayback +{ + class Class1 + { + // the following huge array simply represents the plain sound data we + // want to play back. It is just the content of a .wav file from the + // game 'Hell Troopers'. Usually this sound is somewhere provided by + // some external software, but to keep it simple we just use this array as memory. + + // test.wav, converted to this array by bin2h tool, available at bin2h.irrlicht3d.org + private static byte[] SoundDataArray = { + 0x52,0x49,0x46,0x46,0x54,0xf,0x0,0x0,0x57,0x41,0x56,0x45,0x66,0x6d,0x74,0x20,0x12, + 0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x40,0x1f,0x0,0x0,0x40,0x1f,0x0,0x0,0x1,0x0,0x8, + 0x0,0x0,0x0,0x66,0x61,0x63,0x74,0x4,0x0,0x0,0x0,0x22,0xf,0x0,0x0,0x64,0x61,0x74, + 0x61,0x22,0xf,0x0,0x0,0x7f,0x80,0x7f,0x7f,0x80,0x80,0x80,0x80,0x80,0x7f,0x80,0x80,0x81, + 0x80,0x80,0x7e,0x7f,0x7f,0x7f,0x7f,0x80,0x7f,0x81,0x80,0x80,0x80,0x80,0x7e,0x7e,0x7e,0x7e, + 0x7e,0x7e,0x80,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7e,0x7e,0x7e,0x7e,0x7e,0x7f,0x80,0x80,0x7f, + 0x80,0x7f,0x80,0x81,0x81,0x80,0x81,0x80,0x80,0x80,0x80,0x80,0x80,0x81,0x81,0x81,0x83,0x84, + 0x85,0x86,0x87,0x86,0x87,0x87,0x85,0x83,0x71,0x5a,0x4f,0x6e,0x6d,0x81,0x8a,0x8c,0x8f,0x91, + 0x97,0x84,0x76,0x6e,0x5f,0x68,0x77,0x83,0x85,0x89,0x90,0x94,0x95,0x8f,0x7b,0x70,0x6b,0x72, + 0x76,0x80,0x83,0x84,0x8c,0x8f,0x90,0x87,0x7f,0x72,0x6f,0x70,0x77,0x7b,0x7d,0x82,0x84,0x85, + 0x87,0x86,0x7e,0x79,0x76,0x77,0x79,0x7e,0x80,0x7f,0x85,0x87,0x89,0x85,0x80,0x7c,0x7b,0x7b, + 0x7f,0x7f,0x83,0x84,0x88,0x8a,0x88,0x85,0x7d,0x7c,0x7d,0x80,0x83,0x8b,0x94,0x9d,0xa6,0x8d, + 0x31,0x50,0x52,0x73,0x92,0x7e,0x8f,0x81,0xbb,0xb8,0x9f,0x87,0x5b,0x45,0x4c,0x5f,0x80,0x7c, + 0x8a,0x8f,0x97,0xa7,0xa8,0x95,0x6a,0x5b,0x57,0x63,0x78,0x83,0x84,0x87,0x95,0x9a,0x9a,0x92, + 0x81,0x60,0x5f,0x65,0x75,0x7f,0x84,0x83,0x82,0x8e,0x91,0x8c,0x7b,0x73,0x6a,0x70,0x7b,0x86, + 0x88,0x87,0x88,0x87,0x89,0x87,0x80,0x75,0x74,0x75,0x7e,0x84,0x86,0x84,0x84,0x84,0x83,0x83, + 0x7c,0x78,0x7a,0x7e,0x86,0x90,0x93,0x94,0x93,0x9b,0x87,0x5e,0x3c,0x3b,0x3e,0x49,0x98,0x99, + 0x9d,0x9d,0xab,0xa0,0x97,0x8e,0x51,0x3e,0x49,0x58,0x6f,0x99,0xa7,0x9d,0xa0,0xa2,0x95,0x8a, + 0x80,0x5a,0x50,0x5d,0x70,0x7e,0x9b,0x9d,0x94,0x8a,0x86,0x84,0x7b,0x71,0x5f,0x5d,0x69,0x88, + 0x96,0x99,0x91,0x88,0x7e,0x80,0x81,0x80,0x80,0x82,0x87,0x8f,0x9d,0xa2,0xa7,0xad,0xae,0x31, + 0x31,0x47,0x31,0x78,0x87,0xbc,0xab,0xba,0xc1,0xa3,0xb2,0x9d,0x31,0x39,0x31,0x52,0x5f,0x81, + 0xb2,0xa4,0xb7,0xab,0x9a,0x9b,0x80,0x6a,0x37,0x3e,0x51,0x6b,0x98,0xb0,0xad,0xaa,0x95,0x8f, + 0x7c,0x7e,0x6c,0x53,0x53,0x64,0x77,0x91,0xa4,0xa1,0x97,0x7d,0x70,0x70,0x73,0x71,0x76,0x77, + 0x79,0x8b,0x94,0x97,0x90,0x86,0x74,0x6d,0x70,0x79,0x7d,0x86,0x87,0x89,0x92,0x98,0x9c,0x9d, + 0xa0,0xa7,0xb3,0xa2,0x31,0x50,0x31,0x57,0x7f,0xb7,0xc0,0xa1,0xc2,0x9f,0xb3,0x65,0x4a,0x66, + 0x31,0x33,0x31,0xa0,0xa1,0xc6,0xc0,0xb9,0xa0,0xa5,0x7c,0x71,0x52,0x46,0x31,0x42,0x83,0x8e, + 0xc6,0xb7,0xa9,0x78,0x70,0x6d,0x61,0x70,0x6e,0x6d,0x7b,0x82,0x8e,0x96,0x9f,0x93,0x7c,0x7e, + 0x79,0x90,0xa2,0xaa,0xb8,0xbd,0x97,0x36,0x31,0x31,0x31,0x47,0x6b,0xa0,0xaa,0xc6,0xbf,0xad, + 0xc1,0xb0,0x6d,0x6b,0x31,0x31,0x31,0x6e,0x7e,0xc0,0xc5,0xbc,0xbd,0xaf,0x91,0x7e,0x6e,0x45, + 0x36,0x3c,0x54,0x65,0x8f,0xb5,0xbe,0xae,0x97,0x78,0x5a,0x5b,0x5a,0x6e,0x79,0x7e,0x88,0x93, + 0x9f,0xa0,0xa0,0x89,0x79,0x77,0x7b,0x84,0xb0,0xbe,0xc2,0xa0,0x43,0x45,0x31,0x31,0x44,0x69, + 0xa5,0xaf,0xbd,0x9f,0xa5,0xc6,0x89,0x9d,0x42,0x31,0x31,0x31,0x47,0x64,0xba,0xc7,0xbe,0xc1, + 0xa4,0x96,0x8a,0x84,0x63,0x55,0x42,0x36,0x40,0x6b,0x7d,0xae,0xb2,0xb2,0xa7,0x9d,0x95,0x7d, + 0x7b,0x60,0x5f,0x62,0x6b,0x80,0x99,0xc4,0xc3,0xc3,0xb5,0x7b,0x41,0x31,0x31,0x31,0x39,0x84, + 0xa4,0xbb,0xbd,0xbd,0xc6,0xb0,0xaa,0x6f,0x45,0x31,0x31,0x31,0x31,0x86,0xaa,0xc4,0xc6,0xc3, + 0xb6,0xa8,0x85,0x76,0x64,0x3e,0x31,0x31,0x37,0x52,0xa3,0xc3,0xc6,0xc5,0xc1,0xb5,0x85,0x76, + 0x65,0x62,0x65,0x79,0x8b,0xa3,0xb3,0x89,0x87,0x3a,0x31,0x37,0x45,0x60,0x87,0x99,0x92,0x9d, + 0xb0,0x8c,0xa3,0x87,0x7c,0x73,0x4f,0x45,0x41,0x65,0x75,0x9f,0xb2,0xa7,0xaa,0xa0,0x94,0x83, + 0x7b,0x67,0x59,0x5a,0x4f,0x57,0x69,0x91,0xa2,0xbc,0xba,0xaf,0x9d,0x93,0x8a,0x92,0x9d,0xb3, + 0x7f,0x5a,0x31,0x31,0x31,0x31,0x60,0xb2,0xc2,0xc4,0xb6,0xbc,0x7b,0x89,0x92,0x6b,0x6a,0x58, + 0x33,0x31,0x4d,0x6e,0x84,0xc9,0xc4,0xc4,0xb2,0x98,0x73,0x65,0x5b,0x58,0x56,0x62,0x58,0x66, + 0x88,0x9a,0xb8,0xc3,0xc5,0xbe,0xad,0xac,0xa6,0x84,0x6a,0x31,0x31,0x31,0x31,0x31,0x83,0xab, + 0xc7,0xc3,0xc6,0xb8,0xa9,0x9b,0x69,0x66,0x55,0x38,0x31,0x31,0x3c,0x4f,0xa2,0xb8,0xc5,0xc3, + 0xc5,0xa3,0x87,0x74,0x52,0x53,0x58,0x57,0x5f,0x70,0x7b,0x8f,0xb6,0xc2,0xc4,0xc4,0xc3,0x99, + 0x83,0x5a,0x31,0x31,0x31,0x31,0x4a,0x9a,0xb9,0xb8,0xc8,0xc1,0xc3,0xc0,0xb1,0x90,0x6a,0x48, + 0x31,0x31,0x31,0x33,0x61,0x9a,0xb8,0xc6,0xc6,0xc4,0xb0,0xa1,0x97,0x7c,0x6e,0x63,0x54,0x53, + 0x66,0x7b,0x94,0xc5,0xc6,0xc4,0x97,0x4f,0x31,0x31,0x31,0x31,0x5f,0x7a,0x8a,0xa0,0xaa,0x9d, + 0xaf,0xb5,0xb6,0xba,0x8f,0x73,0x52,0x31,0x31,0x3f,0x57,0x69,0x9c,0xa9,0xab,0xac,0xa7,0xa6, + 0xa4,0xa5,0x94,0x8a,0x83,0x6e,0x71,0x8a,0xa5,0xaf,0xad,0x99,0x72,0x31,0x31,0x31,0x45,0x69, + 0xaa,0xbf,0xc6,0xb3,0x9c,0x85,0x7a,0x74,0x8a,0x86,0x80,0x6e,0x58,0x41,0x41,0x4c,0x73,0x8e, + 0xad,0xb0,0xaf,0x94,0x89,0x84,0x81,0x89,0x91,0x95,0x94,0x8b,0x8d,0x99,0xa7,0xb0,0x9a,0x88, + 0x68,0x31,0x31,0x31,0x38,0x55,0x94,0xaa,0xb7,0xb4,0xa8,0x9a,0x8a,0x8a,0x8c,0x8c,0x87,0x6f, + 0x5e,0x3f,0x3c,0x3e,0x5b,0x70,0x88,0xa8,0xb0,0xb1,0xaa,0xa4,0x99,0x97,0x95,0x9b,0xa0,0xac, + 0xac,0xac,0x87,0x6e,0x57,0x31,0x31,0x31,0x3a,0x55,0x8a,0xa0,0xab,0xb5,0xb1,0x9f,0x9c,0x95, + 0x8d,0x87,0x78,0x6b,0x5f,0x47,0x42,0x44,0x55,0x64,0x87,0x95,0xa2,0xb0,0xb1,0xae,0xa5,0xa1, + 0x9a,0x9b,0x9f,0xa8,0xad,0xaf,0x9e,0x85,0x54,0x39,0x31,0x31,0x31,0x40,0x75,0x92,0xaf,0xb3, + 0xb3,0x9d,0x96,0x8e,0x87,0x86,0x81,0x7b,0x72,0x5d,0x50,0x47,0x48,0x52,0x6f,0x80,0x92,0xa6, + 0xad,0xa9,0xa5,0x9f,0x97,0x97,0x9a,0xa4,0xa8,0xb0,0xaa,0x9f,0x71,0x5c,0x40,0x31,0x31,0x36, + 0x4d,0x66,0x8f,0x95,0x9f,0x98,0x8f,0x8f,0x8a,0x8f,0x90,0x94,0x86,0x7b,0x75,0x57,0x54,0x4e, + 0x57,0x5b,0x7e,0x8a,0x9a,0xad,0xb1,0xaf,0xa7,0xa3,0x9a,0x9a,0x9b,0x9d,0x9f,0x9f,0x84,0x77, + 0x4f,0x41,0x33,0x31,0x31,0x46,0x63,0x7d,0x94,0xa2,0x98,0x9f,0x92,0x8a,0x84,0x84,0x81,0x82, + 0x83,0x7e,0x7c,0x6e,0x6a,0x65,0x6e,0x75,0x86,0xa3,0xb0,0xb9,0xb5,0xac,0x91,0x85,0x7b,0x75, + 0x77,0x84,0x8c,0x8b,0x83,0x73,0x66,0x4e,0x4a,0x4f,0x5b,0x66,0x83,0x8b,0x92,0x8e,0x88,0x79, + 0x76,0x75,0x7e,0x86,0x91,0x93,0x92,0x86,0x7e,0x76,0x6b,0x6b,0x76,0x80,0x89,0x9a,0x9d,0x9b, + 0x90,0x86,0x75,0x71,0x6e,0x74,0x78,0x80,0x8c,0x91,0x8f,0x8b,0x84,0x79,0x75,0x72,0x75,0x78, + 0x81,0x84,0x87,0x84,0x82,0x7a,0x78,0x76,0x78,0x7b,0x7e,0x84,0x86,0x86,0x83,0x81,0x7a,0x79, + 0x78,0x7a,0x7d,0x83,0x86,0x88,0x88,0x86,0x83,0x7e,0x7c,0x7a,0x7c,0x7e,0x82,0x83,0x84,0x84, + 0x83,0x80,0x7e,0x7d,0x7d,0x7d,0x7f,0x81,0x80,0x7f,0x7e,0x7c,0x79,0x78,0x79,0x7c,0x7e,0x7f, + 0x81,0x80,0x80,0x7e,0x7d,0x7d,0x7e,0x7e,0x81,0x82,0x82,0x82,0x81,0x80,0x7d,0x7d,0x7e,0x7f, + 0x81,0x83,0x83,0x84,0x83,0x81,0x7f,0x7e,0x7d,0x7e,0x7e,0x80,0x81,0x81,0x80,0x7e,0x7e,0x7e, + 0x7e,0x7e,0x7f,0x80,0x81,0x80,0x80,0x7e,0x7f,0x7e,0x80,0x7f,0x81,0x82,0x82,0x82,0x81,0x80, + 0x7e,0x7d,0x7c,0x7d,0x80,0x81,0x82,0x82,0x81,0x81,0x80,0x80,0x80,0x81,0x80,0x80,0x7f,0x7e, + 0x7d,0x7d,0x7c,0x7c,0x7e,0x7f,0x80,0x81,0x81,0x81,0x80,0x80,0x80,0x80,0x80,0x81,0x81,0x81, + 0x81,0x80,0x7e,0x7e,0x7d,0x7e,0x7e,0x7e,0x7f,0x7f,0x80,0x80,0x80,0x80,0x81,0x80,0x81,0x80, + 0x80,0x80,0x80,0x7f,0x7f,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x7f,0x7f,0x80,0x7f,0x80,0x80, + 0x80,0x80,0x81,0x81,0x81,0x80,0x7e,0x7e,0x7e,0x7c,0x7c,0x7d,0x7e,0x7e,0x80,0x80,0x80,0x80, + 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x7f,0x7f,0x7f, + 0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x81,0x80,0x80,0x80,0x7e,0x7e,0x7d,0x7e,0x7e, + 0x7e,0x7f,0x7f,0x7e,0x7e,0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x7f,0x80,0x7f, + 0x7e,0x7f,0x80,0x7f,0x7f,0x7f,0x7f,0x7f,0x80,0x7f,0x80,0x7f,0x80,0x80,0x81,0x80,0x80,0x7f, + 0x80,0x7d,0x7e,0x7e,0x7e,0x7e,0x7f,0x80,0x80,0x80,0x80,0x80,0x81,0x80,0x80,0x80,0x7f,0x7f, + 0x7f,0x7f,0x7e,0x7f,0x7f,0x80,0x80,0x80,0x80,0x7f,0x7f,0x7e,0x7f,0x80,0x7f,0x80,0x80,0x80, + 0x80,0x80,0x80,0x80,0x7e,0x7e,0x7e,0x7e,0x7e,0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x7f,0x7f, + 0x7f,0x7f,0x7e,0x80,0x7f,0x80,0x80,0x80,0x7f,0x80,0x7f,0x7f,0x80,0x7f,0x80,0x80,0x80,0x80, + 0x80,0x7f,0x7f,0x7f,0x7f,0x7f,0x80,0x80,0x80,0x7f,0x7f,0x7f,0x7f,0x7f,0x80,0x7f,0x80,0x80, + 0x80,0x80,0x80,0x80,0x80,0x80,0x7f,0x7f,0x7e,0x80,0x7f,0x80,0x80,0x80,0x80,0x7f,0x7e,0x7f, + 0x7f,0x80,0x80,0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x7f,0x80,0x80,0x7f,0x7e,0x7f,0x7f,0x7f, + 0x7f,0x7f,0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x7f,0x7e,0x7e,0x7e,0x7f,0x7e,0x7e, + 0x7f,0x80,0x7f,0x7f,0x7e,0x7f,0x7f,0x80,0x80,0x7f,0x7f,0x7f,0x80,0x80,0x80,0x7f,0x80,0x80, + 0x7f,0x7f,0x7f,0x7e,0x7e,0x80,0x80,0x80,0x80,0x80,0x81,0x80,0x80,0x7f,0x7f,0x7e,0x7e,0x7e, + 0x7e,0x80,0x78,0x5f,0x94,0x8a,0x90,0x7c,0x78,0x5b,0xa7,0xaa,0x89,0x68,0x68,0x7f,0xa1,0x95, + 0x7b,0x61,0x43,0x97,0xaa,0xae,0x76,0x4e,0x5b,0xac,0x97,0x76,0x4f,0x6e,0x88,0x99,0x90,0x88, + 0x31,0x7a,0xbb,0xac,0x86,0x6e,0x6e,0xa9,0x98,0x7c,0x45,0x52,0x71,0xab,0x9e,0x8a,0x7d,0x86, + 0x90,0x97,0x8a,0x5f,0x51,0x57,0x8c,0x80,0x83,0x7c,0x8f,0x94,0x99,0x8e,0x85,0x80,0x87,0x85, + 0x81,0x7c,0x87,0x87,0x64,0x6a,0x6d,0x75,0x78,0x74,0x87,0x7c,0x92,0x89,0x96,0x89,0x91,0x86, + 0x87,0x71,0x7b,0x80,0x67,0x76,0x66,0x6d,0x75,0x7d,0x79,0x83,0x8f,0x93,0x9c,0x8d,0x82,0x7c, + 0x7b,0x7f,0x73,0x73,0x79,0x70,0x80,0x7a,0x8c,0x7a,0x84,0x83,0x83,0x84,0x83,0x8c,0x8b,0x79, + 0x80,0x89,0x6b,0x79,0x7c,0x81,0x7d,0x81,0x86,0x8f,0x84,0x87,0x91,0x94,0x89,0x7e,0x88,0x91, + 0x86,0x87,0x7e,0x81,0x80,0x86,0x78,0x7b,0x81,0x7a,0x70,0x78,0x75,0x6d,0x66,0x6a,0x77,0x78, + 0x79,0x7d,0x86,0x8a,0x8e,0x91,0x97,0x91,0x94,0x9d,0x97,0x96,0x9c,0x99,0xa2,0xa4,0xb0,0x6c, + 0x47,0x80,0x5d,0x50,0x38,0x62,0x58,0x56,0x6b,0x7b,0x7c,0x7e,0x88,0x75,0x79,0x6a,0x59,0x52, + 0x70,0x6d,0x68,0x7f,0xac,0xaf,0xa4,0xc0,0xc3,0xbd,0xb3,0xbd,0xc3,0xbc,0x73,0x67,0x7b,0x52, + 0x31,0x31,0x5a,0x4d,0x60,0x87,0x95,0x9e,0xa1,0x99,0x86,0x81,0x76,0x47,0x3e,0x4b,0x3e,0x4a, + 0x6d,0x87,0x9a,0xc8,0xc1,0xbb,0xc3,0xc3,0xbf,0xbe,0xc3,0x7e,0x31,0x89,0x38,0x31,0x31,0x51, + 0x70,0x77,0xa7,0xad,0xb7,0xb5,0xb6,0x7c,0x71,0x77,0x5a,0x31,0x42,0x46,0x31,0x4a,0x71,0x99, + 0x9f,0xc9,0xc1,0xc7,0xc3,0xc5,0xbe,0xb7,0xc4,0x31,0x31,0x45,0x31,0x31,0x31,0x7e,0x84,0xb3, + 0xc8,0xbc,0xc1,0xc0,0x93,0x60,0x59,0x4a,0x31,0x31,0x3a,0x47,0x45,0x71,0x8f,0xb9,0xba,0xc2, + 0xc3,0xc5,0xc3,0xc3,0xb7,0xbe,0xbf,0x65,0x31,0x68,0x31,0x31,0x31,0xb3,0x8f,0xb5,0xba,0xc5, + 0xbf,0xc1,0x8e,0x34,0x52,0x31,0x31,0x31,0x5f,0x5a,0x6a,0x97,0xad,0xc1,0xc6,0xc3,0xc4,0xc3, + 0xc3,0xb0,0xb0,0xc0,0x75,0x31,0x6a,0x49,0x31,0x31,0x73,0x95,0xb5,0xcd,0xbf,0xbb,0xbe,0x8e, + 0x3f,0x47,0x3f,0x31,0x31,0x3f,0x60,0x7b,0x8c,0xaa,0xb9,0xbe,0xbe,0xc2,0xc3,0xbf,0xae,0xad, + 0xbf,0x73,0x31,0x5b,0x33,0x31,0x31,0x7a,0x9d,0xc0,0xc9,0xba,0xba,0xb6,0x79,0x31,0x3f,0x37, + 0x31,0x31,0x52,0x76,0x8c,0xac,0xa7,0xb2,0xbb,0xad,0xb1,0xc2,0xc0,0xbd,0xab,0xc3,0x5f,0x31, + 0x31,0x39,0x31,0x31,0x8e,0xb2,0xc0,0xc9,0xba,0xb5,0xc2,0xb3,0x31,0x31,0x31,0x31,0x31,0x60, + 0x78,0x82,0xab,0xac,0xba,0xb9,0xab,0xb8,0xc5,0xbe,0xbb,0xad,0xc5,0xa7,0x31,0x41,0x59,0x31, + 0x31,0x4b,0xa5,0xa8,0xcc,0xbc,0xb6,0xc1,0x95,0x3c,0x31,0x39,0x31,0x31,0x4c,0x85,0x8c,0xad, + 0xa5,0xad,0xaf,0xab,0x9c,0xc3,0xc0,0xbf,0xaf,0xc1,0x5d,0x31,0x31,0x31,0x31,0x31,0x8e,0xaa, + 0xc6,0xc6,0xba,0xb3,0xc6,0xab,0x31,0x31,0x31,0x31,0x31,0x65,0x81,0x90,0xba,0xa8,0xb2,0xb4, + 0xa1,0x9c,0xb6,0xc3,0xb3,0xbb,0xc1,0xa1,0x31,0x5e,0x54,0x31,0x31,0x53,0x9b,0xaa,0xcc,0xb6, + 0xb0,0xc0,0x86,0x35,0x39,0x38,0x31,0x35,0x56,0x80,0x99,0xb2,0x9f,0xa8,0xae,0xa5,0x9d,0xc6, + 0xc0,0xc2,0xb1,0xc3,0x9d,0x31,0x52,0x31,0x31,0x31,0xa4,0x9d,0xb3,0xbe,0xbe,0xbf,0xc2,0x85, + 0x31,0x3a,0x31,0x31,0x33,0x73,0x87,0x9d,0xaf,0xa4,0xb5,0xa5,0x9f,0xb3,0xc2,0xbf,0xb2,0xbe, + 0xa3,0x31,0x31,0x5f,0x31,0x31,0x51,0xa2,0xaa,0xcb,0xbe,0xb3,0xc1,0xc3,0x35,0x31,0x3e,0x31, + 0x31,0x4d,0x72,0x9b,0xad,0xa9,0xb8,0xc1,0xac,0xa6,0xbe,0xbd,0xb8,0xbb,0xb8,0x6b,0x31,0x6d, + 0x31,0x31,0x31,0x7f,0x9b,0xc0,0xc8,0xc3,0xba,0xb1,0x61,0x31,0x3f,0x31,0x31,0x34,0x63,0x8d, + 0xaa,0xb5,0xb0,0xbd,0xa5,0x99,0xa4,0xc5,0xb7,0xb2,0xc3,0xa1,0x31,0x5f,0x64,0x31,0x31,0x54, + 0x8f,0xa5,0xbf,0xc2,0xbc,0xc3,0x8f,0x3a,0x44,0x3a,0x31,0x31,0x4f,0x81,0x9b,0xad,0xae,0xbe, + 0xb6,0xa9,0x9b,0xb9,0xb1,0xa5,0xc8,0xb5,0x31,0x4c,0x9d,0x31,0x31,0x99,0x94,0x84,0xc5,0xb8, + 0xbb,0xc7,0xa5,0x31,0x4d,0x54,0x31,0x31,0x40,0x78,0x8f,0xa4,0xb2,0xc1,0xbd,0xac,0xa5,0xb6, + 0xa7,0xaf,0xc5,0xb8,0x31,0x62,0xb1,0x31,0x31,0xb2,0x90,0x76,0xc1,0xb3,0xb9,0xca,0x9d,0x31, + 0x5d,0x5f,0x31,0x31,0x70,0x76,0x8c,0xaa,0xac,0xbd,0xbb,0xaa,0xac,0xc3,0xaa,0xab,0xc7,0xad, + 0x31,0x83,0x31,0x31,0x31,0xbd,0x79,0x83,0xba,0xb3,0xc0,0xc6,0x87,0x31,0x6c,0x52,0x31,0x31, + 0x73,0x77,0x91,0xaf,0xb2,0xc5,0xa7,0xa3,0xb1,0xa9,0x9e,0xba,0x91,0x31,0xa8,0x75,0x31,0x31, + 0x81,0xb9,0xa4,0xcd,0xb9,0xb2,0xc6,0x6c,0x31,0x6c,0x38,0x31,0x33,0x62,0x74,0x96,0xa8,0xba, + 0xc5,0xc1,0xa4,0xa7,0xb2,0xa1,0x94,0xc7,0x89,0x31,0xab,0x6b,0x31,0x31,0x8f,0x68,0xac,0xcd, + 0xb6,0xaf,0xc8,0x66,0x31,0x6d,0x36,0x31,0x3c,0x65,0x72,0x94,0xab,0xb8,0xc5,0xbd,0xa8,0xb0, + 0xa8,0x8f,0x8a,0xc5,0x91,0x31,0xa5,0x7f,0x31,0x31,0x86,0x71,0xa8,0xcd,0xad,0xad,0xb7,0x69, + 0x31,0x75,0x3f,0x31,0x3d,0x65,0x7a,0x8d,0xa8,0xb6,0xc5,0xbf,0xa5,0xaf,0xaa,0x97,0x90,0xc5, + 0x8b,0x31,0xab,0x6d,0x31,0x31,0x93,0x69,0xac,0xb1,0xb3,0xb1,0xb5,0x64,0x31,0x70,0x39,0x31, + 0x3f,0x6a,0x7b,0x8c,0xa2,0xbd,0xc4,0xa7,0xa1,0xab,0xa9,0x91,0x8c,0xc3,0xa8,0x31,0x90,0x9e, + 0x31,0x31,0xbe,0x77,0x8b,0xb6,0xaf,0xb2,0xc0,0x81,0x42,0x77,0x4d,0x31,0x31,0x5d,0x79,0x87, + 0xa8,0xbe,0xc3,0xaa,0x9f,0xad,0xa7,0x97,0x91,0xae,0xc8,0x31,0x31,0xb1,0x31,0x31,0x80,0xc2, + 0x62,0xcd,0xac,0xaf,0xc5,0xb8,0x31,0x5c,0x83,0x31,0x31,0x6f,0x70,0x6e,0x8a,0xa4,0xc3,0xb8, + 0xa3,0xae,0xb7,0xab,0x8a,0x9c,0xb3,0xa2,0x31,0xa2,0xa3,0x31,0x31,0x65,0xc6,0x81,0xcd,0xaf, + 0xb8,0xc1,0x7b,0x36,0x5d,0x4a,0x31,0x31,0x64,0x71,0x80,0x8e,0xb8,0xc5,0xb8,0x8f,0xa4,0xb9, + 0x87,0x8a,0xa6,0xb7,0xc7,0x31,0x31,0xa8,0x31,0x31,0x6b,0xc3,0x63,0xc8,0xb6,0xb4,0xc1,0xba, + 0x49,0x75,0x95,0x31,0x31,0x37,0x69,0x5b,0x8a,0x93,0xae,0xb0,0x92,0xad,0xb2,0xa6,0x86,0x9d, + 0xa7,0xbb,0xc4,0x31,0x31,0xc6,0x31,0x31,0x31,0xb3,0x3f,0xc8,0xb5,0xb8,0xc1,0xb3,0x76,0x8d, + 0x94,0x31,0x31,0x51,0x4c,0x55,0x79,0x9c,0xa8,0xad,0x91,0x97,0xa9,0x8a,0x79,0xa2,0xa7,0x99, + 0xb8,0xc5,0x31,0x31,0x75,0x31,0x31,0x88,0xa1,0x31,0xcb,0xad,0xba,0xc5,0xba,0x62,0x96,0x9c, + 0x31,0x31,0x5e,0x46,0x44,0x8c,0x8c,0xa0,0xa5,0xa2,0xa2,0xaa,0x92,0x8e,0x98,0x94,0x8d,0x96, + 0xc6,0xb1,0x3e,0x87,0xbb,0x31,0x31,0x4d,0x63,0x50,0xa2,0xad,0xb8,0xbb,0x9a,0x73,0xa3,0x68, + 0x31,0x48,0x5b,0x45,0x51,0x7c,0x94,0xa8,0xa7,0xa4,0xac,0x90,0x7e,0x7a,0x96,0x82,0x85,0x9f, + 0xb2,0xc0,0x94,0x31,0xbe,0x8f,0x31,0x31,0x71,0x41,0x5d,0xa5,0xb1,0xc1,0xb2,0x87,0x9d,0x94, + 0x31,0x3e,0x57,0x45,0x48,0x7b,0x8b,0xa0,0x9f,0x9c,0x9f,0xa0,0x83,0x7b,0x86,0x83,0x79,0x90, + 0xa2,0xaf,0xc5,0xac,0x31,0x31,0xa0,0x31,0x31,0x57,0x8c,0x38,0x9a,0xb5,0xb6,0xc9,0xad,0x9c, + 0xab,0x65,0x31,0x41,0x4f,0x36,0x4a,0x6f,0x7d,0xa2,0xaa,0xa0,0xba,0xaa,0x86,0x81,0x81,0x6c, + 0x6a,0x75,0x93,0x9b,0xac,0xc1,0xc4,0x5a,0x31,0xc2,0x31,0x31,0x37,0x7e,0x3f,0x7d,0xa6,0xb7, + 0xc8,0xc1,0xa5,0xad,0xb8,0x3e,0x41,0x54,0x3c,0x31,0x66,0x78,0x82,0x99,0xb0,0xb3,0xb7,0xa0, + 0x7f,0x84,0x7b,0x57,0x67,0x7b,0x88,0x97,0xb1,0xc3,0xc3,0xb9,0x6f,0x93,0xa3,0x31,0x31,0x31, + 0x37,0x31,0x69,0xb6,0xbf,0xc8,0xc3,0xc2,0xb7,0x84,0x4f,0x50,0x47,0x31,0x31,0x54,0x7a,0x8e, + 0x9f,0xb6,0xc5,0xbe,0x9d,0x95,0x6d,0x5c,0x57,0x5d,0x62,0x7d,0x91,0xa0,0xc2,0xc3,0xc4,0xc1, + 0x9f,0x45,0xb6,0x69,0x31,0x31,0x3c,0x31,0x48,0xb5,0xbd,0xc2,0xc3,0xc5,0xc4,0xa8,0x64,0x4e, + 0x4f,0x33,0x31,0x38,0x5c,0x80,0x97,0xb9,0xc6,0xc3,0xad,0x9c,0x92,0x65,0x47,0x4f,0x51,0x5a, + 0x72,0x8a,0xb3,0xbf,0xc3,0xc4,0xc3,0xc3,0x91,0x31,0xb4,0x53,0x31,0x31,0x4c,0x5e,0x55,0xa5, + 0xc4,0xc2,0xc8,0xc5,0xc4,0xbe,0x5b,0x3b,0x4c,0x31,0x31,0x3a,0x5f,0x6f,0x98,0xaf,0xc6,0xc3, + 0xc1,0xa6,0xa5,0x62,0x4a,0x3b,0x49,0x3e,0x4d,0x79,0x93,0xb3,0xbd,0xc4,0xc3,0xc4,0xc3,0xc2, + 0xa4,0x31,0x9a,0x65,0x31,0x31,0x41,0x31,0x4c,0xc6,0xbe,0xbf,0xc2,0xc5,0xc0,0xab,0x6b,0x47, + 0x54,0x37,0x31,0x36,0x70,0x6f,0x8f,0xbb,0xc5,0xc5,0xc1,0xb2,0x92,0x80,0x54,0x3f,0x36,0x41, + 0x45,0x62,0x94,0xa7,0xb5,0xc5,0xc5,0xc3,0xc3,0xc4,0xb6,0xa2,0x66,0x44,0xb0,0x31,0x31,0x31, + 0x5e,0x34,0x7a,0xc7,0xb6,0xc3,0xbf,0xc5,0xaf,0x89,0x47,0x51,0x4f,0x31,0x31,0x4c,0x71,0x7e, + 0x9d,0xc0,0xc5,0xbf,0xb7,0xb2,0x7e,0x65,0x5b,0x44,0x3c,0x41,0x51,0x63,0x8f,0x9a,0xaa,0xc3, + 0xc3,0xbb,0xbe,0xb8,0xac,0xaf,0xa1,0x66,0x31,0xb8,0x31,0x31,0x31,0x89,0x3c,0x7f,0xb6,0xa4, + 0xbc,0xc7,0xbb,0xa4,0x92,0x4d,0x4c,0x5f,0x3c,0x31,0x53,0x71,0x75,0x91,0x9f,0xbd,0xc0,0xb4, + 0xaf,0xa6,0x75,0x50,0x5d,0x47,0x38,0x3a,0x69,0x6c,0x87,0xa5,0xaf,0xc0,0xbb,0xb8,0xb3,0xad, + 0x9a,0x9a,0xa7,0x8c,0x65,0x45,0x36,0x31,0x39,0x8b,0x71,0x34,0xaf,0xbc,0xb5,0xc0,0xa0,0xa5, + 0xa0,0x9a,0x5d,0x6d,0x4a,0x37,0x4e,0x71,0x6d,0x86,0x94,0x9f,0xb1,0xa8,0xa8,0xa7,0x9b,0x77, + 0x6b,0x5a,0x61,0x4b,0x38,0x69,0x71,0x7b,0x92,0xad,0xa5,0xaa,0xb6,0xaa,0x9e,0x9a,0x97,0x94, + 0xa0,0xa0,0x87,0x31,0xb8,0x31,0x31,0x3f,0x8c,0x36,0x4d,0xb9,0x92,0xc8,0x9a,0xb0,0x99,0xad, + 0x63,0x75,0x7b,0x3c,0x4e,0x55,0x73,0x5b,0x87,0x90,0x9f,0xa5,0xa2,0xad,0xa1,0x9b,0x7b,0x7d, + 0x70,0x3f,0x57,0x66,0x49,0x61,0x86,0x86,0x8c,0xb3,0xb0,0xa6,0xaa,0xa0,0x92,0x91,0x8c,0x89, + 0x96,0x96,0x89,0x31,0xc1,0x79,0x31,0x44,0x72,0x35,0x49,0x89,0x84,0x87,0xbc,0xab,0xb2,0xb0, + 0x80,0x6d,0x89,0x74,0x49,0x5c,0x65,0x58,0x66,0x7d,0x8f,0x96,0x97,0xa5,0xa8,0x9f,0x90,0x84, + 0x80,0x71,0x4f,0x49,0x71,0x3e,0x52,0x76,0x89,0x81,0xa7,0xb6,0xa4,0xa6,0xa3,0x9f,0x8a,0x89, + 0x86,0x8e,0x95,0x93,0x98,0x55,0xaa,0xa2,0x3b,0x54,0x62,0x45,0x39,0x79,0x86,0x70,0x91,0x9a, + 0xaf,0xa8,0x93,0x76,0x91,0x84,0x61,0x68,0x69,0x5b,0x5d,0x79,0x7f,0x87,0x8c,0x9a,0xa2,0x9d, + 0x98,0x94,0x91,0x81,0x73,0x70,0x6b,0x4f,0x6a,0x55,0x65,0x72,0x87,0x89,0x91,0xa7,0x9d,0xaa, + 0x9c,0x95,0x8d,0x89,0x80,0x81,0x8e,0x8f,0x92,0x83,0x65,0xc9,0x31,0x5b,0x5b,0x75,0x3c,0x55, + 0x9a,0x6d,0x97,0x80,0xa2,0x95,0x9d,0x81,0x8f,0x94,0x65,0x73,0x71,0x70,0x5d,0x6b,0x78,0x7b, + 0x80,0x83,0x94,0x91,0x94,0x8e,0x96,0x90,0x7e,0x7e,0x7b,0x71,0x65,0x5d,0x6c,0x73,0x60,0x74, + 0x84,0x86,0x88,0xa4,0x9f,0x95,0x97,0x93,0x8e,0x82,0x7c,0x7d,0x81,0x86,0x94,0x98,0x8c,0x5d, + 0xaf,0x3c,0x54,0x61,0x7a,0x4c,0x4f,0x8c,0x7c,0x8e,0x86,0x91,0x92,0x99,0x8d,0x8e,0x94,0x70, + 0x72,0x76,0x77,0x66,0x72,0x77,0x77,0x7a,0x80,0x8b,0x8a,0x8e,0x8e,0x91,0x8f,0x84,0x84,0x81, + 0x7c,0x72,0x76,0x76,0x6e,0x67,0x79,0x79,0x6e,0x81,0x88,0x87,0x89,0x99,0x93,0x8f,0x91,0x8b, + 0x87,0x83,0x7e,0x7d,0x82,0x80,0x8c,0x97,0x68,0x6a,0xa0,0x5a,0x66,0x74,0x79,0x5b,0x71,0x81, + 0x73,0x86,0x7e,0x91,0x8e,0x95,0x85,0x8b,0x91,0x7b,0x79,0x7b,0x7a,0x70,0x74,0x77,0x79,0x79, + 0x7b,0x89,0x87,0x8a,0x8a,0x8e,0x8e,0x85,0x84,0x81,0x7f,0x79,0x77,0x77,0x76,0x76,0x7a,0x7c, + 0x74,0x78,0x84,0x7d,0x7a,0x8d,0x8a,0x81,0x88,0x8c,0x89,0x80,0x84,0x7e,0x7f,0x80,0x7d,0x80, + 0x83,0x83,0x84,0x8e,0x8e,0x91,0x73,0x7f,0x7c,0x69,0x6a,0x78,0x73,0x65,0x73,0x7c,0x75,0x7a, + 0x7e,0x89,0x89,0x89,0x89,0x8c,0x86,0x80,0x7f,0x81,0x7c,0x76,0x77,0x79,0x77,0x76,0x79,0x80, + 0x81,0x81,0x86,0x89,0x86,0x85,0x86,0x86,0x83,0x7e,0x7e,0x7b,0x78,0x76,0x76,0x79,0x79,0x7b, + 0x7f,0x80,0x80,0x80,0x86,0x7b,0x80,0x7b,0x76,0x7f,0x7b,0x7d,0x7c,0x85,0x81,0x82,0x87,0x87, + 0x84,0x87,0x87,0x85,0x89,0x8e,0x91,0x87,0x75,0x94,0x65,0x62,0x66,0x74,0x65,0x5f,0x84,0x79, + 0x80,0x81,0x8c,0x8f,0x8f,0x8a,0x8b,0x8f,0x7b,0x7a,0x7b,0x7a,0x70,0x6d,0x77,0x77,0x75,0x79, + 0x80,0x85,0x85,0x87,0x8f,0x8e,0x88,0x86,0x86,0x80,0x7b,0x79,0x77,0x75,0x73,0x74,0x76,0x7b, + 0x7b,0x83,0x85,0x86,0x87,0x88,0x89,0x86,0x84,0x80,0x80,0x7c,0x78,0x79,0x79,0x77,0x78,0x7b, + 0x7c,0x7d,0x82,0x83,0x85,0x86,0x86,0x86,0x86,0x83,0x81,0x7e,0x7d,0x7b,0x79,0x78,0x79,0x79, + 0x79,0x7b,0x7e,0x80,0x80,0x84,0x84,0x86,0x84,0x84,0x83,0x80,0x7e,0x7c,0x7b,0x7b,0x7b,0x7a, + 0x7b,0x7c,0x7d,0x7f,0x80,0x81,0x84,0x83,0x83,0x84,0x83,0x81,0x80,0x7e,0x7c,0x7c,0x7b,0x7b, + 0x7b,0x7b,0x7c,0x7f,0x80,0x80,0x81,0x82,0x82,0x82,0x81,0x80,0x80,0x80,0x7e,0x7e,0x7c,0x7c, + 0x7c,0x7c,0x7e,0x7e,0x7e,0x7e,0x80,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x80,0x80,0x7f,0x7e, + 0x7e,0x7d,0x7c,0x7d,0x7e,0x7e,0x7e,0x7f,0x80,0x80,0x80,0x80,0x81,0x81,0x80,0x80,0x80,0x7f, + 0x7e,0x7e,0x7c,0x7c,0x7d,0x7d,0x7e,0x7e,0x80,0x80,0x81,0x81,0x81,0x80,0x80,0x80,0x7f,0x7e, + 0x7e,0x7e,0x7e,0x7d,0x7e,0x7e,0x7e,0x7e,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x7f, + 0x7e,0x7f,0x7f,0x7f,0x80,0x7f,0x7f,0x7f,0x80,0x80,0x80,0x80,0x7f,0x7f,0x7e,0x7f,0x7e,0x7f, + 0x7f,0x7e,0x7e,0x7f,0x7e,0x7e,0x7e,0x80,0x80,0x7f,0x7f,0x80,0x7f,0x7f,0x7f,0x80,0x80,0x80, + 0x80,0x80,0x80,0x7f,0x80,0x80,0x80,0x7f,0x7f,0x80,0x7e,0x7f,0x7e,0x7f,0x7f,0x7f,0x7f,0x7f, + 0x7e,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x80,0x80,0x80,0x80,0x80,0x80,0x7e,0x7e,0x7f,0x7e,0x7f, + 0x7e,0x7f,0x7e,0x7e,0x7e,0x7f,0x7f,0x7f,0x7f}; + + + // irrKlang 3D sound engine example 03, + // demonstrating playing sounds directly from memory + [STAThread] + static void Main(string[] args) + { + // start the sound engine with default parameters + ISoundEngine engine = new ISoundEngine(); + + // To make irrKlang know about the memory we want to play, we register + // the memory chunk as a sound source. We specify the name "testsound.wav", so + // we can use the name later for playing back the sound. Note that you + // could also specify a better fitting name like "ok.wav". + // The method AddSoundSourceFromMemory() also returns a pointer to the created sound source, + // it can be used as parameter for play2D() later, if you don't want to + // play sounds via string names. + + ISoundSource source = engine.AddSoundSourceFromMemory(SoundDataArray, "testsound.wav"); + + // now play the sound until user presses 'q' + + Console.Out.WriteLine("\nPlaying sounds directly from memory"); + Console.Out.WriteLine("Press any key to play some sound, press 'q' to quit."); + + do + { + // play the sound we added to memory + engine.Play2D("testsound.wav"); + } + while(_getch() != 'q'); // user pressed 'q' key, cancel + } + + // some simple function for reading keys from the console + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _getch(); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.csproj new file mode 100644 index 0000000..147b335 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.csproj @@ -0,0 +1,104 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {C1137DD1-D21B-4ED6-AAF8-EDD114582E70} + Debug + AnyCPU + App.ico + + + CSharp.04.OverrideFileAccess + + + JScript + Grid + IE50 + false + Exe + CSharp._04._OverrideFileAccess + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.sln new file mode 100644 index 0000000..e717f2f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.04.OverrideFileAccess_vs2005", "CSharp.04.OverrideFileAccess_vs2005.csproj", "{C1137DD1-D21B-4ED6-AAF8-EDD114582E70}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Default = Debug|Default + Release|Default = Release|Default + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C1137DD1-D21B-4ED6-AAF8-EDD114582E70}.Debug|Default.ActiveCfg = Debug|Any CPU + {C1137DD1-D21B-4ED6-AAF8-EDD114582E70}.Debug|Default.Build.0 = Debug|Any CPU + {C1137DD1-D21B-4ED6-AAF8-EDD114582E70}.Release|Default.ActiveCfg = Release|Any CPU + {C1137DD1-D21B-4ED6-AAF8-EDD114582E70}.Release|Default.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.csproj new file mode 100644 index 0000000..29a9681 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.csproj @@ -0,0 +1,179 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.04.OverrideFileAccess + + + JScript + Grid + IE50 + false + Exe + CSharp._04.OverrideFileAccess + OnBuildSuccess + + + + + + + v4.5 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + false + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.sln new file mode 100644 index 0000000..fc2c95c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/CSharp.04.OverrideFileAccess_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.04.OverrideFileAccess_vs2010", "CSharp.04.OverrideFileAccess_vs2010.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.Build.0 = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/Class1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/Class1.cs new file mode 100644 index 0000000..fa0f994 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.04.OverrideFileAccess/Class1.cs @@ -0,0 +1,92 @@ +// This example will show how to override file access with irrKlang. +// This is useful if you want to read sounds from other sources than +// just files, for example from custom internet streams or +// an own encypted archive format. + +using System; +using System.IO; +using IrrKlang; + +namespace CSharp._04._OverrideFileAccess +{ + class Class1 + { + // To start, we need to implement the class IFileFactory, which irrKlang uses + // to open files. The interface consists only of one single method named + // openFile(String filename). In this method, we create return + // our own file access class and return it: + + class MyIrrKlangFileFactory : IrrKlang.IFileFactory + { + public System.IO.Stream openFile(String filename) + { + // we simply could return an opened FileStream here, but to demonstrate + // overriding, we return our own filestream implementation + return new MyFileStream(filename); + } + } + + // an own implementation of FileStream to overwrite read access to files + public class MyFileStream : System.IO.FileStream + { + public MyFileStream(String filename) : base(filename, FileMode.Open) + { + } + + public override int Read(byte[] array, int offset, int count) + { + System.Console.Out.WriteLine("MyFileStream read bytes: " + count); + return base.Read(array, offset, count); + } + + public override long Seek(long offset, SeekOrigin origin) + { + System.Console.Out.WriteLine("MyFileStream seeked to: " + offset); + return base.Seek(offset, origin); + } + }; + + + + // The main work is done, the only thing missing is to start up the + // sound engine and tell it to use the created FileFactory for file access: + + // irrKlang 3D sound engine example 04, + // demonstrating how to override file access of irrKlang + [STAThread] + static void Main(string[] args) + { + // start the sound engine with default parameters + ISoundEngine engine = new ISoundEngine(); + + // create an instance of the file factory and let + // irrKlang know about it. + + MyIrrKlangFileFactory myfactory = new MyIrrKlangFileFactory(); + engine.AddFileFactory(myfactory); + + // that's it, play some sounds with our overriden + // file access methods: + + // now play some sounds until user presses 'q' + + Console.Out.WriteLine("\nDemonstrating file access overriding."); + Console.Out.WriteLine("Press any key to play some sound, press ESCAPE to quit."); + + _getch(); + + engine.Play2D("../../media/getout.ogg", true); + + do + { + // play some wave sound + engine.Play2D("../../media/bell.wav"); + } + while(_getch() != 27); // user pressed eskape key to cancel + } + + // some simple function for reading keys from the console + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _getch(); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.csproj new file mode 100644 index 0000000..c88c96c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.csproj @@ -0,0 +1,104 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {1ED8B052-E53B-4680-8E7A-41F13DE1B5BB} + Debug + AnyCPU + App.ico + + + CSharp.05.Effects + + + JScript + Grid + IE50 + false + Exe + CSharp._05._Effects + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.sln new file mode 100644 index 0000000..feb676b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.05.Effects_vs2005", "CSharp.05.Effects_vs2005.csproj", "{1ED8B052-E53B-4680-8E7A-41F13DE1B5BB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1ED8B052-E53B-4680-8E7A-41F13DE1B5BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1ED8B052-E53B-4680-8E7A-41F13DE1B5BB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1ED8B052-E53B-4680-8E7A-41F13DE1B5BB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1ED8B052-E53B-4680-8E7A-41F13DE1B5BB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.csproj new file mode 100644 index 0000000..06ee109 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.csproj @@ -0,0 +1,179 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41} + Debug + AnyCPU + App.ico + + + CSharp.05.Effects + + + JScript + Grid + IE50 + false + Exe + CSharp._05.Effects + OnBuildSuccess + + + + + + + v4.5 + 2.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + false + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.XML + + + + + + Code + + + Code + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.sln new file mode 100644 index 0000000..d253f5c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/CSharp.05.Effects_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.05.Effects_vs2010", "CSharp.05.Effects_vs2010.csproj", "{DF12AC74-E3B4-473A-A103-741A3FEA8D41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Debug|x86.Build.0 = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.ActiveCfg = Release|x86 + {DF12AC74-E3B4-473A-A103-741A3FEA8D41}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/Class1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/Class1.cs new file mode 100644 index 0000000..3bedfed --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.05.SoundEffects/Class1.cs @@ -0,0 +1,106 @@ +// This example will show how to use sound effects such as echo, reverb and distortion. +// irrKlang supports the effects Chorus, Compressor, Distortion, Echo, Flanger +// Gargle, 3DL2Reverb, ParamEq and WavesReverb. + +using System; +using IrrKlang; + +namespace CSharp._05._Effects +{ + class Class1 + { + [STAThread] + static void Main(string[] args) + { + // start the sound engine with default parameters + ISoundEngine engine = new ISoundEngine(); + + // we play a .xm file as music here. Note that the last parameter + // named 'enableSoundEffects' has been set to 'true' here. If this + // is not done, sound effects cannot be used with this sound. + // After this, we print some help text and start a loop which reads + // user keyboard input. + + ISound music = engine.Play2D("../../media/MF-W-90.XM", false, + false, StreamMode.AutoDetect, true); + + // Print some help text and start the display loop + + Console.Out.Write("\nSound effects example. Keys:\n"); + Console.Out.Write("\nESCAPE: quit\n"); + Console.Out.Write("w: enable/disable waves reverb\n"); + Console.Out.Write("d: enable/disable distortion\n"); + Console.Out.Write("e: enable/disable echo\n"); + Console.Out.Write("a: disable all effects\n"); + + while(true) // endless loop until user exits + { + int key = _getch(); + + // Handle user input: Every time the user presses a key in the console, + // play a random sound or exit the application if he pressed ESCAPE. + + if (key == 27) + break; // user pressed ESCAPE key + else + { + ISoundEffectControl fx = null; + if (music != null) + fx = music.SoundEffectControl; + + if (fx == null) + { + // some sound devices do not support sound effects. + Console.Out.Write("This device or sound does not support sound effects.\n"); + continue; + } + + // here we disable or enable the sound effects of the music depending + // on what key the user pressed. Note that every enableXXXSoundEffect() + // method also accepts a lot of parameters, so it is easily possible + // to influence the details of the effect. If the sound effect is + // already active, it is also possible to simply call the + // enableXXXSoundEffect() method again to just change the effect parameters, + // although we aren't doing this here. + + if (key < 'a') // make key lower + key += 'a' - 'A'; + + switch(key) + { + case 'd': + if (fx.IsDistortionSoundEffectEnabled) + fx.DisableDistortionSoundEffect(); + else + fx.EnableDistortionSoundEffect(); + break; + + case 'e': + if (fx.IsEchoSoundEffectEnabled) + fx.DisableEchoSoundEffect(); + else + fx.EnableEchoSoundEffect(); + break; + + case 'w': + if (fx.IsWavesReverbSoundEffectEnabled) + fx.DisableWavesReverbSoundEffect(); + else + fx.EnableWavesReverbSoundEffect(); + break; + + case 'a': + fx.DisableAllEffects(); + break; + } + } + } + } + + // simple functions for reading keys from the console + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _kbhit(); + [System.Runtime.InteropServices.DllImport("msvcrt")] + static extern int _getch(); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/App.ico b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/App.ico new file mode 100644 index 0000000..3a5525f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/App.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/AssemblyInfo.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/AssemblyInfo.cs new file mode 100644 index 0000000..9f89a32 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.csproj new file mode 100644 index 0000000..75ce8e1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.csproj @@ -0,0 +1,114 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {545F9CBC-DA32-4DFE-803C-C396A51E822C} + Debug + AnyCPU + App.ico + + + CSharp.Winforms.Musicplayer + + + JScript + Grid + IE50 + false + WinExe + CSharp.Winforms.Musicplayer + OnBuildSuccess + + + + + + + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + + + + + System + + + System.Data + + + System.Drawing + + + System.Windows.Forms + + + System.XML + + + + + + Code + + + Form + + + Form1.cs + Designer + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.sln new file mode 100644 index 0000000..297648a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.Winforms.Musicplayer_vs2005", "CSharp.Winforms.Musicplayer_vs2005.csproj", "{545F9CBC-DA32-4DFE-803C-C396A51E822C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.csproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.csproj new file mode 100644 index 0000000..156d9cd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.csproj @@ -0,0 +1,189 @@ +ï»ż + + + Local + 8.0.50727 + 2.0 + {545F9CBC-DA32-4DFE-803C-C396A51E822C} + Debug + AnyCPU + App.ico + + + CSharp.Winforms.Musicplayer + + + JScript + Grid + IE50 + false + WinExe + CSharp.Winforms.Musicplayer + OnBuildSuccess + + + + + + + v4.5 + 2.0 + false + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + true + + + + ..\..\bin\dotnet-4\ + false + 285212672 + false + + + DEBUG;TRACE + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + + + ..\..\bin\dotnet-2.0\ + false + 285212672 + false + + + TRACE + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + x86 + false + + + true + ..\..\bin\dotnet-4\ + DEBUG;TRACE + 285212672 + 4096 + full + x86 + prompt + false + + + ..\..\bin\dotnet-4\ + TRACE + 285212672 + true + 4096 + x86 + prompt + false + false + false + false + + + + False + ..\..\bin\dotnet-4\irrKlang.NET4.dll + + + System + + + System.Data + + + System.Drawing + + + System.Windows.Forms + + + System.XML + + + + + + Code + + + Form + + + Form1.cs + + + + + False + Microsoft .NET Framework 4 %28x86 und x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 3.1 + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.sln new file mode 100644 index 0000000..67e86d6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/CSharp.Winforms.Musicplayer_vs2010.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C# Express 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.Winforms.Musicplayer_vs2010", "CSharp.Winforms.Musicplayer_vs2010.csproj", "{545F9CBC-DA32-4DFE-803C-C396A51E822C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|x86.ActiveCfg = Debug|x86 + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|x86.Build.0 = Debug|x86 + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|x86.ActiveCfg = Release|x86 + {545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.cs b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.cs new file mode 100644 index 0000000..3e0f6a0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.cs @@ -0,0 +1,216 @@ +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +using System.Data; + +namespace CSharp.Winforms.Musicplayer +{ + /// + /// Summary description for Form1. + /// + public class Form1 : System.Windows.Forms.Form + { + protected IrrKlang.ISoundEngine irrKlangEngine; + protected IrrKlang.ISound currentlyPlayingSound; + + private System.Windows.Forms.Button SelectFileButton; + private System.Windows.Forms.Button PauseButton; + private System.Windows.Forms.TrackBar volumeTrackBar; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox filenameTextBox; + /// + /// Required designer variable. + /// + private System.ComponentModel.Container components = null; + + public Form1() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + // create irrklang sound engine + irrKlangEngine = new IrrKlang.ISoundEngine(); + playSelectedFile(); + } + + /// + /// Clean up any resources being used. + /// + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if (components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.filenameTextBox = new System.Windows.Forms.TextBox(); + this.SelectFileButton = new System.Windows.Forms.Button(); + this.PauseButton = new System.Windows.Forms.Button(); + this.volumeTrackBar = new System.Windows.Forms.TrackBar(); + this.label1 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).BeginInit(); + this.SuspendLayout(); + // + // filenameTextBox + // + this.filenameTextBox.Location = new System.Drawing.Point(24, 24); + this.filenameTextBox.Name = "filenameTextBox"; + this.filenameTextBox.ReadOnly = true; + this.filenameTextBox.Size = new System.Drawing.Size(280, 20); + this.filenameTextBox.TabIndex = 0; + this.filenameTextBox.Text = "../../media/getout.ogg"; + // + // SelectFileButton + // + this.SelectFileButton.Location = new System.Drawing.Point(312, 24); + this.SelectFileButton.Name = "SelectFileButton"; + this.SelectFileButton.Size = new System.Drawing.Size(32, 24); + this.SelectFileButton.TabIndex = 1; + this.SelectFileButton.Text = "..."; + this.SelectFileButton.Click += new System.EventHandler(this.SelectFileButton_Click); + // + // PauseButton + // + this.PauseButton.Location = new System.Drawing.Point(184, 104); + this.PauseButton.Name = "PauseButton"; + this.PauseButton.TabIndex = 2; + this.PauseButton.Text = "Pause"; + this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click); + // + // volumeTrackBar + // + this.volumeTrackBar.Location = new System.Drawing.Point(24, 96); + this.volumeTrackBar.Maximum = 100; + this.volumeTrackBar.Name = "volumeTrackBar"; + this.volumeTrackBar.Size = new System.Drawing.Size(136, 42); + this.volumeTrackBar.SmallChange = 5; + this.volumeTrackBar.TabIndex = 3; + this.volumeTrackBar.TickFrequency = 10; + this.volumeTrackBar.Scroll += new System.EventHandler(this.volumeTrackBar_Scroll); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(24, 72); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(100, 16); + this.label1.TabIndex = 4; + this.label1.Text = "Volume:"; + // + // Form1 + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(456, 149); + this.Controls.Add(this.label1); + this.Controls.Add(this.volumeTrackBar); + this.Controls.Add(this.PauseButton); + this.Controls.Add(this.SelectFileButton); + this.Controls.Add(this.filenameTextBox); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "Form1"; + this.Text = "Simple irrKlang .NET Winforms Example Player"; + ((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.Run(new Form1()); + } + + + // plays filename selected in edit box + void playSelectedFile() + { + // stop currently playing sound + + if (currentlyPlayingSound != null) + currentlyPlayingSound.Stop(); + + // start new sound + + currentlyPlayingSound = irrKlangEngine.Play2D(filenameTextBox.Text, true); + + // update controls to display the playing file + + UpdatePauseButtonText(); + + volumeTrackBar.Value = 100; + } + + + // pauses or unpauses the currently playing sound + private void PauseButton_Click(object sender, System.EventArgs e) + { + if (currentlyPlayingSound != null) + { + currentlyPlayingSound.Paused = !currentlyPlayingSound.Paused; + UpdatePauseButtonText(); + } + } + + + // Updates the text on the pause button + private void UpdatePauseButtonText() + { + if (currentlyPlayingSound != null) + { + if (currentlyPlayingSound.Paused) + PauseButton.Text = "Play"; + else + PauseButton.Text = "Pause"; + } + else + PauseButton.Text = ""; + } + + + // Sets new volume of currently playing sound + private void volumeTrackBar_Scroll(object sender, System.EventArgs e) + { + if (currentlyPlayingSound != null) + { + currentlyPlayingSound.Volume = volumeTrackBar.Value / 100.0f; + } + } + + + // selects a new file to play + private void SelectFileButton_Click(object sender, System.EventArgs e) + { + System.Windows.Forms.OpenFileDialog dialog = new + System.Windows.Forms.OpenFileDialog(); + + dialog.Filter = "All playable files (*.mp3;*.ogg;*.wav;*.mod;*.it;*.xm;*.it;*.s3d)|*.mp3;*.ogg;*.wav;*.mod;*.it;*.xm;*.it;*.s3d"; + dialog.FilterIndex = 0; + + if (dialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) + { + filenameTextBox.Text = dialog.FileName; + playSelectedFile(); + } + } + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.resx b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.resx new file mode 100644 index 0000000..bc7a1f2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.resx @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Private + + + False + + + Private + + + False + + + Private + + + Private + + + False + + + Private + + + Private + + + False + + + Private + + + Private + + + False + + + Private + + + Private + + + False + + + (Default) + + + False + + + False + + + 8, 8 + + + True + + + Form1 + + + 80 + + + True + + + Private + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/AssemblyInfo.vb b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/AssemblyInfo.vb new file mode 100644 index 0000000..fbf1781 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/AssemblyInfo.vb @@ -0,0 +1,32 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/Module1.vb b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/Module1.vb new file mode 100644 index 0000000..7bb246e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/Module1.vb @@ -0,0 +1,33 @@ +Imports IrrKlang + +Module Module1 + + Sub Main() + + ' start up the engine + Dim engine As New ISoundEngine + + ' To play a sound, we only to call play2D(). The second parameter + ' tells the engine to play it looped. + + engine.Play2D("../../media/getout.ogg", True) + + Console.Out.WriteLine("") + Console.Out.WriteLine("Hello World") + + Do + Console.Out.WriteLine("Press any key to play some sound, press 'q' to quit.") + + ' play a single sound + engine.Play2D("../../media/bell.wav") + + Loop While _getch() <> 113 ' until 'the key "q" is pressed + + End Sub + + ' some simple function for reading keys from the console + _ + Public Function _getch() As Integer + End Function + +End Module diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.sln new file mode 100644 index 0000000..0ebdd9a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VisualBasic.01.HelloWorld", "VisualBasic.01.HelloWorld.vbproj", "{0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.vbproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.vbproj new file mode 100644 index 0000000..1a183de --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.01.HelloWorld/VisualBasic.01.HelloWorld.vbproj @@ -0,0 +1,108 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {0FBBA5C5-C9EF-4FB6-A202-CF86E2385C66} + Debug + AnyCPU + + + + + VisualBasic.01.HelloWorld + + + None + JScript + Grid + IE50 + false + Exe + Binary + On + Off + VisualBasic._01.HelloWorld + VisualBasic._01.HelloWorld.Module1 + + + Console + + + + + ..\..\bin\dotnet-1.1\ + VisualBasic.01.HelloWorld.xml + 285212672 + + + + + true + true + true + false + false + false + false + 1 + 42016,42017,42018,42019,42032 + full + + + ..\..\bin\dotnet-1.1\ + VisualBasic.01.HelloWorld.xml + 285212672 + + + + + false + true + false + true + false + false + false + 1 + 42016,42017,42018,42019,42032 + none + + + + irrKlang.NET + ..\..\bin\dotnet-1.1\irrKlang.NET.dll + + + System + + + System.Data + + + System.XML + + + + + + + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/AssemblyInfo.vb b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/AssemblyInfo.vb new file mode 100644 index 0000000..4e343f9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/AssemblyInfo.vb @@ -0,0 +1,32 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/Module1.vb b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/Module1.vb new file mode 100644 index 0000000..2bbf363 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/Module1.vb @@ -0,0 +1,122 @@ +Imports IrrKlang + +Module Module1 + + Sub Main() + + ' start up the engine + Dim engine As New ISoundEngine + + ' Now play some sound stream as music in 3d space, looped. + ' We play it at position (0,0,0) in 3d space + + Dim music As ISound = engine.Play3D("../../media/ophelia.mp3", 0, 0, 0, True) + + ' the following step isn't necessary, but to adjust the distance where + ' the 3D sound can be heard, we set some nicer minimum distance + ' (the default min distance is 1, for a small object). The minimum + ' distance simply is the distance in which the sound gets played + ' at maximum volume. + + If Not (music Is Nothing) Then + music.MinDistance = 5.0F + End If + + ' Print some help text and start the display loop + + Console.Out.Write(ControlChars.CrLf & "Playing streamed sound in 3D.") + Console.Out.WriteLine(ControlChars.CrLf & "Press ESCAPE to quit, any other key to play sound at random position." & ControlChars.CrLf) + + Console.Out.WriteLine("+ = Listener position") + Console.Out.WriteLine("o = Playing sound") + + Dim rand As Random = New Random + Dim radius As Single = 5 + Dim posOnCircle As Single = 5 + + While (True) ' endless loop until user exits + + ' Each step we calculate the position of the 3D music. + ' For this example, we let the + ' music position rotate on a circle: + + posOnCircle += 0.0399999991F + Dim pos3D As Vector3D = New Vector3D(radius * Math.Cos(posOnCircle), 0, _ + radius * Math.Sin(posOnCircle * 0.5F)) + + ' After we know the positions, we need to let irrKlang know about the + ' listener position (always position (0,0,0), facing forward in this example) + ' and let irrKlang know about our calculated 3D music position + + engine.SetListenerPosition(0, 0, 0, 0, 0, 1) + + If Not (music Is Nothing) Then + music.Position = pos3D + End If + + ' Now print the position of the sound in a nice way to the console + ' and also print the play position + + Dim stringForDisplay As String = " + " + Dim charpos As Integer = Math.Floor((CSng(pos3D.X + radius) / radius * 10.0F)) + If (charpos >= 0 And charpos < 20) Then + stringForDisplay = stringForDisplay.Remove(charpos, 1) + stringForDisplay = stringForDisplay.Insert(charpos, "o") + End If + + Dim playPos As Integer + If Not (music Is Nothing) Then + playPos = Integer.Parse(music.PlayPosition.ToString) ' how to convert UInt32 to Integer in visual basic? + End If + + Dim output As String = ControlChars.Cr & String.Format("x:({0}) 3dpos: {1:f} {2:f} {3:f}, playpos:{4}:{5:00} ", _ + stringForDisplay, pos3D.X, pos3D.Y, pos3D.Z, _ + playPos \ 60000, (playPos Mod 60000) / 1000) + + Console.Write(output) + + System.Threading.Thread.Sleep(100) + + ' Handle user input: Every time the user presses a key in the console, + ' play a random sound or exit the application if he pressed ESCAPE. + + If _kbhit() <> 0 Then + Dim key As Integer = _getch() + + If (key = 27) Then + Return ' user pressed ESCAPE key + Else + + ' Play random sound at some random position. + + Dim pos As Vector3D = New Vector3D((rand.NextDouble() Mod radius * 2.0F) - radius, 0, 0) + + Dim filename As String + + If (rand.Next() Mod 2 <> 0) Then + filename = "../../media/bell.wav" + Else + filename = "../../media/explosion.wav" + End If + + engine.Play3D(filename, pos.X, pos.Y, pos.Z) + + Console.WriteLine(ControlChars.CrLf & "playing {0} at {1:f} {2:f} {3:f}", _ + filename, pos.X, pos.Y, pos.Z) + End If + + End If + + End While + + End Sub + + ' some simple function for reading keys from the console + _ + Public Function _getch() As Integer + End Function + _ + Public Function _kbhit() As Integer + End Function + +End Module diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.sln b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.sln new file mode 100644 index 0000000..99999cb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VisualBasic.02.3DSound", "VisualBasic.02.3DSound.vbproj", "{C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.vbproj b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.vbproj new file mode 100644 index 0000000..d19853f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples.net/VisualBasic.02.3DSound/VisualBasic.02.3DSound.vbproj @@ -0,0 +1,108 @@ +ï»ż + + Local + 8.0.50727 + 2.0 + {C03B0E11-9BB1-4E8E-AF4D-5374AC9E47EE} + Debug + AnyCPU + + + + + VisualBasic.02.3DSound + + + None + JScript + Grid + IE50 + false + Exe + Binary + On + Off + VisualBasic._02._3DSound + VisualBasic._02._3DSound.Module1 + + + Console + + + + + ..\..\bin\dotnet-1.1\ + VisualBasic.02.3DSound.xml + 285212672 + + + + + true + true + true + false + false + false + false + 1 + 42016,42017,42018,42019,42032 + full + + + ..\..\bin\dotnet-1.1\ + VisualBasic.02.3DSound.xml + 285212672 + + + + + false + true + false + true + false + false + false + 1 + 42016,42017,42018,42019,42032 + none + + + + irrKlang.NET + ..\..\bin\dotnet-1.1\irrKlang.NET.dll + + + System + + + System.Data + + + System.XML + + + + + + + + + + + + Code + + + Code + + + + + + + + + + \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.cbp new file mode 100644 index 0000000..b1e59af --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.cbp @@ -0,0 +1,65 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.sln new file mode 100644 index 0000000..707aec5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01.HelloWorld", "01.HelloWorld.vcproj", "{C9328295-3D0A-446B-8522-6C1B6FC7F4E6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Debug|Win32.ActiveCfg = Debug|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Debug|Win32.Build.0 = Debug|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Release|Win32.ActiveCfg = Release|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.vcproj new file mode 100644 index 0000000..08b5fac --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.xcodeproj/project.pbxproj new file mode 100644 index 0000000..dd54746 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01.HelloWorld.xcodeproj/project.pbxproj @@ -0,0 +1,251 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 8DD76F6C0486A84900D96B5E /* 01.HelloWorld */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = 01.HelloWorld; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* 01.HelloWorld */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* 01.HelloWorld */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "01.HelloWorld" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + OBJROOT = "../../bin/macosx-gcc"; + PRODUCT_NAME = 01.HelloWorld; + SYMROOT = "../../bin/macosx-gcc"; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 01.HelloWorld; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + SYMROOT = "../../bin/macosx-gcc"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + SYMROOT = "../../bin/macosx-gcc"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "01.HelloWorld" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsp new file mode 100644 index 0000000..8113f48 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="01_HelloWorld" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=01_HelloWorld - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "01_HelloWorld.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "01_HelloWorld.mak" CFG="01_HelloWorld - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "01_HelloWorld - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "01_HelloWorld - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "01_HelloWorld - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "01_HelloWorld___Win32_Release" +# PROP BASE Intermediate_Dir "01_HelloWorld___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "01_HelloWorld___Win32_Release" +# PROP Intermediate_Dir "01_HelloWorld___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/01.HelloWorld.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "01_HelloWorld - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/01.HelloWorld.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "01_HelloWorld - Win32 Release" +# Name "01_HelloWorld - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsw new file mode 100644 index 0000000..27f6e59 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/01_HelloWorld.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "01_HelloWorld"=.\01_HelloWorld.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/Makefile new file mode 100644 index 0000000..2a10d6c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/Makefile @@ -0,0 +1,8 @@ +CPP = g++ +OPTS = -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: + $(CPP) main.cpp -m32 -o example $(OPTS) + +clean: + rm example diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/main.cpp new file mode 100644 index 0000000..76272a5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/01.HelloWorld/main.cpp @@ -0,0 +1,78 @@ +// This example will show how to play sounds using irrKlang. +// It will play a looped background music and a sound every +// time the user presses a key. + +// At the beginning, we need to include the irrKlang headers (irrKlang.h) and +// the iostream headers needed to print text to the console. + +#include +#include + +// include console I/O methods (conio.h for windows, our wrapper in linux) +#if defined(WIN32) +#include +#else +#include "../common/conio.h" +#endif + +// Also, we tell the compiler to use the namespaces 'irrklang'. +// All classes and functions of irrKlang can be found in the namespace 'irrklang'. +// If you want to use a class of the engine, +// you'll have to type an irrklang:: before the name of the class. +// For example, to use the ISoundEngine, write: irrklang::ISoundEngine. To avoid having +// to put irrklang:: before of the name of every class, we tell the compiler that +// we use that namespaces here. + +using namespace irrklang; + +// To be able to use the irrKlang.dll file, we need to link with the irrKlang.lib. +// We could set this option in the project settings, but to make it easy we use +// a pragma comment: + +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + +// Now lets start with irrKlang 3D sound engine example 01, demonstrating simple 2D sound. +// Start up the sound engine using createIrrKlangDevice(). You can specify several +// options as parameters when invoking that function, but for this example, the default +// parameters are enough. +int main(int argc, const char** argv) +{ + // start the sound engine with default parameters + ISoundEngine* engine = createIrrKlangDevice(); + + if (!engine) + { + printf("Could not startup engine\n"); + return 0; // error starting up the engine + } + + // To play a sound, we only to call play2D(). The second parameter + // tells the engine to play it looped. + + // play some sound stream, looped + engine->play2D("../../media/getout.ogg", true); + + // In a loop, wait until user presses 'q' to exit or another key to + // play another sound. + + printf("\nHello World!\n"); + + do + { + printf("Press any key to play some sound, press 'q' to quit.\n"); + + // play a single sound + engine->play2D("../../media/bell.wav"); + } + while(getch() != 'q'); + + // After we are finished, we have to delete the irrKlang Device created earlier + // with createIrrKlangDevice(). Use ::drop() to do that. In irrKlang, you should + // delete all objects you created with a method or function that starts with 'create'. + // (an exception is the play2D()- or play3D()-method, see the documentation or the + // next example for an explanation) + // The object is deleted simply by calling ->drop(). + + engine->drop(); // delete engine + return 0; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.cbp new file mode 100644 index 0000000..6300339 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.cbp @@ -0,0 +1,68 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.sln new file mode 100644 index 0000000..33492a0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02.3DSound", "02.3DSound.vcproj", "{C9328295-3D0A-446B-8522-6C1B6FC7F4E6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Debug|Win32.ActiveCfg = Debug|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Debug|Win32.Build.0 = Debug|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Release|Win32.ActiveCfg = Release|Win32 + {C9328295-3D0A-446B-8522-6C1B6FC7F4E6}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.vcproj new file mode 100644 index 0000000..de8a421 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.xcodeproj/project.pbxproj new file mode 100644 index 0000000..06e23c6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02.3DSound.xcodeproj/project.pbxproj @@ -0,0 +1,245 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 8DD76F6C0486A84900D96B5E /* 02.3DSound */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = 02.3DSound; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* 02.3DSound */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* 02.3DSound */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "02.3DSound" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 02.3DSound; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 02.3DSound; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "02.3DSound" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsp new file mode 100644 index 0000000..9f4f7b9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="02_3DSound" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=02_3DSound - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "02_3DSound.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "02_3DSound.mak" CFG="02_3DSound - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "02_3DSound - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "02_3DSound - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "02_3DSound - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "02_3DSound___Win32_Release" +# PROP BASE Intermediate_Dir "02_3DSound___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "02_3DSound___Win32_Release" +# PROP Intermediate_Dir "02_3DSound___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/02.3DSound.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "02_3DSound - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/02.3DSound.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "02_3DSound - Win32 Release" +# Name "02_3DSound - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsw new file mode 100644 index 0000000..a57100b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/02_3DSound.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "02_3DSound"=.\02_3DSound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/Makefile new file mode 100644 index 0000000..8037e65 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/Makefile @@ -0,0 +1,21 @@ +CPP = g++ +OPTS = -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: example + +example: + $(CPP) main.cpp -m32 -o example $(OPTS) + @echo "" + @echo "Note: to start: This example needs mp3 playback and to find the mp3 plugin for this. Please start this example with bin/linux-gcc/ as working directory." + @echo "" + @echo "Alternative: run 'make run' now." + +clean: + rm example + +run: example + cd ../../bin/linux-gcc/ && ../../examples/02.3DSound/example && cd ../../examples/02.3DSound + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/main.cpp new file mode 100644 index 0000000..3dff53d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/02.3DSound/main.cpp @@ -0,0 +1,144 @@ +// This example will show how to play sounds in 3D space using irrKlang. +// An mp3 file file be played in 3D space and moved around the user and a +// sound will be played at a random 3D position every time the user presses +// a key. + +// For this example, we need some function to sleep for some seconds, +// so we include the platform specific sleep functions here. This is +// only need for demo purposes and has nothing to do with sound output. +// include console I/O methods (conio.h for windows, our wrapper in linux) +#if defined(WIN32) +#include +#include +inline void sleepSomeTime() { Sleep(100); } +#else +#include "../common/conio.h" +#endif + +// Lets start: include the irrKlang headers and other input/output stuff +// needed to print and get user input from the console. And as exlained +// in the first tutorial, we use the namespace irr and audio and +// link to the irrKlang.dll file. +#include +#include +using namespace irrklang; + +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + + +// Now let's start with the irrKlang 3D sound engine example 02, +// demonstrating simple 3D sound. Simply startup the engine using +// using createIrrKlangDevice() with default options/parameters. +int main(int argc, const char** argv) +{ + // start the sound engine with default parameters + ISoundEngine* engine = createIrrKlangDevice(); + + if (!engine) + return 0; // error starting up the engine + + // Now play some sound stream as music in 3d space, looped. + // We are setting the last parameter named 'track' to 'true' to + // make irrKlang return a pointer to the played sound. (This is also returned + // if the parameter 'startPaused' is set to true, by the way). Note that you + // MUST call ->drop to the returned pointer if you don't need it any longer and + // don't want to waste any memory. This is done in the end of the program. + + ISound* music = engine->play3D("../../media/ophelia.mp3", + vec3df(0,0,0), true, false, true); + + // the following step isn't necessary, but to adjust the distance where + // the 3D sound can be heard, we set some nicer minimum distance + // (the default min distance is 1, for a small object). The minimum + // distance simply is the distance in which the sound gets played + // at maximum volume. + + if (music) + music->setMinDistance(5.0f); + + // Print some help text and start the display loop + + printf("\nPlaying streamed sound in 3D."); + printf("\nPress ESCAPE to quit, any other key to play sound at random position.\n\n"); + + printf("+ = Listener position\n"); + printf("o = Playing sound\n"); + + float posOnCircle = 0; + const float radius = 5; + + while(true) // endless loop until user exits + { + // Each step we calculate the position of the 3D music. + // For this example, we let the + // music position rotate on a circle: + + posOnCircle += 0.04f; + vec3df pos3d(radius * cosf(posOnCircle), 0, + radius * sinf(posOnCircle * 0.5f)); + + // After we know the positions, we need to let irrKlang know about the + // listener position (always position (0,0,0), facing forward in this example) + // and let irrKlang know about our calculated 3D music position + + engine->setListenerPosition(vec3df(0,0,0), vec3df(0,0,1)); + + if (music) + music->setPosition(pos3d); + + // Now print the position of the sound in a nice way to the console + // and also print the play position + + char stringForDisplay[] = " + "; + int charpos = (int)((pos3d.X + radius) / radius * 10.0f); + if (charpos >= 0 && charpos < 20) + stringForDisplay[charpos] = 'o'; + int playPos = music ? music->getPlayPosition() : 0; + + printf("\rx:(%s) 3dpos: %.1f %.1f %.1f, playpos:%d:%.2d ", + stringForDisplay, pos3d.X, pos3d.Y, pos3d.Z, + playPos/60000, (playPos%60000)/1000 ); + + sleepSomeTime(); + + // Handle user input: Every time the user presses a key in the console, + // play a random sound or exit the application if he pressed ESCAPE. + + if (kbhit()) + { + int key = getch(); + + if (key == 27) + break; // user pressed ESCAPE key + else + { + // Play random sound at some random position. + // Note that when calling play3D(), no pointer is returned because we didn't + // specify the sound to start paused or to track it (as we did above + // with the music), so we also don't need to call drop(). + + vec3df pos(fmodf((float)rand(),radius*2)-radius, 0, 0); + + const char* filename; + + if (rand()%2) + filename = "../../media/bell.wav"; + else + filename = "../../media/explosion.wav"; + + engine->play3D(filename, pos); + + printf("\nplaying %s at %.1f %.1f %.1f\n", + filename, pos.X, pos.Y, pos.Z); + } + } + } + + // don't forget to release the resources as explained above. + + if (music) + music->drop(); // release music stream. + + engine->drop(); // delete engine + return 0; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.cbp new file mode 100644 index 0000000..f688779 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.cbp @@ -0,0 +1,68 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.sln new file mode 100644 index 0000000..4684f41 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "03.MemoryPlayback", "03.MemoryPlayback.vcproj", "{C9328295-3D0A-446B-0522-6C1B6FC7F4E6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C9328295-3D0A-446B-0522-6C1B6FC7F4E6}.Debug|Win32.ActiveCfg = Debug|Win32 + {C9328295-3D0A-446B-0522-6C1B6FC7F4E6}.Debug|Win32.Build.0 = Debug|Win32 + {C9328295-3D0A-446B-0522-6C1B6FC7F4E6}.Release|Win32.ActiveCfg = Release|Win32 + {C9328295-3D0A-446B-0522-6C1B6FC7F4E6}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.vcproj new file mode 100644 index 0000000..6a344a1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.xcodeproj/project.pbxproj new file mode 100644 index 0000000..b2bb082 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03.MemoryPlayback.xcodeproj/project.pbxproj @@ -0,0 +1,245 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 8DD76F6C0486A84900D96B5E /* 03.MemoryPlayback */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = 03.MemoryPlayback; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* 03.MemoryPlayback */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* 03.MemoryPlayback */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "03.MemoryPlayback" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 03.MemoryPlayback; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 03.MemoryPlayback; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "03.MemoryPlayback" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsp new file mode 100644 index 0000000..4a3e9f6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="03_MemoryPlayback" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=03_MemoryPlayback - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "03_MemoryPlayback.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "03_MemoryPlayback.mak" CFG="03_MemoryPlayback - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "03_MemoryPlayback - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "03_MemoryPlayback - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "03_MemoryPlayback - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "03_MemoryPlayback___Win32_Release" +# PROP BASE Intermediate_Dir "03_MemoryPlayback___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "03_MemoryPlayback___Win32_Release" +# PROP Intermediate_Dir "03_MemoryPlayback___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/03.MemoryPlayback.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "03_MemoryPlayback - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/03.MemoryPlayback.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "03_MemoryPlayback - Win32 Release" +# Name "03_MemoryPlayback - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsw new file mode 100644 index 0000000..d746eb0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/03_MemoryPlayback.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "03_MemoryPlayback"=.\03_MemoryPlayback.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/Makefile new file mode 100644 index 0000000..2a10d6c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/Makefile @@ -0,0 +1,8 @@ +CPP = g++ +OPTS = -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: + $(CPP) main.cpp -m32 -o example $(OPTS) + +clean: + rm example diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/main.cpp new file mode 100644 index 0000000..e8dd266 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/03.MemoryPlayback/main.cpp @@ -0,0 +1,240 @@ +// This example will show how to play sounds directly from memory using irrKlang. +// This is useful for embedding sounds directly in executables as well for +// making irrKlang work together with different APIs like advanced decoders or +// middleware such as Shockwave. + +// lets start: include irrKlang headers and other input/output stuff +// needed to print and get user input from the console. + +#include +#include +using namespace irrklang; + +// include console I/O methods (conio.h for windows, our wrapper in linux) +#if defined(WIN32) +#include +#else +#include "../common/conio.h" +#endif + +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + + +// the following huge array simply represents the plain sound data we +// want to play back. It is just the content of a .wav file from the +// game 'Hell Troopers'. Usually this sound is somewhere provided by +// some external software, but to keep it simple we just use this array as memory. + +// test.wav, converted to this array by bin2h tool, available at bin2h.irrlicht3d.org +int memorySoundDataSize = 3932; // data size in bytes +int memorySoundData[] = { + 0x46464952, 0xf54, 0x45564157, 0x20746d66, 0x12, + 0x10001, 0x1f40, 0x1f40, 0x80001, 0x61660000, 0x47463, + 0xf220000, 0x61640000, 0xf226174, 0x807f0000, 0x80807f7f, 0x7f808080, + 0x80818080, 0x7f7f7e80, 0x7f807f7f, 0x80808081, 0x7e7e7e80, 0x807e7e7e, + 0x7f7f7f7f, 0x7e7e7f7f, 0x7f7e7e7e, 0x807f8080, 0x8181807f, 0x80808180, + 0x80808080, 0x83818181, 0x87868584, 0x85878786, 0x4f5a7183, 0x8a816d6e, + 0x97918f8c, 0x5f6e7684, 0x85837768, 0x95949089, 0x6b707b8f, 0x83807672, + 0x908f8c84, 0x6f727f87, 0x7d7b7770, 0x87858482, 0x76797e86, 0x807e7977, + 0x8987857f, 0x7b7c8085, 0x837f7f7b, 0x888a8884, 0x7d7c7d85, 0x948b8380, + 0x318da69d, 0x92735250, 0xbb818f7e, 0x5b879fb8, 0x805f4c45, 0x978f8a7c, + 0x6a95a8a7, 0x7863575b, 0x95878483, 0x81929a9a, 0x75655f60, 0x8283847f, + 0x7b8c918e, 0x7b706a73, 0x88878886, 0x80878987, 0x7e757475, 0x84848684, + 0x7c838384, 0x867e7a78, 0x93949390, 0x3c5e879b, 0x98493e3b, 0xab9d9d99, + 0x518e97a0, 0x6f58493e, 0xa09da799, 0x808a95a2, 0x705d505a, 0x949d9b7e, + 0x7b84868a, 0x695d5f71, 0x91999688, 0x81807e88, 0x87828080, 0xa7a29d8f, + 0x3131aead, 0x87783147, 0xc1baabbc, 0x319db2a3, 0x5f523139, 0xb7a4b281, + 0x809b9aab, 0x513e376a, 0xadb0986b, 0x7c8f95aa, 0x53536c7e, 0xa4917764, + 0x707d97a1, 0x76717370, 0x948b7977, 0x74869097, 0x7d79706d, 0x92898786, + 0xa09d9c98, 0x31a2b3a7, 0x7f573150, 0xc2a1c0b7, 0x4a65b39f, 0x31333166, + 0xc0c6a1a0, 0x7ca5a0b9, 0x31465271, 0xc68e8342, 0x7078a9b7, 0x6e70616d, + 0x8e827b6d, 0x7c939f96, 0xa290797e, 0x97bdb8aa, 0x31313136, 0xaaa06b47, + 0xc1adbfc6, 0x316b6db0, 0x7e6e3131, 0xbdbcc5c0, 0x6e7e91af, 0x543c3645, + 0xbeb58f65, 0x5a7897ae, 0x796e5a5b, 0x9f93887e, 0x7989a0a0, 0xb0847b77, + 0x43a0c2be, 0x44313145, 0xbdafa569, 0x89c6a59f, 0x3131429d, 0xba644731, + 0xa4c1bec7, 0x63848a96, 0x40364255, 0xb2ae7d6b, 0x959da7b2, 0x5f607b7d, + 0x99806b62, 0xb5c3c3c4, 0x3131417b, 0xa4843931, 0xc6bdbdbb, 0x456faab0, + 0x31313131, 0xc6c4aa86, 0x85a8b6c3, 0x313e6476, 0xa3523731, 0xc1c5c6c3, + 0x657685b5, 0x8b796562, 0x8789b3a3, 0x4537313a, 0x92998760, 0xa38cb09d, + 0x4f737c87, 0x75654145, 0xaaa7b29f, 0x7b8394a0, 0x4f5a5967, 0xa2916957, + 0x9dafbabc, 0x9d928a93, 0x315a7fb3, 0x60313131, 0xb6c4c2b2, 0x92897bbc, + 0x33586a6b, 0x846e4d31, 0xb2c4c4c9, 0x5b657398, 0x58625658, 0xb89a8866, + 0xadbec5c3, 0x6a84a6ac, 0x31313131, 0xc7ab8331, 0xa9b8c6c3, 0x5566699b, + 0x3c313138, 0xc5b8a24f, 0x87a3c5c3, 0x58535274, 0x7b705f57, 0xc4c2b68f, + 0x8399c3c4, 0x3131315a, 0xb99a4a31, 0xc3c1c8b8, 0x6a90b1c0, 0x31313148, + 0xb89a6133, 0xb0c4c6c6, 0x6e7c97a1, 0x66535463, 0xc6c5947b, 0x314f97c4, + 0x5f313131, 0xaaa08a7a, 0xb6b5af9d, 0x52738fba, 0x573f3131, 0xaba99c69, + 0xa4a6a7ac, 0x838a94a5, 0xa58a716e, 0x7299adaf, 0x45313131, 0xc6bfaa69, + 0x7a859cb3, 0x80868a74, 0x4141586e, 0xad8e734c, 0x8994afb0, 0x91898184, + 0x8d8b9495, 0x9ab0a799, 0x31316888, 0x94553831, 0xa8b4b7aa, 0x8c8a8a9a, + 0x5e6f878c, 0x5b3e3c3f, 0xb0a88870, 0x99a4aab1, 0xa09b9597, 0x87acacac, + 0x3131576e, 0x8a553a31, 0xb1b5aba0, 0x8d959c9f, 0x5f6b7887, 0x55444247, + 0xa2958764, 0xa5aeb1b0, 0x9f9b9aa1, 0x9eafada8, 0x31395485, 0x75403131, + 0xb3b3af92, 0x878e969d, 0x727b8186, 0x4847505d, 0x92806f52, 0xa5a9ada6, + 0x9a97979f, 0xaab0a8a4, 0x405c719f, 0x4d363131, 0x9f958f66, 0x8a8f8f98, + 0x8694908f, 0x5457757b, 0x7e5b574e, 0xb1ad9a8a, 0x9aa3a7af, 0x9f9d9b9a, + 0x4f77849f, 0x31313341, 0x947d6346, 0x929f98a2, 0x8184848a, 0x7c7e8382, + 0x6e656a6e, 0xb0a38675, 0x91acb5b9, 0x77757b85, 0x838b8c84, 0x4a4e6673, + 0x83665b4f, 0x888e928b, 0x7e757679, 0x92939186, 0x6b767e86, 0x8980766b, + 0x909b9d9a, 0x6e717586, 0x8c807874, 0x848b8f91, 0x75727579, 0x87848178, + 0x787a8284, 0x7e7b7876, 0x83868684, 0x78797a81, 0x86837d7a, 0x83868888, + 0x7c7a7c7e, 0x8483827e, 0x7e808384, 0x7f7d7d7d, 0x7e7f8081, 0x7978797c, + 0x817f7e7c, 0x7d7e8080, 0x817e7e7d, 0x81828282, 0x7e7d7d80, 0x8383817f, + 0x7f818384, 0x7e7e7d7e, 0x80818180, 0x7e7e7e7e, 0x81807f7e, 0x7f7e8080, + 0x817f807e, 0x81828282, 0x7c7d7e80, 0x8281807d, 0x80818182, 0x80818080, + 0x7d7e7f80, 0x7e7c7c7d, 0x8181807f, 0x80808081, 0x81818080, 0x7e808181, + 0x7e7e7d7e, 0x807f7f7e, 0x81808080, 0x80808180, 0x7f7f8080, 0x7e7e7e7e, + 0x7f7e7e7e, 0x807f807f, 0x81808080, 0x7e808181, 0x7c7c7e7e, 0x807e7e7d, + 0x80808080, 0x80808080, 0x7e7e8080, 0x7e7e7e7e, 0x7f7f7e7e, 0x80807f7f, + 0x80808080, 0x80818080, 0x7e7e8080, 0x7e7e7e7d, 0x7e7e7f7f, 0x8080807f, + 0x80808080, 0x807f8080, 0x807f7e7f, 0x7f7f7f7f, 0x807f807f, 0x8180807f, + 0x807f8080, 0x7e7e7e7d, 0x80807f7e, 0x81808080, 0x7f808080, 0x7e7f7f7f, + 0x80807f7f, 0x7f7f8080, 0x7f807f7e, 0x80808080, 0x7e808080, 0x7e7e7e7e, + 0x8080807f, 0x7f808080, 0x7e7f7f7f, 0x80807f80, 0x7f807f80, 0x807f807f, + 0x80808080, 0x7f7f7f7f, 0x8080807f, 0x7f7f7f7f, 0x807f807f, 0x80808080, + 0x7f808080, 0x7f807e7f, 0x80808080, 0x7f7f7e7f, 0x807f8080, 0x80808080, + 0x80807f80, 0x7f7f7e7f, 0x7f7f7f7f, 0x80808080, 0x80808080, 0x7e7e7e7f, + 0x7f7e7e7f, 0x7e7f7f80, 0x80807f7f, 0x807f7f7f, 0x807f8080, 0x7f7f7f80, + 0x80807e7e, 0x81808080, 0x7f7f8080, 0x7e7e7e7e, 0x945f7880, 0x787c908a, + 0x89aaa75b, 0xa17f6868, 0x43617b95, 0x76aeaa97, 0x97ac5b4e, 0x886e4f76, + 0x31889099, 0x86acbb7a, 0x98a96e6e, 0x7152457c, 0x7d8a9eab, 0x8a979086, + 0x8c57515f, 0x8f7c8380, 0x858e9994, 0x81858780, 0x6487877c, 0x78756d6a, + 0x927c8774, 0x91899689, 0x7b718786, 0x66766780, 0x797d756d, 0x9c938f83, + 0x7b7c828d, 0x7973737f, 0x8c7a8070, 0x8383847a, 0x8b8c8384, 0x6b898079, + 0x7d817c79, 0x848f8681, 0x89949187, 0x8691887e, 0x80817e87, 0x817b7886, + 0x7578707a, 0x776a666d, 0x867d7978, 0x97918e8a, 0x979d9491, 0xa2999c96, + 0x476cb0a4, 0x38505d80, 0x6b565862, 0x887e7c7b, 0x596a7975, 0x686d7052, + 0xa4afac7f, 0xb3bdc3c0, 0x73bcc3bd, 0x31527b67, 0x604d5a31, 0xa19e9587, + 0x76818699, 0x3e4b3e47, 0x9a876d4a, 0xc3bbc1c8, 0xc3bebfc3, 0x3889317e, + 0x70513131, 0xb7ada777, 0x717cb6b5, 0x42315a77, 0x714a3146, 0xc1c99f99, + 0xbec5c3c7, 0x3131c4b7, 0x31313145, 0xc8b3847e, 0x93c0c1bc, 0x314a5960, + 0x45473a31, 0xbab98f71, 0xc3c5c3c2, 0xbfbeb7c3, 0x31683165, 0x8fb33131, + 0xbfc5bab5, 0x52348ec1, 0x5f313131, 0xad976a5a, 0xc4c3c6c1, 0xb0b0c3c3, + 0x6a3175c0, 0x73313149, 0xbfcdb595, 0x3f8ebebb, 0x31313f47, 0x8c7b603f, + 0xbebeb9aa, 0xaebfc3c2, 0x3173bfad, 0x3131335b, 0xc9c09d7a, 0x79b6baba, + 0x31373f31, 0x8c765231, 0xbbb2a7ac, 0xc0c2b1ad, 0x5fc3abbd, 0x31393131, + 0xc0b28e31, 0xc2b5bac9, 0x313131b3, 0x78603131, 0xbaacab82, 0xc5b8abb9, + 0xc5adbbbe, 0x594131a7, 0xa54b3131, 0xb6bccca8, 0x313c95c1, 0x4c313139, + 0xa5ad8c85, 0x9cabafad, 0xafbfc0c3, 0x31315dc1, 0x8e313131, 0xbac6c6aa, + 0x31abc6b3, 0x31313131, 0xba908165, 0xa1b4b2a8, 0xb3c3b69c, 0x31a1c1bb, + 0x3131545e, 0xccaa9b53, 0x86c0b0b6, 0x31383935, 0x99805635, 0xaea89fb2, + 0xc0c69da5, 0x9dc3b1c2, 0x31315231, 0xb39da431, 0xc2bfbebe, 0x313a3185, + 0x87733331, 0xb5a4af9d, 0xc2b39fa5, 0xa3beb2bf, 0x315f3131, 0xaaa25131, + 0xc1b3becb, 0x3e3135c3, 0x724d3131, 0xb8a9ad9b, 0xbea6acc1, 0xb8bbb8bd, + 0x316d316b, 0x9b7f3131, 0xbac3c8c0, 0x3f3161b1, 0x63343131, 0xb0b5aa8d, + 0xa499a5bd, 0xc3b2b7c5, 0x645f31a1, 0x8f543131, 0xbcc2bfa5, 0x443a8fc3, + 0x4f31313a, 0xaead9b81, 0x9ba9b6be, 0xc8a5b1b9, 0x9d4c31b5, 0x94993131, + 0xbbb8c584, 0x4d31a5c7, 0x40313154, 0xb2a48f78, 0xa5acbdc1, 0xc5afa7b6, + 0xb16231b8, 0x90b23131, 0xb9b3c176, 0x5d319dca, 0x7031315f, 0xacaa8c76, + 0xacaabbbd, 0xc7abaac3, 0x318331ad, 0x79bd3131, 0xc0b3ba83, 0x6c3187c6, + 0x73313152, 0xb2af9177, 0xb1a3a7c5, 0x91ba9ea9, 0x3175a831, 0xa4b98131, + 0xc6b2b9cd, 0x386c316c, 0x74623331, 0xc5baa896, 0xb2a7a4c1, 0x89c794a1, + 0x316bab31, 0xac688f31, 0xc8afb6cd, 0x366d3166, 0x72653c31, 0xc5b8ab94, + 0xa8b0a8bd, 0x91c58a8f, 0x317fa531, 0xa8718631, 0xb7adadcd, 0x3f753169, + 0x7a653d31, 0xc5b6a88d, 0xaaafa5bf, 0x8bc59097, 0x316dab31, 0xac699331, + 0xb5b1b3b1, 0x39703164, 0x7b6a3f31, 0xc4bda28c, 0xa9aba1a7, 0xa8c38c91, + 0x319e9031, 0x8b77be31, 0xc0b2afb6, 0x4d774281, 0x795d3131, 0xc3bea887, + 0xa7ad9faa, 0xc8ae9197, 0x31b13131, 0x62c28031, 0xc5afaccd, 0x835c31b8, + 0x706f3131, 0xc3a48a6e, 0xb7aea3b8, 0xb39c8aab, 0xa3a231a2, 0xc6653131, + 0xb8afcd81, 0x5d367bc1, 0x6431314a, 0xb88e8071, 0xa48fb8c5, 0xa68a87b9, + 0x3131c7b7, 0x6b3131a8, 0xb6c863c3, 0x49bac1b4, 0x31319575, 0x8a5b6937, + 0x92b0ae93, 0x86a6b2ad, 0xc4bba79d, 0x31c63131, 0x3fb33131, 0xc1b8b5c8, + 0x948d76b3, 0x4c513131, 0xa89c7955, 0xa99791ad, 0xa7a2798a, 0x31c5b899, + 0x31317531, 0xcb31a188, 0xbac5baad, 0x319c9662, 0x44465e31, 0xa5a08c8c, + 0x92aaa2a2, 0x8d94988e, 0x3eb1c696, 0x3131bb87, 0xa250634d, 0x9abbb8ad, + 0x3168a373, 0x51455b48, 0xa7a8947c, 0x7e90aca4, 0x8582967a, 0x94c0b29f, + 0x318fbe31, 0x5d417131, 0xb2c1b1a5, 0x31949d87, 0x4845573e, 0x9fa08b7b, + 0x83a09f9c, 0x7983867b, 0xc5afa290, 0xa03131ac, 0x8c573131, 0xb6b59a38, + 0xab9cadc9, 0x4f413165, 0x7d6f4a36, 0xbaa0aaa2, 0x818186aa, 0x93756a6c, + 0xc4c1ac9b, 0x31c2315a, 0x3f7e3731, 0xc8b7a67d, 0xb8ada5c1, 0x3c54413e, + 0x82786631, 0xb7b3b099, 0x7b847fa0, 0x887b6757, 0xc3c3b197, 0xa3936fb9, + 0x37313131, 0xbfb66931, 0xb7c2c3c8, 0x47504f84, 0x7a543131, 0xc5b69f8e, + 0x6d959dbe, 0x625d575c, 0xc2a0917d, 0x9fc1c4c3, 0x3169b645, 0x48313c31, + 0xc3c2bdb5, 0x64a8c4c5, 0x31334f4e, 0x97805c38, 0xadc3c6b9, 0x4765929c, + 0x725a514f, 0xc3bfb38a, 0x91c3c3c4, 0x3153b431, 0x555e4c31, 0xc8c2c4a5, + 0x5bbec4c5, 0x31314c3b, 0x986f5f3a, 0xc1c3c6af, 0x4a62a5a6, 0x4d3e493b, + 0xbdb39379, 0xc3c4c3c4, 0x9a31a4c2, 0x41313165, 0xbec64c31, 0xc0c5c2bf, + 0x54476bab, 0x70363137, 0xc5bb8f6f, 0x92b2c1c5, 0x363f5480, 0x94624541, + 0xc5c5b5a7, 0xb6c4c3c3, 0xb04466a2, 0x5e313131, 0xb6c77a34, 0xafc5bfc3, + 0x4f514789, 0x714c3131, 0xc5c09d7e, 0x7eb2b7bf, 0x3c445b65, 0x8f635141, + 0xc3c3aa9a, 0xacb8bebb, 0x3166a1af, 0x313131b8, 0xb67f3c89, 0xbbc7bca4, + 0x4c4d92a4, 0x53313c5f, 0x9f917571, 0xafb4c0bd, 0x5d5075a6, 0x693a3847, + 0xafa5876c, 0xb3b8bbc0, 0xa79a9aad, 0x3645658c, 0x718b3931, 0xb5bcaf34, + 0xa0a5a0c0, 0x4a6d5d9a, 0x6d714e37, 0xb19f9486, 0x9ba7a8a8, 0x615a6b77, + 0x7169384b, 0xa5ad927b, 0x9eaab6aa, 0xa094979a, 0xb83187a0, 0x8c3f3131, + 0x92b94d36, 0x99b09ac8, 0x7b7563ad, 0x73554e3c, 0x9f90875b, 0xa1ada2a5, + 0x707d7b9b, 0x4966573f, 0x8c868661, 0xaaa6b0b3, 0x8c9192a0, 0x89969689, + 0x3179c131, 0x49357244, 0xbc878489, 0x80b0b2ab, 0x4974896d, 0x6658655c, + 0x97968f7d, 0x909fa8a5, 0x4f718084, 0x523e7149, 0xa7818976, 0xa3a6a4b6, + 0x86898a9f, 0x9893958e, 0x3ba2aa55, 0x39456254, 0x91708679, 0x93a8af9a, + 0x61849176, 0x5d5b6968, 0x8c877f79, 0x989da29a, 0x73819194, 0x6a4f6b70, + 0x87726555, 0x9da79189, 0x8d959caa, 0x8e818089, 0x6583928f, 0x5b5b31c9, + 0x9a553c75, 0xa280976d, 0x8f819d95, 0x71736594, 0x786b5d70, 0x9483807b, + 0x968e9491, 0x7b7e7e90, 0x6c5d6571, 0x84746073, 0x9fa48886, 0x8e939795, + 0x817d7c82, 0x8c989486, 0x543caf5d, 0x4f4c7a61, 0x868e7c8c, 0x8d999291, + 0x7270948e, 0x72667776, 0x807a7777, 0x8e8e8a8b, 0x84848f91, 0x76727c81, + 0x79676e76, 0x88816e79, 0x93998987, 0x878b918f, 0x827d7e83, 0x68978c80, + 0x665aa06a, 0x715b7974, 0x7e867381, 0x85958e91, 0x797b918b, 0x74707a7b, + 0x7b797977, 0x8a8a8789, 0x84858e8e, 0x77797f81, 0x7a767677, 0x8478747c, + 0x8a8d7a7d, 0x898c8881, 0x7f7e8480, 0x83807d80, 0x8e8e8483, 0x7c7f7391, + 0x73786a69, 0x757c7365, 0x89897e7a, 0x868c8989, 0x7c817f80, 0x77797776, + 0x81807976, 0x86898681, 0x83868685, 0x787b7e7e, 0x79797676, 0x80807f7b, + 0x807b8680, 0x7b7f767b, 0x81857c7d, 0x84878782, 0x89858787, 0x7587918e, + 0x66626594, 0x845f6574, 0x8c818079, 0x8b8a8f8f, 0x7b7a7b8f, 0x776d707a, + 0x80797577, 0x8f878585, 0x8686888e, 0x77797b80, 0x76747375, 0x85837b7b, + 0x89888786, 0x80808486, 0x7979787c, 0x7c7b7877, 0x8583827d, 0x86868686, + 0x7d7e8183, 0x7978797b, 0x7e7b7979, 0x84848080, 0x83848486, 0x7b7c7e80, + 0x7b7a7b7b, 0x807f7d7c, 0x83838481, 0x80818384, 0x7b7c7c7e, 0x7c7b7b7b, + 0x8180807f, 0x81828282, 0x7e808080, 0x7c7c7c7e, 0x7e7e7e7c, 0x8181807e, + 0x81818181, 0x7f808081, 0x7c7d7e7e, 0x7e7e7e7d, 0x8080807f, 0x80818180, + 0x7e7f8080, 0x7d7c7c7e, 0x807e7e7d, 0x81818180, 0x7f808080, 0x7e7e7e7e, + 0x7e7e7e7d, 0x8080807e, 0x80808080, 0x7e7f8080, 0x807f7f7f, 0x807f7f7f, + 0x7f808080, 0x7e7f7e7f, 0x7e7e7f7f, 0x7e7e7e7f, 0x7f7f8080, 0x7f7f7f80, + 0x80808080, 0x807f8080, 0x7f7f8080, 0x7e7f7e80, 0x7f7f7f7f, 0x7f7f7e7f, + 0x7f7f7f7f, 0x80808080, 0x7e7e8080, 0x7e7f7e7f, 0x7e7e7e7f, 0x7f7f7f7f, + 0x0}; + + +// irrKlang 3D sound engine example 03, +// demonstrating playing sounds directly from memory +int main(int argc, const char** argv) +{ + // start the sound engine with default parameters + ISoundEngine* engine = createIrrKlangDevice(); + + if (!engine) + return 0; // error starting up the engine + + #ifdef __BIG_ENDIAN__ + printf("This example won't work on power PCs because the way we are "\ + "storing the wave data in this example source file. Sorry."); + return 0; + #endif + + // To make irrKlang know about the memory we want to play, we register + // the memory chunk as a sound source. We specify the name "testsound.wav", so + // we can use the name later for playing back the sound. Note that you + // could also specify a better fitting name like "ok.wav". + // The method addSoundSource() also returns a pointer to the created sound source, + // it can be used as parameter for play2D() later, if you don't want to + // play sounds via string names. + + engine->addSoundSourceFromMemory(memorySoundData, memorySoundDataSize, "testsound.wav"); + + // now play the sound until user presses escape + + printf("\nPlaying sound from memory.\n"); + printf("Press any key to play, ESCAPE to end program.\n"); + + while(true) // endless loop until user exits + { + // play the sound we added to memory + engine->play2D("testsound.wav"); + + if (getch() == 27) + break; // user pressed ESCAPE key, cancel + } + + engine->drop(); // delete engine + return 0; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.cbp new file mode 100644 index 0000000..e0fb598 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.cbp @@ -0,0 +1,68 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.sln new file mode 100644 index 0000000..5f72929 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "04.OverrideFileAccess", "04.OverrideFileAccess.vcproj", "{C9328295-3D0A-446B-9522-6C1B6FC7F4E6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C9328295-3D0A-446B-9522-6C1B6FC7F4E6}.Debug|Win32.ActiveCfg = Debug|Win32 + {C9328295-3D0A-446B-9522-6C1B6FC7F4E6}.Debug|Win32.Build.0 = Debug|Win32 + {C9328295-3D0A-446B-9522-6C1B6FC7F4E6}.Release|Win32.ActiveCfg = Release|Win32 + {C9328295-3D0A-446B-9522-6C1B6FC7F4E6}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.vcproj new file mode 100644 index 0000000..3650a13 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e3e40cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04.OverrideFileAccess.xcodeproj/project.pbxproj @@ -0,0 +1,245 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 8DD76F6C0486A84900D96B5E /* 04.OverrideFileAccess */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = 04.OverrideFileAccess; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* 04.OverrideFileAccess */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* 04.OverrideFileAccess */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "04.OverrideFileAccess" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 04.OverrideFileAccess; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 04.OverrideFileAccess; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "04.OverrideFileAccess" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsp new file mode 100644 index 0000000..551f35c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="04_OverrideFileAccess" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=04_OverrideFileAccess - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "04_OverrideFileAccess.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "04_OverrideFileAccess.mak" CFG="04_OverrideFileAccess - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "04_OverrideFileAccess - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "04_OverrideFileAccess - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "04_OverrideFileAccess - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "04_OverrideFileAccess___Win32_Release" +# PROP BASE Intermediate_Dir "04_OverrideFileAccess___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "04_OverrideFileAccess___Win32_Release" +# PROP Intermediate_Dir "04_OverrideFileAccess___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/04.OverrideFileAccess.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "04_OverrideFileAccess - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/04.OverrideFileAccess.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "04_OverrideFileAccess - Win32 Release" +# Name "04_OverrideFileAccess - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsw new file mode 100644 index 0000000..f30f6c1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/04_OverrideFileAccess.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "04_OverrideFileAccess"=.\04_OverrideFileAccess.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/Makefile new file mode 100644 index 0000000..2a10d6c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/Makefile @@ -0,0 +1,8 @@ +CPP = g++ +OPTS = -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: + $(CPP) main.cpp -m32 -o example $(OPTS) + +clean: + rm example diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/main.cpp new file mode 100644 index 0000000..33b9908 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/04.OverrideFileAccess/main.cpp @@ -0,0 +1,157 @@ +// This example will show how to override file access with irrKlang. +// This is useful if you want to read sounds from other sources than +// just files, for example from custom internet streams or +// an own encypted archive format. + +// lets start: include irrKlang headers and other input/output stuff +// needed to print and get user input from the console. +#if defined(WIN32) +#include +#else +#include "../common/conio.h" +#endif + +#include +#include +#include +using namespace irrklang; + +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + +// To start, we need to implement the class IFileFactory, which irrKlang uses +// to open files. The interface consists only of one single method named +// createFileReader(const ik_c8* filename). In this method, we create return +// our own file access class and return it: + +// a class implementing the IFileFactory interface to override irrklang file access +class CMyFileFactory : public IFileFactory +{ +public: + + //! Opens a file for read access. Simply return 0 if file not found. + virtual IFileReader* createFileReader(const ik_c8* filename) + { + printf("MyFileFactory: open file %s\n", filename); + + FILE* file = fopen(filename, "rb"); + if (!file) + return 0; + + return new CMyReadFile(file, filename); + } + +protected: + + // To write our own file access methods returned in the method above, + // we only need to implement the IFileReader interface, which has some + // standard methods like read(), seek(), getPos() etc. In this example + // we simply use fopen, fread, fseek etc and print to the console + // when we are reading or seeking: + + // an own implementation of IReadFile to overwrite read access to files + class CMyReadFile : public IFileReader + { + public: + + // constructor, store size of file and filename + CMyReadFile(FILE* openedFile, const ik_c8* filename) + { + File = openedFile; + strcpy(Filename, filename); + + // get file size + fseek(File, 0, SEEK_END); + FileSize = ftell(File); + fseek(File, 0, SEEK_SET); + } + + ~CMyReadFile() + { + fclose(File); + } + + //! reads data, returns how much was read + ik_s32 read(void* buffer, ik_u32 sizeToRead) + { + printf("CMyReadFile: read %d bytes\n", sizeToRead); + return (ik_s32)fread(buffer, 1, sizeToRead, File); + } + + //! changes position in file, returns true if successful + bool seek(ik_s32 finalPos, bool relativeMovement) + { + printf("CMyReadFile: seek to position %d\n", finalPos); + return fseek(File, finalPos, relativeMovement ? SEEK_CUR : SEEK_SET) == 0; + } + + //! returns size of file + ik_s32 getSize() + { + return FileSize; + } + + //! returns where in the file we are. + ik_s32 getPos() + { + return ftell(File); + } + + //! returns name of file + const ik_c8* getFileName() + { + return Filename; + } + + FILE* File; + char Filename[1024]; + ik_s32 FileSize; + + }; // end class CMyReadFile + +}; // end class CMyFileFactory + + + +// The main work is done, the only thing missing is to start up the +// sound engine and tell it to use the created FileFactory for file access: + +// irrKlang 3D sound engine example 04, +// demonstrating how to override file access of irrKlang +int main(int argc, const char** argv) +{ + // start the sound engine with default parameters + ISoundEngine* engine = createIrrKlangDevice(); + + if (!engine) + return 0; // error starting up the engine + + // create an instance of the file factory and let + // irrKlang know about it. irrKlang will drop() the + // factory itself if it doesn't need it any longer. + + CMyFileFactory* factory = new CMyFileFactory(); + engine->addFileFactory(factory); + factory->drop(); // we don't need it anymore, delete it + + // that's it, play some sounds with our overriden + // file access methods: + + printf("\nDemonstrating file access overriding.\n"); + printf("Press any key to start playing sounds, then press escape to cancel\n"); + + getch(); + + engine->play2D("../../media/getout.ogg", true); + + while(true) // endless loop until user exits + { + // play some wave sound + engine->play2D("../../media/explosion.wav"); + + if (getch() == 27) + break; // user pressed ESCAPE key, cancel + } + + engine->drop(); // delete engine + return 0; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.cbp new file mode 100644 index 0000000..73947e8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.cbp @@ -0,0 +1,68 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.sln new file mode 100644 index 0000000..0166288 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.sln @@ -0,0 +1,17 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "05.Effects", "05.Effects.vcproj", "{E1365793-F062-4EE2-B5D3-BB517EBF7D5A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E1365793-F062-4EE2-B5D3-BB517EBF7D5A}.Debug|Win32.ActiveCfg = Debug|Win32 + {E1365793-F062-4EE2-B5D3-BB517EBF7D5A}.Release|Win32.ActiveCfg = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.vcproj new file mode 100644 index 0000000..590dcfb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9abf278 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05.Effects.xcodeproj/project.pbxproj @@ -0,0 +1,245 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 8DD76F6C0486A84900D96B5E /* 05.Effects */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = 05.Effects; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* 05.Effects */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* 05.Effects */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "05.Effects" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 05.Effects; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + PRODUCT_NAME = 05.Effects; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "05.Effects" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsp new file mode 100644 index 0000000..8d30547 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="05_Effects" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=05_Effects - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "05_Effects.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "05_Effects.mak" CFG="05_Effects - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "05_Effects - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "05_Effects - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "05_Effects - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "05_Effects___Win32_Release" +# PROP BASE Intermediate_Dir "05_Effects___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "05_Effects___Win32_Release" +# PROP Intermediate_Dir "05_Effects___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/05.Effects.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "05_Effects - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/05.Effects.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "05_Effects - Win32 Release" +# Name "05_Effects - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsw new file mode 100644 index 0000000..3b3da01 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/05_Effects.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "05_Effects"=.\05_Effects.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/Makefile new file mode 100644 index 0000000..2a10d6c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/Makefile @@ -0,0 +1,8 @@ +CPP = g++ +OPTS = -I"../../include" -L"/usr/lib" ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: + $(CPP) main.cpp -m32 -o example $(OPTS) + +clean: + rm example diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/main.cpp new file mode 100644 index 0000000..a655016 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/05.Effects/main.cpp @@ -0,0 +1,135 @@ +// This example will show how to use sound effects such as echo, reverb and distortion. +// irrKlang supports the effects Chorus, Compressor, Distortion, Echo, Flanger +// Gargle, 3DL2Reverb, ParamEq and WavesReverb. + +// Lets start: include the irrKlang headers and other input/output stuff +// needed to print and get user input from the console. And as exlained +// in the first tutorial, we use the namespace irr and audio and +// link to the irrKlang.dll file. +#if defined(WIN32) + #include +#else + #include "../common/conio.h" +#endif + +#include +#include +#include +using namespace irrklang; + +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + + +// Now let's start with the irrKlang 3D sound engine example 05, +// demonstrating sound effects. Simply startup the engine using +// using createIrrKlangDevice() with default options/parameters. +int main(int argc, const char** argv) +{ + // start the sound engine with default parameters + ISoundEngine* engine = createIrrKlangDevice(); + + if (!engine) + return 0; // error starting up the engine + + // we play a .xm file as music here. Note that the last parameter + // named 'enableSoundEffects' has been set to 'true' here. If this + // is not done, sound effects cannot be used with this sound. + // After this, we print some help text and start a loop which reads + // user keyboard input. + + const char* filename = "../../media/MF-W-90.XM"; + + #ifdef __BIG_ENDIAN__ + filename = "../../media/ophelia.mp3"; // no xm playback on power pcs currently + #endif + + ISound* music = engine->play2D(filename, + true, false, true, ESM_AUTO_DETECT, true); + + // Print some help text and start the display loop + + printf("\nSound effects example. Keys:\n"); + printf("\nESCAPE: quit\n"); + printf("w: enable/disable waves reverb\n"); + printf("d: enable/disable distortion\n"); + printf("e: enable/disable echo\n"); + printf("a: disable all effects\n"); + + while(true) // endless loop until user exits + { + int key = getch(); + + if (key == 27) + break; // user pressed ESCAPE key + else + { + // user maybe pressed an effects key, + // now enable or disable a sound effect. + + // We get a pointer to the ISoundEffectControl interface, + // but this only exists if the sound driver supports sound effects + // and if the sound was started setting the 'enableSoundeffects' flag + // to 'true' as we did above. This pointer is only valid as long as + // we don't call music->drop() and delete the music with this. + + ISoundEffectControl* fx = 0; + if (music) + fx = music->getSoundEffectControl(); + + if (!fx) + { + // some sound devices do not support sound effects. + printf("This device or sound does not support sound effects.\n"); + continue; + } + + // here we disable or enable the sound effects of the music depending + // on what key the user pressed. Note that every enableXXXSoundEffect() + // method also accepts a lot of parameters, so it is easily possible + // to influence the details of the effect. If the sound effect is + // already active, it is also possible to simply call the + // enableXXXSoundEffect() method again to just change the effect parameters, + // although we aren't doing this here. + + if (key < 'a') // make key lower + key += 'a' - 'A'; + + switch(key) + { + case 'd': + if (fx->isDistortionSoundEffectEnabled()) + fx->disableDistortionSoundEffect(); + else + fx->enableDistortionSoundEffect(); + break; + + case 'e': + if (fx->isEchoSoundEffectEnabled()) + fx->disableEchoSoundEffect(); + else + fx->enableEchoSoundEffect(); + break; + + case 'w': + if (fx->isWavesReverbSoundEffectEnabled()) + fx->disableWavesReverbSoundEffect(); + else + fx->enableWavesReverbSoundEffect(); + break; + + case 'a': + fx->disableAllEffects(); + break; + } + } + } + + // don't forget to release the resources + + if (music) + music->drop(); // release music stream. + + engine->drop(); // delete Engine + + return 0; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.cbp b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.cbp new file mode 100644 index 0000000..a138740 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.cbp @@ -0,0 +1,68 @@ + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.sln new file mode 100644 index 0000000..e46c6d8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.sln @@ -0,0 +1,17 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "06.Recording", "06.Recording.vcproj", "{BF01F846-8239-4712-8C60-0E17DF3FECA1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BF01F846-8239-4712-8C60-0E17DF3FECA1}.Debug|Win32.ActiveCfg = Debug|Win32 + {BF01F846-8239-4712-8C60-0E17DF3FECA1}.Release|Win32.ActiveCfg = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.vcproj new file mode 100644 index 0000000..8c91bd8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06.Recording.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsp b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsp new file mode 100644 index 0000000..ee66bdc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="06_Recording" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=06_Recording - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "06_Recording.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "06_Recording.mak" CFG="06_Recording - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "06_Recording - Win32 Release" (basierend auf "Win32 (x86) Console Application") +!MESSAGE "06_Recording - Win32 Debug" (basierend auf "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "06_Recording - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "06_Recording___Win32_Release" +# PROP BASE Intermediate_Dir "06_Recording___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "06_Recording___Win32_Release" +# PROP Intermediate_Dir "06_Recording___Win32_Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/win32-visualstudio/06.Recording.exe" /libpath:"../../lib/Win32-visualStudio" + +!ELSEIF "$(CFG)" == "06_Recording - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/win32-visualstudio/06.Recording.exe" /pdbtype:sept /libpath:"../../lib/Win32-visualStudio" + +!ENDIF + +# Begin Target + +# Name "06_Recording - Win32 Release" +# Name "06_Recording - Win32 Debug" +# Begin Source File + +SOURCE=.\main.cpp +# End Source File +# End Target +# End Project diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsw b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsw new file mode 100644 index 0000000..39f7215 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/06_Recording.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "06_Recording"=.\06_Recording.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/main.cpp new file mode 100644 index 0000000..69471f4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/06.Recording/main.cpp @@ -0,0 +1,127 @@ +// This example will show how to record and play back audio. Additionally, +// the example shows how to write recorded audio out into a .WAV file. +// Audio recording is currently only supported on windows, so this +// example won't work on Linux or MacOS for now. + +// Lets start: include the irrKlang headers and other input/output stuff +// needed to print and get user input from the console. And as exlained +// in the first tutorial, we use the namespace irr and audio and +// link to the irrKlang.dll file. +#include +#include + +// include console I/O methods (conio.h for windows, our wrapper in linux) +#if defined(WIN32) +#include +#else +#include "../common/conio.h" +#endif +#pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + + +using namespace irrklang; + +void writeWaveFile(const char* filename, SAudioStreamFormat format, void* data); + +// The following will simply start up the irrklang engine, create an audio recorder, record +// some audio when the user presses a key, and save that data to a wave file. Additionally, +// the data is added into the sound engine and played back as well. +int main(int argc, const char** argv) +{ + ISoundEngine* engine = createIrrKlangDevice(); + IAudioRecorder* recorder = createIrrKlangAudioRecorder(engine); + + if (!engine || !recorder) + { + printf("Could not create audio engine or audio recoder\n"); + return 1; + } + + printf("\nPress any key to start recording audio...\n"); + getch(); + + // record some audio + + recorder->startRecordingBufferedAudio(); + + printf("\nRECORDING. Press any key to stop...\n"); + getch(); + + recorder->stopRecordingAudio(); + + printf("\nRecording done, recorded %dms of audio.\n", + recorder->getAudioFormat().FrameCount * 1000 / recorder->getAudioFormat().SampleRate ); + printf("Press any key to play back recorded audio...\n"); + getch(); + + // write the recorded audio as wave file + writeWaveFile("recorded.wav", recorder->getAudioFormat(), recorder->getRecordedAudioData()); + + // play the recorded audio + recorder->addSoundSourceFromRecordedAudio("myRecordedVoice"); + engine->play2D("myRecordedVoice", true); + + // wait until user presses a key + printf("\nPress any key to quit..."); + getch(); + + recorder->drop(); + engine->drop(); // delete engine + + return 0; +} + + +// writes the recorded audio data into a .WAV file +void writeWaveFile(const char* filename, SAudioStreamFormat format, void* data) +{ + if (!data) + { + printf("Could not save recorded data to %s, nothing recorded\n", filename); + return; + } + + FILE* file = fopen(filename, "wb"); + + if (file) + { + // write wave header + unsigned short formatType = 1; + unsigned short numChannels = format.ChannelCount; + unsigned long sampleRate = format.SampleRate; + unsigned short bitsPerChannel = format.getSampleSize() * 8; + unsigned short bytesPerSample = format.getFrameSize() ; + unsigned long bytesPerSecond = format.getBytesPerSecond(); + unsigned long dataLen = format.getSampleDataSize(); + + const int fmtChunkLen = 16; + const int waveHeaderLen = 4 + 8 + fmtChunkLen + 8; + + unsigned long totalLen = waveHeaderLen + dataLen; + + fwrite("RIFF", 4, 1, file); + fwrite(&totalLen, 4, 1, file); + fwrite("WAVE", 4, 1, file); + fwrite("fmt ", 4, 1, file); + fwrite(&fmtChunkLen, 4, 1, file); + fwrite(&formatType, 2, 1, file); + fwrite(&numChannels, 2, 1, file); + fwrite(&sampleRate, 4, 1, file); + fwrite(&bytesPerSecond, 4, 1, file); + fwrite(&bytesPerSample, 2, 1, file); + fwrite(&bitsPerChannel, 2, 1, file); + + // write data + + fwrite("data", 4, 1, file); + fwrite(&dataLen, 4, 1, file); + fwrite(data, dataLen, 1, file); + + // finish + + printf("Saved audio as %s\n", filename); + fclose(file); + } + else + printf("Could not open %s to write audio data\n", filename); +} \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Enumerations.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Enumerations.H new file mode 100644 index 0000000..4c3337c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Enumerations.H @@ -0,0 +1,428 @@ +// +// "$Id: Enumerations.H 4288 2005-04-16 00:13:17Z mike $" +// +// Enumerations for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Enumerations_H +#define Fl_Enumerations_H + +# include "Fl_Export.H" + + +// +// The FLTK version number; this is changed slightly from the beta versions +// because the old "const double" definition would not allow for conditional +// compilation... +// +// FL_VERSION is a double that describes the major and minor version numbers. +// Version 1.1 is actually stored as 1.01 to allow for more than 9 minor +// releases. +// +// The FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants +// give the integral values for the major, minor, and patch releases +// respectively. +// + +#define FL_MAJOR_VERSION 1 +#define FL_MINOR_VERSION 1 +#define FL_PATCH_VERSION 7 +#define FL_VERSION ((double)FL_MAJOR_VERSION + \ + (double)FL_MINOR_VERSION * 0.01 + \ + (double)FL_PATCH_VERSION * 0.0001) + +typedef unsigned char uchar; +typedef unsigned long ulong; + +enum Fl_Event { // events + FL_NO_EVENT = 0, + FL_PUSH = 1, + FL_RELEASE = 2, + FL_ENTER = 3, + FL_LEAVE = 4, + FL_DRAG = 5, + FL_FOCUS = 6, + FL_UNFOCUS = 7, + FL_KEYDOWN = 8, + FL_KEYUP = 9, + FL_CLOSE = 10, + FL_MOVE = 11, + FL_SHORTCUT = 12, + FL_DEACTIVATE = 13, + FL_ACTIVATE = 14, + FL_HIDE = 15, + FL_SHOW = 16, + FL_PASTE = 17, + FL_SELECTIONCLEAR = 18, + FL_MOUSEWHEEL = 19, + FL_DND_ENTER = 20, + FL_DND_DRAG = 21, + FL_DND_LEAVE = 22, + FL_DND_RELEASE = 23 +}; +#define FL_KEYBOARD FL_KEYDOWN + +enum Fl_When { // Fl_Widget::when(): + FL_WHEN_NEVER = 0, + FL_WHEN_CHANGED = 1, + FL_WHEN_RELEASE = 4, + FL_WHEN_RELEASE_ALWAYS= 6, + FL_WHEN_ENTER_KEY = 8, + FL_WHEN_ENTER_KEY_ALWAYS=10, + FL_WHEN_ENTER_KEY_CHANGED=11, + FL_WHEN_NOT_CHANGED = 2 // modifier bit to disable changed() test +}; + +// Fl::event_key() and Fl::get_key(n) (use ascii letters for all other keys): +#define FL_Button 0xfee8 // use Fl_Button+FL_*_MOUSE +#define FL_BackSpace 0xff08 +#define FL_Tab 0xff09 +#define FL_Enter 0xff0d +#define FL_Pause 0xff13 +#define FL_Scroll_Lock 0xff14 +#define FL_Escape 0xff1b +#define FL_Home 0xff50 +#define FL_Left 0xff51 +#define FL_Up 0xff52 +#define FL_Right 0xff53 +#define FL_Down 0xff54 +#define FL_Page_Up 0xff55 +#define FL_Page_Down 0xff56 +#define FL_End 0xff57 +#define FL_Print 0xff61 +#define FL_Insert 0xff63 +#define FL_Menu 0xff67 // the "menu/apps" key on XFree86 +#define FL_Help 0xff68 // the 'help' key on Mac keyboards +#define FL_Num_Lock 0xff7f +#define FL_KP 0xff80 // use FL_KP+'x' for 'x' on numeric keypad +#define FL_KP_Enter 0xff8d // same as Fl_KP+'\r' +#define FL_KP_Last 0xffbd // use to range-check keypad +#define FL_F 0xffbd // use FL_F+n for function key n +#define FL_F_Last 0xffe0 // use to range-check function keys +#define FL_Shift_L 0xffe1 +#define FL_Shift_R 0xffe2 +#define FL_Control_L 0xffe3 +#define FL_Control_R 0xffe4 +#define FL_Caps_Lock 0xffe5 +#define FL_Meta_L 0xffe7 // the left MSWindows key on XFree86 +#define FL_Meta_R 0xffe8 // the right MSWindows key on XFree86 +#define FL_Alt_L 0xffe9 +#define FL_Alt_R 0xffea +#define FL_Delete 0xffff + +// Fl::event_button(): +#define FL_LEFT_MOUSE 1 +#define FL_MIDDLE_MOUSE 2 +#define FL_RIGHT_MOUSE 3 + +// Fl::event_state(): +#define FL_SHIFT 0x00010000 +#define FL_CAPS_LOCK 0x00020000 +#define FL_CTRL 0x00040000 +#define FL_ALT 0x00080000 +#define FL_NUM_LOCK 0x00100000 // most X servers do this? +#define FL_META 0x00400000 // correct for XFree86 +#define FL_SCROLL_LOCK 0x00800000 // correct for XFree86 +#define FL_BUTTON1 0x01000000 +#define FL_BUTTON2 0x02000000 +#define FL_BUTTON3 0x04000000 +#define FL_BUTTONS 0x7f000000 // All possible buttons +#define FL_BUTTON(n) (0x00800000<<(n)) + +#ifdef __APPLE__ +# define FL_COMMAND FL_META +#else +# define FL_COMMAND FL_CTRL +#endif // __APPLE__ + +enum Fl_Boxtype { // boxtypes (if you change these you must fix fl_boxtype.C): + FL_NO_BOX = 0, FL_FLAT_BOX, + + FL_UP_BOX, FL_DOWN_BOX, + FL_UP_FRAME, FL_DOWN_FRAME, + FL_THIN_UP_BOX, FL_THIN_DOWN_BOX, + FL_THIN_UP_FRAME, FL_THIN_DOWN_FRAME, + FL_ENGRAVED_BOX, FL_EMBOSSED_BOX, + FL_ENGRAVED_FRAME, FL_EMBOSSED_FRAME, + FL_BORDER_BOX, _FL_SHADOW_BOX, + FL_BORDER_FRAME, _FL_SHADOW_FRAME, + _FL_ROUNDED_BOX, _FL_RSHADOW_BOX, + _FL_ROUNDED_FRAME, _FL_RFLAT_BOX, + _FL_ROUND_UP_BOX, _FL_ROUND_DOWN_BOX, + _FL_DIAMOND_UP_BOX, _FL_DIAMOND_DOWN_BOX, + _FL_OVAL_BOX, _FL_OSHADOW_BOX, + _FL_OVAL_FRAME, _FL_OFLAT_BOX, + _FL_PLASTIC_UP_BOX, _FL_PLASTIC_DOWN_BOX, + _FL_PLASTIC_UP_FRAME, _FL_PLASTIC_DOWN_FRAME, + _FL_PLASTIC_THIN_UP_BOX, _FL_PLASTIC_THIN_DOWN_BOX, + _FL_PLASTIC_ROUND_UP_BOX, _FL_PLASTIC_ROUND_DOWN_BOX, + FL_FREE_BOXTYPE +}; +extern FL_EXPORT Fl_Boxtype fl_define_FL_ROUND_UP_BOX(); +#define FL_ROUND_UP_BOX fl_define_FL_ROUND_UP_BOX() +#define FL_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_ROUND_UP_BOX()+1) +extern FL_EXPORT Fl_Boxtype fl_define_FL_SHADOW_BOX(); +#define FL_SHADOW_BOX fl_define_FL_SHADOW_BOX() +#define FL_SHADOW_FRAME (Fl_Boxtype)(fl_define_FL_SHADOW_BOX()+2) +extern FL_EXPORT Fl_Boxtype fl_define_FL_ROUNDED_BOX(); +#define FL_ROUNDED_BOX fl_define_FL_ROUNDED_BOX() +#define FL_ROUNDED_FRAME (Fl_Boxtype)(fl_define_FL_ROUNDED_BOX()+2) +extern FL_EXPORT Fl_Boxtype fl_define_FL_RFLAT_BOX(); +#define FL_RFLAT_BOX fl_define_FL_RFLAT_BOX() +extern FL_EXPORT Fl_Boxtype fl_define_FL_RSHADOW_BOX(); +#define FL_RSHADOW_BOX fl_define_FL_RSHADOW_BOX() +extern FL_EXPORT Fl_Boxtype fl_define_FL_DIAMOND_BOX(); +#define FL_DIAMOND_UP_BOX fl_define_FL_DIAMOND_BOX() +#define FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_DIAMOND_BOX()+1) +extern FL_EXPORT Fl_Boxtype fl_define_FL_OVAL_BOX(); +#define FL_OVAL_BOX fl_define_FL_OVAL_BOX() +#define FL_OSHADOW_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+1) +#define FL_OVAL_FRAME (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+2) +#define FL_OFLAT_BOX (Fl_Boxtype)(fl_define_FL_OVAL_BOX()+3) + +extern FL_EXPORT Fl_Boxtype fl_define_FL_PLASTIC_UP_BOX(); +#define FL_PLASTIC_UP_BOX fl_define_FL_PLASTIC_UP_BOX() +#define FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1) +#define FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2) +#define FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3) +#define FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4) +#define FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5) +#define FL_PLASTIC_ROUND_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+6) +#define FL_PLASTIC_ROUND_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+7) + +// conversions of box types to other boxtypes: +inline Fl_Boxtype fl_down(Fl_Boxtype b) {return (Fl_Boxtype)(b|1);} +inline Fl_Boxtype fl_frame(Fl_Boxtype b) {return (Fl_Boxtype)(b|2);} + +// back-compatability box types: +#define FL_FRAME FL_ENGRAVED_FRAME +#define FL_FRAME_BOX FL_ENGRAVED_BOX +#define FL_CIRCLE_BOX FL_ROUND_DOWN_BOX +#define FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX + +enum Fl_Labeltype { // labeltypes: + FL_NORMAL_LABEL = 0, + FL_NO_LABEL, + _FL_SHADOW_LABEL, + _FL_ENGRAVED_LABEL, + _FL_EMBOSSED_LABEL, + _FL_MULTI_LABEL, + _FL_ICON_LABEL, + _FL_IMAGE_LABEL, + + FL_FREE_LABELTYPE +}; +#define FL_SYMBOL_LABEL FL_NORMAL_LABEL +extern Fl_Labeltype FL_EXPORT fl_define_FL_SHADOW_LABEL(); +#define FL_SHADOW_LABEL fl_define_FL_SHADOW_LABEL() +extern Fl_Labeltype FL_EXPORT fl_define_FL_ENGRAVED_LABEL(); +#define FL_ENGRAVED_LABEL fl_define_FL_ENGRAVED_LABEL() +extern Fl_Labeltype FL_EXPORT fl_define_FL_EMBOSSED_LABEL(); +#define FL_EMBOSSED_LABEL fl_define_FL_EMBOSSED_LABEL() + +enum Fl_Align { // align() values + FL_ALIGN_CENTER = 0, + FL_ALIGN_TOP = 1, + FL_ALIGN_BOTTOM = 2, + FL_ALIGN_LEFT = 4, + FL_ALIGN_RIGHT = 8, + FL_ALIGN_INSIDE = 16, + FL_ALIGN_TEXT_OVER_IMAGE = 32, + FL_ALIGN_IMAGE_OVER_TEXT = 0, + FL_ALIGN_CLIP = 64, + FL_ALIGN_WRAP = 128, + FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT, + FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT, + FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT, + FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT, + FL_ALIGN_LEFT_TOP = FL_ALIGN_TOP_LEFT, + FL_ALIGN_RIGHT_TOP = FL_ALIGN_TOP_RIGHT, + FL_ALIGN_LEFT_BOTTOM = FL_ALIGN_BOTTOM_LEFT, + FL_ALIGN_RIGHT_BOTTOM = FL_ALIGN_BOTTOM_RIGHT, + FL_ALIGN_NOWRAP = 0 // for back compatability +}; + +enum Fl_Font { // standard fonts + FL_HELVETICA = 0, + FL_HELVETICA_BOLD, + FL_HELVETICA_ITALIC, + FL_HELVETICA_BOLD_ITALIC, + FL_COURIER, + FL_COURIER_BOLD, + FL_COURIER_ITALIC, + FL_COURIER_BOLD_ITALIC, + FL_TIMES, + FL_TIMES_BOLD, + FL_TIMES_ITALIC, + FL_TIMES_BOLD_ITALIC, + FL_SYMBOL, + FL_SCREEN, + FL_SCREEN_BOLD, + FL_ZAPF_DINGBATS, + + FL_FREE_FONT = 16, // first one to allocate + FL_BOLD = 1, // add this to helvetica, courier, or times + FL_ITALIC = 2 // add this to helvetica, courier, or times +}; + +extern FL_EXPORT int FL_NORMAL_SIZE; + +enum Fl_Color { // standard colors + // These are used as default colors in widgets and altered as necessary + FL_FOREGROUND_COLOR = 0, + FL_BACKGROUND2_COLOR = 7, + FL_INACTIVE_COLOR = 8, + FL_SELECTION_COLOR = 15, + + // boxtypes generally limit themselves to these colors so + // the whole ramp is not allocated: + FL_GRAY0 = 32, // 'A' + FL_DARK3 = 39, // 'H' + FL_DARK2 = 45, // 'N' + FL_DARK1 = 47, // 'P' + FL_BACKGROUND_COLOR = 49, // 'R' default background color + FL_LIGHT1 = 50, // 'S' + FL_LIGHT2 = 52, // 'U' + FL_LIGHT3 = 54, // 'W' + + // FLTK provides a 5x8x5 color cube that is used with colormap visuals + FL_BLACK = 56, + FL_RED = 88, + FL_GREEN = 63, + FL_YELLOW = 95, + FL_BLUE = 216, + FL_MAGENTA = 248, + FL_CYAN = 223, + FL_DARK_RED = 72, + + FL_DARK_GREEN = 60, + FL_DARK_YELLOW = 76, + FL_DARK_BLUE = 136, + FL_DARK_MAGENTA = 152, + FL_DARK_CYAN = 140, + + FL_WHITE = 255 +}; + +#define FL_FREE_COLOR (Fl_Color)16 +#define FL_NUM_FREE_COLOR 16 +#define FL_GRAY_RAMP (Fl_Color)32 +#define FL_NUM_GRAY 24 +#define FL_GRAY FL_BACKGROUND_COLOR +#define FL_COLOR_CUBE (Fl_Color)56 +#define FL_NUM_RED 5 +#define FL_NUM_GREEN 8 +#define FL_NUM_BLUE 5 + +FL_EXPORT Fl_Color fl_inactive(Fl_Color c); +FL_EXPORT Fl_Color fl_contrast(Fl_Color fg, Fl_Color bg); +FL_EXPORT Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight); +inline Fl_Color fl_lighter(Fl_Color c) { return fl_color_average(c, FL_WHITE, .67f); } +inline Fl_Color fl_darker(Fl_Color c) { return fl_color_average(c, FL_BLACK, .67f); } +inline Fl_Color fl_rgb_color(uchar r, uchar g, uchar b) { + if (!r && !g && !b) return FL_BLACK; + else return (Fl_Color)(((((r << 8) | g) << 8) | b) << 8); +} +inline Fl_Color fl_rgb_color(uchar g) { + if (!g) return FL_BLACK; + else return (Fl_Color)(((((g << 8) | g) << 8) | g) << 8); +} +inline Fl_Color fl_gray_ramp(int i) {return (Fl_Color)(i+FL_GRAY_RAMP);} +inline Fl_Color fl_color_cube(int r, int g, int b) { + return (Fl_Color)((b*FL_NUM_RED + r) * FL_NUM_GREEN + g + FL_COLOR_CUBE);} + +enum Fl_Cursor { // standard cursors + FL_CURSOR_DEFAULT = 0, + FL_CURSOR_ARROW = 35, + FL_CURSOR_CROSS = 66, + FL_CURSOR_WAIT = 76, + FL_CURSOR_INSERT = 77, + FL_CURSOR_HAND = 31, + FL_CURSOR_HELP = 47, + FL_CURSOR_MOVE = 27, + // fltk provides bitmaps for these: + FL_CURSOR_NS = 78, + FL_CURSOR_WE = 79, + FL_CURSOR_NWSE = 80, + FL_CURSOR_NESW = 81, + FL_CURSOR_NONE = 255, + // for back compatability (non MSWindows ones): + FL_CURSOR_N = 70, + FL_CURSOR_NE = 69, + FL_CURSOR_E = 49, + FL_CURSOR_SE = 8, + FL_CURSOR_S = 9, + FL_CURSOR_SW = 7, + FL_CURSOR_W = 36, + FL_CURSOR_NW = 68 + //FL_CURSOR_NS = 22, + //FL_CURSOR_WE = 55, +}; + +enum { // values for "when" passed to Fl::add_fd() + FL_READ = 1, + FL_WRITE = 4, + FL_EXCEPT = 8 +}; + +enum Fl_Mode { // visual types and Fl_Gl_Window::mode() (values match Glut) + FL_RGB = 0, + FL_INDEX = 1, + FL_SINGLE = 0, + FL_DOUBLE = 2, + FL_ACCUM = 4, + FL_ALPHA = 8, + FL_DEPTH = 16, + FL_STENCIL = 32, + FL_RGB8 = 64, + FL_MULTISAMPLE= 128, + FL_STEREO = 256, + FL_FAKE_SINGLE = 512 // Fake single buffered windows using double-buffer +}; + +// damage masks + +enum Fl_Damage { + FL_DAMAGE_CHILD = 0x01, + FL_DAMAGE_EXPOSE = 0x02, + FL_DAMAGE_SCROLL = 0x04, + FL_DAMAGE_OVERLAY = 0x08, + FL_DAMAGE_USER1 = 0x10, + FL_DAMAGE_USER2 = 0x20, + FL_DAMAGE_ALL = 0x80 +}; + +// FLTK 1.0.x compatibility definitions... +# ifdef FLTK_1_0_COMPAT +# define contrast fl_contrast +# define down fl_down +# define frame fl_frame +# define inactive fl_inactive +# endif // FLTK_1_0_COMPAT + +#endif + +// +// End of "$Id: Enumerations.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl.H new file mode 100644 index 0000000..455ed42 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl.H @@ -0,0 +1,280 @@ +// +// "$Id: Fl.H 4223 2005-03-31 16:01:24Z mike $" +// +// Main header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_H +# define Fl_H + +# include "Enumerations.H" +# ifndef Fl_Object +# define Fl_Object Fl_Widget +# endif + +# ifdef check +# undef check +# endif + +class Fl_Widget; +class Fl_Window; +class Fl_Image; +struct Fl_Label; +typedef void (Fl_Label_Draw_F)(const Fl_Label*, int,int,int,int, Fl_Align); +typedef void (Fl_Label_Measure_F)(const Fl_Label*, int&, int&); +typedef void (Fl_Box_Draw_F)(int,int,int,int, Fl_Color); + +typedef void (*Fl_Timeout_Handler)(void*); + +class FL_EXPORT Fl { + Fl() {}; // no constructor! + +public: // should be private! + + static int e_number; + static int e_x; + static int e_y; + static int e_x_root; + static int e_y_root; + static int e_dx; + static int e_dy; + static int e_state; + static int e_clicks; + static int e_is_click; + static int e_keysym; + static char* e_text; + static int e_length; + static Fl_Widget* belowmouse_; + static Fl_Widget* pushed_; + static Fl_Widget* focus_; + static int damage_; + static Fl_Widget* selection_owner_; + static Fl_Window* modal_; + static Fl_Window* grab_; + static int compose_state; + static int visible_focus_; + static int dnd_text_ops_; + static void damage(int d) {damage_ = d;} + + static void (*idle)(); + + static const char* scheme_; + static Fl_Image* scheme_bg_; + +public: + + // API version number + static double version(); + + // argument parsers: + static int arg(int, char**, int&); + static int args(int, char**, int&, int (*)(int,char**,int&) = 0); + static const char* const help; + static void args(int, char**); + + // things called by initialization: + static void display(const char*); + static int visual(int); + static int gl_visual(int, int *alist=0); + static void own_colormap(); + static void get_system_colors(); + static void foreground(uchar, uchar, uchar); + static void background(uchar, uchar, uchar); + static void background2(uchar, uchar, uchar); + + // schemes: + static int scheme(const char*); + static const char* scheme() {return scheme_;} + static int reload_scheme(); + + // execution: + static int wait(); + static double wait(double time); + static int check(); + static int ready(); + static int run(); + static Fl_Widget* readqueue(); + static void add_timeout(double t, Fl_Timeout_Handler,void* = 0); + static void repeat_timeout(double t, Fl_Timeout_Handler,void* = 0); + static int has_timeout(Fl_Timeout_Handler, void* = 0); + static void remove_timeout(Fl_Timeout_Handler, void* = 0); + static void add_check(Fl_Timeout_Handler, void* = 0); + static int has_check(Fl_Timeout_Handler, void* = 0); + static void remove_check(Fl_Timeout_Handler, void* = 0); + static void add_fd(int fd, int when, void (*cb)(int,void*),void* =0); + static void add_fd(int fd, void (*cb)(int, void*), void* = 0); + static void remove_fd(int, int when); + static void remove_fd(int); + static void add_idle(void (*cb)(void*), void* = 0); + static int has_idle(void (*cb)(void*), void* = 0); + static void remove_idle(void (*cb)(void*), void* = 0); + static int damage() {return damage_;} + static void redraw(); + static void flush(); + static void (*warning)(const char*, ...); + static void (*error)(const char*, ...); + static void (*fatal)(const char*, ...); + static Fl_Window* first_window(); + static void first_window(Fl_Window*); + static Fl_Window* next_window(const Fl_Window*); + static Fl_Window* modal() {return modal_;} + static Fl_Window* grab() {return grab_;} + static void grab(Fl_Window*); + + // event information: + static int event() {return e_number;} + static int event_x() {return e_x;} + static int event_y() {return e_y;} + static int event_x_root() {return e_x_root;} + static int event_y_root() {return e_y_root;} + static int event_dx() {return e_dx;} + static int event_dy() {return e_dy;} + static void get_mouse(int &,int &); + static int event_clicks() {return e_clicks;} + static void event_clicks(int i) {e_clicks = i;} + static int event_is_click() {return e_is_click;} + static void event_is_click(int i) {e_is_click = i;} // only 0 works! + static int event_button() {return e_keysym-FL_Button;} + static int event_state() {return e_state;} + static int event_state(int i) {return e_state&i;} + static int event_key() {return e_keysym;} + static int event_key(int); + static int get_key(int); + static const char* event_text() {return e_text;} + static int event_length() {return e_length;} + static int compose(int &del); + static void compose_reset() {compose_state = 0;} + static int event_inside(int,int,int,int); + static int event_inside(const Fl_Widget*); + static int test_shortcut(int); + + // event destinations: + static int handle(int, Fl_Window*); + static Fl_Widget* belowmouse() {return belowmouse_;} + static void belowmouse(Fl_Widget*); + static Fl_Widget* pushed() {return pushed_;} + static void pushed(Fl_Widget*); + static Fl_Widget* focus() {return focus_;} + static void focus(Fl_Widget*); + static void add_handler(int (*h)(int)); + static void remove_handler(int (*h)(int)); + + // cut/paste: + static void copy(const char* stuff, int len, int clipboard = 0); + static void paste(Fl_Widget &receiver, int clipboard /*=0*/); + static int dnd(); + // These are for back-compatability only: + static Fl_Widget* selection_owner() {return selection_owner_;} + static void selection_owner(Fl_Widget*); + static void selection(Fl_Widget &owner, const char*, int len); + static void paste(Fl_Widget &receiver); + + // screen size: +#if defined(WIN32) || defined(__APPLE__) + static int x(); + static int y(); +#else + static int x() {return 0;} + static int y() {return 0;} +#endif /* WIN32 || __APPLE__ */ + static int w(); + static int h(); + + // multi-head support: + static int screen_count(); + static void screen_xywh(int &x, int &y, int &w, int &h) { + screen_xywh(x, y, w, h, e_x_root, e_y_root); + } + static void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my); + static void screen_xywh(int &x, int &y, int &w, int &h, int n); + + // color map: + static void set_color(Fl_Color, uchar, uchar, uchar); + static void set_color(Fl_Color, unsigned); + static unsigned get_color(Fl_Color); + static void get_color(Fl_Color, uchar&, uchar&, uchar&); + static void free_color(Fl_Color, int overlay = 0); + + // fonts: + static const char* get_font(Fl_Font); + static const char* get_font_name(Fl_Font, int* attributes = 0); + static int get_font_sizes(Fl_Font, int*& sizep); + static void set_font(Fl_Font, const char*); + static void set_font(Fl_Font, Fl_Font); + static Fl_Font set_fonts(const char* = 0); + + // labeltypes: + static void set_labeltype(Fl_Labeltype,Fl_Label_Draw_F*,Fl_Label_Measure_F*); + static void set_labeltype(Fl_Labeltype, Fl_Labeltype from); + + // boxtypes: + static Fl_Box_Draw_F *get_boxtype(Fl_Boxtype); + static void set_boxtype(Fl_Boxtype, Fl_Box_Draw_F*,uchar,uchar,uchar,uchar); + static void set_boxtype(Fl_Boxtype, Fl_Boxtype from); + static int box_dx(Fl_Boxtype); + static int box_dy(Fl_Boxtype); + static int box_dw(Fl_Boxtype); + static int box_dh(Fl_Boxtype); + static int draw_box_active(); + + // back compatability: + static void set_abort(void (*f)(const char*,...)) {fatal = f;} + static void (*atclose)(Fl_Window*,void*); + static void default_atclose(Fl_Window*,void*); + static void set_atclose(void (*f)(Fl_Window*,void*)) {atclose = f;} + static int event_shift() {return e_state&FL_SHIFT;} + static int event_ctrl() {return e_state&FL_CTRL;} + static int event_alt() {return e_state&FL_ALT;} + static int event_buttons() {return e_state&0x7f000000;} + static int event_button1() {return e_state&FL_BUTTON1;} + static int event_button2() {return e_state&FL_BUTTON2;} + static int event_button3() {return e_state&FL_BUTTON3;} + static void set_idle(void (*cb)()) {idle = cb;} + static void grab(Fl_Window&win) {grab(&win);} + static void release() {grab(0);} + + // Visible focus methods... + static void visible_focus(int v) { visible_focus_ = v; } + static int visible_focus() { return visible_focus_; } + + // Drag-n-drop text operation methods... + static void dnd_text_ops(int v) { dnd_text_ops_ = v; } + static int dnd_text_ops() { return dnd_text_ops_; } + + // Multithreading support: + static void lock(); + static void unlock(); + static void awake(void* message = 0); + static void* thread_message(); + + // Widget deletion: + static void delete_widget(Fl_Widget *w); + static void do_widget_deletion(); +}; + +#endif // !Fl_H + +// +// End of "$Id: Fl.H 4223 2005-03-31 16:01:24Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Adjuster.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Adjuster.H new file mode 100644 index 0000000..466283a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Adjuster.H @@ -0,0 +1,55 @@ +// +// "$Id: Fl_Adjuster.H 4288 2005-04-16 00:13:17Z mike $" +// +// Adjuster widget header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// 3-button "slider", made for Nuke + +#ifndef Fl_Adjuster_H +#define Fl_Adjuster_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +class FL_EXPORT Fl_Adjuster : public Fl_Valuator { + int drag; + int ix; + int soft_; +protected: + void draw(); + int handle(int); + void value_damage(); +public: + Fl_Adjuster(int X,int Y,int W,int H,const char *l=0); + void soft(int s) {soft_ = s;} + int soft() const {return soft_;} +}; + +#endif + +// +// End of "$Id: Fl_Adjuster.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_BMP_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_BMP_Image.H new file mode 100644 index 0000000..30bdcc4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_BMP_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_BMP_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// BMP image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_BMP_Image_H +#define Fl_BMP_Image_H +# include "Fl_Image.H" + +class FL_EXPORT Fl_BMP_Image : public Fl_RGB_Image { + + public: + + Fl_BMP_Image(const char* filename); +}; + +#endif + +// +// End of "$Id: Fl_BMP_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Bitmap.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Bitmap.H new file mode 100644 index 0000000..e8686b0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Bitmap.H @@ -0,0 +1,64 @@ +// +// "$Id: Fl_Bitmap.H 4288 2005-04-16 00:13:17Z mike $" +// +// Bitmap header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Bitmap_H +#define Fl_Bitmap_H +# include "Fl_Image.H" + +class Fl_Widget; +struct Fl_Menu_Item; + +class FL_EXPORT Fl_Bitmap : public Fl_Image { + public: + + const uchar *array; + int alloc_array; // Non-zero if data was allocated +#if defined(__APPLE__) || defined(WIN32) + void *id; // for internal use +#else + unsigned id; // for internal use +#endif // __APPLE__ || WIN32 + + Fl_Bitmap(const uchar *bits, int W, int H) : + Fl_Image(W,H,0), array(bits), alloc_array(0), id(0) {data((const char **)&array, 1);} + Fl_Bitmap(const char *bits, int W, int H) : + Fl_Image(W,H,0), array((const uchar *)bits), alloc_array(0), id(0) {data((const char **)&array, 1);} + virtual ~Fl_Bitmap(); + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); + void draw(int X, int Y) {draw(X, Y, w(), h(), 0, 0);} + virtual void label(Fl_Widget*w); + virtual void label(Fl_Menu_Item*m); + virtual void uncache(); +}; + +#endif + +// +// End of "$Id: Fl_Bitmap.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Box.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Box.H new file mode 100644 index 0000000..36fdc0f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Box.H @@ -0,0 +1,51 @@ +// +// "$Id: Fl_Box.H 4288 2005-04-16 00:13:17Z mike $" +// +// Box header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Box_H +#define Fl_Box_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +class FL_EXPORT Fl_Box : public Fl_Widget { +protected: + void draw(); +public: + Fl_Box(int X, int Y, int W, int H, const char *l=0) + : Fl_Widget(X,Y,W,H,l) {} + Fl_Box(Fl_Boxtype b, int X, int Y, int W, int H, const char *l) + : Fl_Widget(X,Y,W,H,l) {box(b);} + + virtual int handle(int); +}; + +#endif + +// +// End of "$Id: Fl_Box.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser.H new file mode 100644 index 0000000..ed0af81 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser.H @@ -0,0 +1,132 @@ +// +// "$Id: Fl_Browser.H 4288 2005-04-16 00:13:17Z mike $" +// +// Browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// Forms-compatable browser. Probably useful for other +// lists of textual data. Notice that the line numbers +// start from 1, and 0 means "no line". + +#ifndef Fl_Browser_H +#define Fl_Browser_H + +#include "Fl_Browser_.H" + +struct FL_BLINE; + +class FL_EXPORT Fl_Browser : public Fl_Browser_ { + + FL_BLINE *first; // the array of lines + FL_BLINE *last; + FL_BLINE *cache; + int cacheline; // line number of cache + int lines; // Number of lines + int full_height_; + const int* column_widths_; + char format_char_; // alternative to @-sign + char column_char_; // alternative to tab + +protected: + + // required routines for Fl_Browser_ subclass: + void* item_first() const ; + void* item_next(void*) const ; + void* item_prev(void*) const ; + int item_selected(void*) const ; + void item_select(void*, int); + int item_height(void*) const ; + int item_width(void*) const ; + void item_draw(void*, int, int, int, int) const ; + int full_height() const ; + int incr_height() const ; + + FL_BLINE* find_line(int) const ; + FL_BLINE* _remove(int) ; + void insert(int, FL_BLINE*); + int lineno(void*) const ; + void swap(FL_BLINE *a, FL_BLINE *b); + +public: + + void remove(int); + void add(const char*, void* = 0); + void insert(int, const char*, void* = 0); + void move(int to, int from); + int load(const char* filename); + void swap(int a, int b); + void clear(); + + int size() const {return lines;} + void size(int W, int H) { Fl_Widget::size(W, H); } + + int topline() const ; + enum Fl_Line_Position { TOP, BOTTOM, MIDDLE }; + void lineposition(int, Fl_Line_Position); + void topline(int l) { lineposition(l, TOP); } + void bottomline(int l) { lineposition(l, BOTTOM); } + void middleline(int l) { lineposition(l, MIDDLE); } + + int select(int, int=1); + int selected(int) const ; + void show(int n); + void show() {Fl_Widget::show();} + void hide(int n); + void hide() {Fl_Widget::hide();} + int visible(int n) const ; + + int value() const ; + void value(int v) {select(v);} + const char* text(int) const ; + void text(int, const char*); + void* data(int) const ; + void data(int, void* v); + + Fl_Browser(int, int, int, int, const char* = 0); + ~Fl_Browser() { clear(); } + + char format_char() const {return format_char_;} + void format_char(char c) {format_char_ = c;} + char column_char() const {return column_char_;} + void column_char(char c) {column_char_ = c;} + const int* column_widths() const {return column_widths_;} + void column_widths(const int* l) {column_widths_ = l;} + + int displayed(int n) const {return Fl_Browser_::displayed(find_line(n));} + void make_visible(int n) { + if (n < 1) Fl_Browser_::display(find_line(1)); + else if (n > lines) Fl_Browser_::display(find_line(lines)); + else Fl_Browser_::display(find_line(n)); + } + + // for back compatability only: + void replace(int a, const char* b) {text(a, b);} + void display(int, int=1); +}; + +#endif + +// +// End of "$Id: Fl_Browser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser_.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser_.H new file mode 100644 index 0000000..c66d414 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Browser_.H @@ -0,0 +1,153 @@ +// +// "$Id: Fl_Browser_.H 4288 2005-04-16 00:13:17Z mike $" +// +// Common browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// This is the base class for browsers. To be useful it must +// be subclassed and several virtual functions defined. The +// Forms-compatable browser and the file chooser's browser are +// subclassed off of this. + +// Yes, I know this should be a template... + +#ifndef Fl_Browser__H +#define Fl_Browser__H + +#ifndef Fl_Group_H +#include "Fl_Group.H" +#endif +#include "Fl_Scrollbar.H" + +#define FL_NORMAL_BROWSER 0 +#define FL_SELECT_BROWSER 1 +#define FL_HOLD_BROWSER 2 +#define FL_MULTI_BROWSER 3 + +class FL_EXPORT Fl_Browser_ : public Fl_Group { + int position_; // where user wants it scrolled to + int real_position_; // the current vertical scrolling position + int hposition_; // where user wants it panned to + int real_hposition_; // the current horizontal scrolling position + int offset_; // how far down top_ item the real_position is + int max_width; // widest object seen so far + uchar has_scrollbar_; // which scrollbars are enabled + uchar textfont_, textsize_; + unsigned textcolor_; + void* top_; // which item scrolling position is in + void* selection_; // which is selected (except for FL_MULTI_BROWSER) + void *redraw1,*redraw2; // minimal update pointers + void* max_width_item; // which item has max_width_ + + static int scrollbar_width_; + + void update_top(); + +protected: + + // All of the following must be supplied by the subclass: + virtual void *item_first() const = 0; + virtual void *item_next(void *) const = 0; + virtual void *item_prev(void *) const = 0; + virtual int item_height(void *) const = 0; + virtual int item_width(void *) const = 0; + virtual int item_quick_height(void *) const ; + virtual void item_draw(void *,int,int,int,int) const = 0; + // you don't have to provide these but it may help speed it up: + virtual int full_width() const ; // current width of all items + virtual int full_height() const ; // current height of all items + virtual int incr_height() const ; // average height of an item + // These only need to be done by subclass if you want a multi-browser: + virtual void item_select(void *,int=1); + virtual int item_selected(void *) const ; + + // things the subclass may want to call: + void *top() const {return top_;} + void *selection() const {return selection_;} + void new_list(); // completely clobber all data, as though list replaced + void deleting(void *a); // get rid of any pointers to a + void replacing(void *a,void *b); // change a pointers to b + void inserting(void *a,void *b); // insert b near a + int displayed(void *) const ; // true if this line is visible + void redraw_line(void *); // minimal update, no change in size + void redraw_lines() {damage(FL_DAMAGE_SCROLL);} // redraw all of them + void bbox(int&,int&,int&,int&) const; + int leftedge() const; // x position after scrollbar & border + void *find_item(int my); // item under mouse + void draw(int,int,int,int); + int handle(int,int,int,int,int); + + void draw(); + Fl_Browser_(int,int,int,int,const char * = 0); + +public: + + Fl_Scrollbar scrollbar; // Vertical scrollbar + Fl_Scrollbar hscrollbar; // Horizontal scrollbar + + int handle(int); + void resize(int,int,int,int); + + int select(void *,int=1,int docallbacks=0); + int select_only(void *,int docallbacks=0); + int deselect(int docallbacks=0); + int position() const {return position_;} + int hposition() const {return hposition_;} + void position(int); // scroll to here + void hposition(int); // pan to here + void display(void*); // scroll so this item is shown + + uchar has_scrollbar() const {return has_scrollbar_;} + void has_scrollbar(uchar i) {has_scrollbar_ = i;} + enum { // values for has_scrollbar() + HORIZONTAL = 1, + VERTICAL = 2, + BOTH = 3, + ALWAYS_ON = 4, + HORIZONTAL_ALWAYS = 5, + VERTICAL_ALWAYS = 6, + BOTH_ALWAYS = 7 + }; + + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned n) {textcolor_ = n;} + + static void scrollbar_width(int b) {scrollbar_width_ = b;} + static int scrollbar_width() {return scrollbar_width_;} + + // for back compatability: + void scrollbar_right() {scrollbar.align(FL_ALIGN_RIGHT);} + void scrollbar_left() {scrollbar.align(FL_ALIGN_LEFT);} + +}; + +#endif + +// +// End of "$Id: Fl_Browser_.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Button.H new file mode 100644 index 0000000..15510b1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Button.H @@ -0,0 +1,78 @@ +// +// "$Id: Fl_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Button_H +#define Fl_Button_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +// values for type() +#define FL_NORMAL_BUTTON 0 +#define FL_TOGGLE_BUTTON 1 +#define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) +#define FL_HIDDEN_BUTTON 3 // for Forms compatability + +extern FL_EXPORT int fl_old_shortcut(const char*); + +class FL_EXPORT Fl_Button : public Fl_Widget { + + int shortcut_; + char value_; + char oldval; + uchar down_box_; + +protected: + + virtual void draw(); + +public: + + virtual int handle(int); + Fl_Button(int,int,int,int,const char * = 0); + int value(int); + char value() const {return value_;} + int set() {return value(1);} + int clear() {return value(0);} + void setonly(); // this should only be called on FL_RADIO_BUTTONs + int shortcut() const {return shortcut_;} + void shortcut(int s) {shortcut_ = s;} + Fl_Boxtype down_box() const {return (Fl_Boxtype)down_box_;} + void down_box(Fl_Boxtype b) {down_box_ = b;} + + // back compatability: + void shortcut(const char *s) {shortcut(fl_old_shortcut(s));} + Fl_Color down_color() const {return selection_color();} + void down_color(unsigned c) {selection_color(c);} +}; + +#endif + +// +// End of "$Id: Fl_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Chart.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Chart.H new file mode 100644 index 0000000..a705930 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Chart.H @@ -0,0 +1,93 @@ +// +// "$Id: Fl_Chart.H 4288 2005-04-16 00:13:17Z mike $" +// +// Forms chart header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Chart_H +#define Fl_Chart_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +// values for type() +#define FL_BAR_CHART 0 +#define FL_HORBAR_CHART 1 +#define FL_LINE_CHART 2 +#define FL_FILL_CHART 3 +#define FL_SPIKE_CHART 4 +#define FL_PIE_CHART 5 +#define FL_SPECIALPIE_CHART 6 + +#define FL_FILLED_CHART FL_FILL_CHART // compatibility + +#define FL_CHART_MAX 128 +#define FL_CHART_LABEL_MAX 18 + +struct FL_CHART_ENTRY { + float val; + unsigned col; + char str[FL_CHART_LABEL_MAX+1]; +}; + +class FL_EXPORT Fl_Chart : public Fl_Widget { + int numb; + int maxnumb; + int sizenumb; + FL_CHART_ENTRY *entries; + double min,max; + uchar autosize_; + uchar textfont_,textsize_; + unsigned textcolor_; +protected: + void draw(); +public: + Fl_Chart(int,int,int,int,const char * = 0); + ~Fl_Chart(); + void clear(); + void add(double, const char * =0, unsigned=0); + void insert(int, double, const char * =0, unsigned=0); + void replace(int, double, const char * =0, unsigned=0); + void bounds(double *a,double *b) const {*a = min; *b = max;} + void bounds(double a,double b); + int size() const {return numb;} + void size(int W, int H) { Fl_Widget::size(W, H); } + int maxsize() const {return maxnumb;} + void maxsize(int); + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned n) {textcolor_ = n;} + uchar autosize() const {return autosize_;} + void autosize(uchar n) {autosize_ = n;} +}; + +#endif + +// +// End of "$Id: Fl_Chart.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Browser.H new file mode 100644 index 0000000..f474a03 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Browser.H @@ -0,0 +1,98 @@ +// +// "$Id: Fl_Check_Browser.H 4461 2005-08-05 13:31:02Z dejan $" +// +// Fl_Check_Browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Check_Browser_H +#define Fl_Check_Browser_H + +#include "Fl.H" +#include "Fl_Browser_.H" + +class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ { + /* required routines for Fl_Browser_ subclass: */ + + void *item_first() const; + void *item_next(void *) const; + void *item_prev(void *) const; + int item_height(void *) const; + int item_width(void *) const; + void item_draw(void *, int, int, int, int) const; + void item_select(void *, int); + int item_selected(void *) const; + + /* private data */ + + public: // IRIX 5.3 C++ compiler doesn't support private structures... + + struct cb_item { + cb_item *next; + cb_item *prev; + char checked; + char selected; + char *text; + }; + + private: + + cb_item *first; + cb_item *last; + cb_item *cache; + int cached_item; + int nitems_; + int nchecked_; + cb_item *find_item(int) const; + int lineno(cb_item *) const; + + public: + + Fl_Check_Browser(int x, int y, int w, int h, const char *l = 0); + ~Fl_Check_Browser() { clear(); } + int add(char *s); // add an (unchecked) item + int add(char *s, int b); // add an item and set checked + // both return the new nitems() + + // inline const char * methods to avoid breaking binary compatibility... + int add(const char *s) { return add((char *)s); } + int add(const char *s, int b) { return add((char *)s, b); } + + void clear(); // delete all items + int nitems() const { return nitems_; } + int nchecked() const { return nchecked_; } + int checked(int item) const; + void checked(int item, int b); + void set_checked(int item) { checked(item, 1); } + void check_all(); + void check_none(); + int value() const; // currently selected item + char *text(int item) const; // returns pointer to internal buffer +}; + +#endif // Fl_Check_Browser_H + +// +// End of "$Id: Fl_Check_Browser.H 4461 2005-08-05 13:31:02Z dejan $". +// + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Button.H new file mode 100644 index 0000000..4064cf5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Check_Button.H @@ -0,0 +1,42 @@ +// +// "$Id: Fl_Check_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Check button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Check_Button_H +#define Fl_Check_Button_H + +#include "Fl_Light_Button.H" + +class FL_EXPORT Fl_Check_Button : public Fl_Light_Button { +public: + Fl_Check_Button(int x,int y,int w,int h,const char *l = 0); +}; + +#endif + +// +// End of "$Id: Fl_Check_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Choice.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Choice.H new file mode 100644 index 0000000..64e59b6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Choice.H @@ -0,0 +1,48 @@ +// +// "$Id: Fl_Choice.H 4288 2005-04-16 00:13:17Z mike $" +// +// Choice header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Choice_H +#define Fl_Choice_H + +#include "Fl_Menu_.H" + +class FL_EXPORT Fl_Choice : public Fl_Menu_ { +protected: + void draw(); +public: + int handle(int); + Fl_Choice(int,int,int,int,const char * = 0); + int value(const Fl_Menu_Item*); + int value(int i); + int value() const {return Fl_Menu_::value();} +}; + +#endif + +// +// End of "$Id: Fl_Choice.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Clock.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Clock.H new file mode 100644 index 0000000..261470c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Clock.H @@ -0,0 +1,75 @@ +// +// "$Id: Fl_Clock.H 4288 2005-04-16 00:13:17Z mike $" +// +// Clock header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Clock_H +#define Fl_Clock_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +// values for type: +#define FL_SQUARE_CLOCK 0 +#define FL_ROUND_CLOCK 1 +#define FL_ANALOG_CLOCK FL_SQUARE_CLOCK +#define FL_DIGITAL_CLOCK FL_SQUARE_CLOCK // nyi + +// a Fl_Clock_Output can be used to display a program-supplied time: + +class FL_EXPORT Fl_Clock_Output : public Fl_Widget { + int hour_, minute_, second_; + ulong value_; + void drawhands(Fl_Color,Fl_Color); // part of draw +protected: + void draw(int, int, int, int); + void draw(); +public: + Fl_Clock_Output(int x,int y,int w,int h, const char *l = 0); + void value(ulong v); // set to this Unix time + void value(int,int,int); // set hour, minute, second + ulong value() const {return value_;} + int hour() const {return hour_;} + int minute() const {return minute_;} + int second() const {return second_;} +}; + +// a Fl_Clock displays the current time always by using a timeout: + +class FL_EXPORT Fl_Clock : public Fl_Clock_Output { +public: + int handle(int); + void update(); + Fl_Clock(int x,int y,int w,int h, const char *l = 0); + Fl_Clock(uchar t,int x,int y,int w,int h, const char *l); + ~Fl_Clock(); +}; + +#endif + +// +// End of "$Id: Fl_Clock.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Color_Chooser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Color_Chooser.H new file mode 100644 index 0000000..2ef7250 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Color_Chooser.H @@ -0,0 +1,104 @@ +// +// "$Id: Fl_Color_Chooser.H 4288 2005-04-16 00:13:17Z mike $" +// +// Color chooser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// The color chooser object and the color chooser popup. The popup +// is just a window containing a single color chooser and some boxes +// to indicate the current and cancelled color. + +#ifndef Fl_Color_Chooser_H +#define Fl_Color_Chooser_H + +#include +#include +#include +#include +#include + +class FL_EXPORT Flcc_HueBox : public Fl_Widget { + int px, py; +protected: + void draw(); + int handle_key(int); +public: + int handle(int); + Flcc_HueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { + px = py = 0;} +}; + +class FL_EXPORT Flcc_ValueBox : public Fl_Widget { + int py; +protected: + void draw(); + int handle_key(int); +public: + int handle(int); + Flcc_ValueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { + py = 0;} +}; + +class FL_EXPORT Flcc_Value_Input : public Fl_Value_Input { +public: + int format(char*); + Flcc_Value_Input(int X, int Y, int W, int H) : Fl_Value_Input(X,Y,W,H) {} +}; + +class FL_EXPORT Fl_Color_Chooser : public Fl_Group { + Flcc_HueBox huebox; + Flcc_ValueBox valuebox; + Fl_Choice choice; + Flcc_Value_Input rvalue; + Flcc_Value_Input gvalue; + Flcc_Value_Input bvalue; + Fl_Box resize_box; + double hue_, saturation_, value_; + double r_, g_, b_; + void set_valuators(); + static void rgb_cb(Fl_Widget*, void*); + static void mode_cb(Fl_Widget*, void*); +public: + int mode() {return choice.value();} + double hue() const {return hue_;} + double saturation() const {return saturation_;} + double value() const {return value_;} + double r() const {return r_;} + double g() const {return g_;} + double b() const {return b_;} + int hsv(double,double,double); + int rgb(double,double,double); + static void hsv2rgb(double, double, double,double&,double&,double&); + static void rgb2hsv(double, double, double,double&,double&,double&); + Fl_Color_Chooser(int,int,int,int,const char* = 0); +}; + +FL_EXPORT int fl_color_chooser(const char* name, double& r, double& g, double& b); +FL_EXPORT int fl_color_chooser(const char* name, uchar& r, uchar& g, uchar& b); + +#endif + +// +// End of "$Id: Fl_Color_Chooser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Counter.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Counter.H new file mode 100644 index 0000000..73781a8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Counter.H @@ -0,0 +1,76 @@ +// +// "$Id: Fl_Counter.H 4288 2005-04-16 00:13:17Z mike $" +// +// Counter header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// A numerical value with up/down step buttons. From Forms. + +#ifndef Fl_Counter_H +#define Fl_Counter_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +// values for type(): +#define FL_NORMAL_COUNTER 0 +#define FL_SIMPLE_COUNTER 1 + +class FL_EXPORT Fl_Counter : public Fl_Valuator { + + uchar textfont_, textsize_; + unsigned textcolor_; + double lstep_; + uchar mouseobj; + static void repeat_callback(void *); + int calc_mouseobj(); + void increment_cb(); + +protected: + + void draw(); + +public: + + int handle(int); + Fl_Counter(int,int,int,int,const char * = 0); + ~Fl_Counter(); + void lstep(double a) {lstep_ = a;} + void step(double a,double b) {Fl_Valuator::step(a); lstep_ = b;} + void step(double a) {Fl_Valuator::step(a);} + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned s) {textcolor_ = s;} + +}; + +#endif + +// +// End of "$Id: Fl_Counter.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Dial.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Dial.H new file mode 100644 index 0000000..f067036 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Dial.H @@ -0,0 +1,67 @@ +// +// "$Id: Fl_Dial.H 4288 2005-04-16 00:13:17Z mike $" +// +// Dial header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Dial_H +#define Fl_Dial_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +// values for type(): +#define FL_NORMAL_DIAL 0 +#define FL_LINE_DIAL 1 +#define FL_FILL_DIAL 2 + +class FL_EXPORT Fl_Dial : public Fl_Valuator { + + short a1,a2; + +protected: + + // these allow subclasses to put the dial in a smaller area: + void draw(int, int, int, int); + int handle(int, int, int, int, int); + void draw(); + +public: + + int handle(int); + Fl_Dial(int x,int y,int w,int h, const char *l = 0); + short angle1() const {return a1;} + void angle1(short a) {a1 = a;} + short angle2() const {return a2;} + void angle2(short a) {a2 = a;} + void angles(short a, short b) {a1 = a; a2 = b;} + +}; + +#endif + +// +// End of "$Id: Fl_Dial.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Double_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Double_Window.H new file mode 100644 index 0000000..635c7cb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Double_Window.H @@ -0,0 +1,54 @@ +// +// "$Id: Fl_Double_Window.H 4288 2005-04-16 00:13:17Z mike $" +// +// Double-buffered window header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Double_Window_H +#define Fl_Double_Window_H + +#include "Fl_Window.H" + +class FL_EXPORT Fl_Double_Window : public Fl_Window { +protected: + void flush(int eraseoverlay); + char force_doublebuffering_; // force db, even if the OS already buffers windows (overlays need that on MacOS and Windows2000) +public: + void show(); + void show(int a, char **b) {Fl_Window::show(a,b);} + void flush(); + void resize(int,int,int,int); + void hide(); + ~Fl_Double_Window(); + Fl_Double_Window(int W, int H, const char *l = 0) + : Fl_Window(W,H,l), force_doublebuffering_(0) { type(FL_DOUBLE_WINDOW); } + Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0) + : Fl_Window(X,Y,W,H,l), force_doublebuffering_(0) { type(FL_DOUBLE_WINDOW); } +}; + +#endif + +// +// End of "$Id: Fl_Double_Window.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Export.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Export.H new file mode 100644 index 0000000..267f632 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Export.H @@ -0,0 +1,49 @@ +/* + * "$Id: Fl_Export.H 4288 2005-04-16 00:13:17Z mike $" + * + * WIN32 DLL export definitions for the Fast Light Tool Kit (FLTK). + * + * Copyright 1998-2005 by Bill Spitzak and others. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA. + * + * Please report all bugs and problems on the following page: + * + * http://www.fltk.org/str.php + */ + +#ifndef Fl_Export_H +# define Fl_Export_H + +/* + * The following is only used when building DLLs under WIN32... + */ + +# if defined(FL_DLL) && (defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) || __GNUC__ >= 3) +# ifdef FL_LIBRARY +# define FL_EXPORT __declspec(dllexport) +# else +# define FL_EXPORT __declspec(dllimport) +# endif /* FL_LIBRARY */ +# else +# define FL_EXPORT +# endif /* FL_DLL */ + +#endif /* !Fl_Export_H */ + +/* + * End of "$Id: Fl_Export.H 4288 2005-04-16 00:13:17Z mike $". + */ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Browser.H new file mode 100644 index 0000000..3efbecc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Browser.H @@ -0,0 +1,81 @@ +// +// "$Id: Fl_File_Browser.H 4288 2005-04-16 00:13:17Z mike $" +// +// FileBrowser definitions. +// +// Copyright 1999-2005 by Michael Sweet. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// +// Include necessary header files... +// + +#ifndef _Fl_File_Browser_H_ +# define _Fl_File_Browser_H_ + +# include "Fl_Browser.H" +# include "Fl_File_Icon.H" +# include "filename.H" + + +// +// Fl_File_Browser class... +// + +class FL_EXPORT Fl_File_Browser : public Fl_Browser +{ + int filetype_; + const char *directory_; + uchar iconsize_; + const char *pattern_; + + int full_height() const; + int item_height(void *) const; + int item_width(void *) const; + void item_draw(void *, int, int, int, int) const; + int incr_height() const { return (item_height(0)); } + +public: + enum { FILES, DIRECTORIES }; + + Fl_File_Browser(int, int, int, int, const char * = 0); + + uchar iconsize() const { return (iconsize_); }; + void iconsize(uchar s) { iconsize_ = s; redraw(); }; + + void filter(const char *pattern); + const char *filter() const { return (pattern_); }; + + int load(const char *directory, Fl_File_Sort_F *sort = fl_numericsort); + + uchar textsize() const { return (Fl_Browser::textsize()); }; + void textsize(uchar s) { Fl_Browser::textsize(s); iconsize_ = (uchar)(3 * s / 2); }; + + int filetype() const { return (filetype_); }; + void filetype(int t) { filetype_ = t; }; +}; + +#endif // !_Fl_File_Browser_H_ + +// +// End of "$Id: Fl_File_Browser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Chooser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Chooser.H new file mode 100644 index 0000000..4382698 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Chooser.H @@ -0,0 +1,186 @@ +// +// "$Id: Fl_File_Chooser.H 4473 2005-08-08 00:50:02Z mike $" +// +// Fl_File_Chooser dialog for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// generated by Fast Light User Interface Designer (fluid) version 1.0107 + +#ifndef Fl_File_Chooser_H +#define Fl_File_Chooser_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class FL_EXPORT Fl_File_Chooser { +public: + enum { SINGLE = 0, MULTI = 1, CREATE = 2, DIRECTORY = 4 }; +private: + static Fl_Preferences prefs_; + void (*callback_)(Fl_File_Chooser*, void *); + void *data_; + char directory_[1024]; + char pattern_[1024]; + char preview_text_[2048]; + int type_; + void favoritesButtonCB(); + void favoritesCB(Fl_Widget *w); + void fileListCB(); + void fileNameCB(); + void newdir(); + static void previewCB(Fl_File_Chooser *fc); + void showChoiceCB(); + void update_favorites(); + void update_preview(); +public: + Fl_File_Chooser(const char *d, const char *p, int t, const char *title); +private: + Fl_Double_Window *window; + void cb_window_i(Fl_Double_Window*, void*); + static void cb_window(Fl_Double_Window*, void*); + Fl_Choice *showChoice; + void cb_showChoice_i(Fl_Choice*, void*); + static void cb_showChoice(Fl_Choice*, void*); + Fl_Menu_Button *favoritesButton; + void cb_favoritesButton_i(Fl_Menu_Button*, void*); + static void cb_favoritesButton(Fl_Menu_Button*, void*); +public: + Fl_Button *newButton; +private: + void cb_newButton_i(Fl_Button*, void*); + static void cb_newButton(Fl_Button*, void*); + void cb__i(Fl_Tile*, void*); + static void cb_(Fl_Tile*, void*); + Fl_File_Browser *fileList; + void cb_fileList_i(Fl_File_Browser*, void*); + static void cb_fileList(Fl_File_Browser*, void*); + Fl_Box *previewBox; +public: + Fl_Check_Button *previewButton; +private: + void cb_previewButton_i(Fl_Check_Button*, void*); + static void cb_previewButton(Fl_Check_Button*, void*); + Fl_File_Input *fileName; + void cb_fileName_i(Fl_File_Input*, void*); + static void cb_fileName(Fl_File_Input*, void*); + Fl_Return_Button *okButton; + void cb_okButton_i(Fl_Return_Button*, void*); + static void cb_okButton(Fl_Return_Button*, void*); + Fl_Button *cancelButton; + void cb_cancelButton_i(Fl_Button*, void*); + static void cb_cancelButton(Fl_Button*, void*); + Fl_Double_Window *favWindow; + Fl_File_Browser *favList; + void cb_favList_i(Fl_File_Browser*, void*); + static void cb_favList(Fl_File_Browser*, void*); + Fl_Button *favUpButton; + void cb_favUpButton_i(Fl_Button*, void*); + static void cb_favUpButton(Fl_Button*, void*); + Fl_Button *favDeleteButton; + void cb_favDeleteButton_i(Fl_Button*, void*); + static void cb_favDeleteButton(Fl_Button*, void*); + Fl_Button *favDownButton; + void cb_favDownButton_i(Fl_Button*, void*); + static void cb_favDownButton(Fl_Button*, void*); + Fl_Button *favCancelButton; + void cb_favCancelButton_i(Fl_Button*, void*); + static void cb_favCancelButton(Fl_Button*, void*); + Fl_Return_Button *favOkButton; + void cb_favOkButton_i(Fl_Return_Button*, void*); + static void cb_favOkButton(Fl_Return_Button*, void*); +public: + ~Fl_File_Chooser(); + void callback(void (*cb)(Fl_File_Chooser *, void *), void *d = 0); + void color(Fl_Color c); + Fl_Color color(); + int count(); + void directory(const char *d); + char * directory(); + void filter(const char *p); + const char * filter(); + int filter_value(); + void filter_value(int f); + void hide(); + void iconsize(uchar s); + uchar iconsize(); + void label(const char *l); + const char * label(); + void ok_label(const char *l); + const char * ok_label(); + void preview(int e); + int preview() const { return previewButton->value(); }; + void rescan(); + void show(); + int shown(); + void textcolor(Fl_Color c); + Fl_Color textcolor(); + void textfont(uchar f); + uchar textfont(); + void textsize(uchar s); + uchar textsize(); + void type(int t); + int type(); + void * user_data() const; + void user_data(void *d); + const char *value(int f = 1); + void value(const char *filename); + int visible(); + static const char *add_favorites_label; + static const char *all_files_label; + static const char *custom_filter_label; + static const char *existing_file_label; + static const char *favorites_label; + static const char *filename_label; + static const char *filesystems_label; + static const char *manage_favorites_label; + static const char *new_directory_label; + static const char *new_directory_tooltip; + static const char *preview_label; + static const char *save_label; + static const char *show_label; + static Fl_File_Sort_F *sort; +}; +FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0); +FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0); +FL_EXPORT void fl_file_chooser_callback(void (*cb)(const char*)); +FL_EXPORT void fl_file_chooser_ok_label(const char*l); +#endif + +// +// End of "$Id: Fl_File_Chooser.H 4473 2005-08-08 00:50:02Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Icon.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Icon.H new file mode 100644 index 0000000..8520129 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Icon.H @@ -0,0 +1,115 @@ +// +// "$Id: Fl_File_Icon.H 4288 2005-04-16 00:13:17Z mike $" +// +// Fl_File_Icon definitions. +// +// Copyright 1999-2005 by Michael Sweet. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// +// Include necessary header files... +// + +#ifndef _Fl_Fl_File_Icon_H_ +# define _Fl_Fl_File_Icon_H_ + +# include "Fl.H" + + +// +// Special color value for the icon color. +// + +# define FL_ICON_COLOR (Fl_Color)0xffffffff + + +// +// Fl_File_Icon class... +// + +class FL_EXPORT Fl_File_Icon //// Icon data +{ + static Fl_File_Icon *first_; // Pointer to first icon/filetype + Fl_File_Icon *next_; // Pointer to next icon/filetype + const char *pattern_; // Pattern string + int type_; // Match only if directory or file? + int num_data_; // Number of data elements + int alloc_data_; // Number of allocated elements + short *data_; // Icon data + + public: + + enum // File types + { + ANY, // Any kind of file + PLAIN, // Only plain files + FIFO, // Only named pipes + DEVICE, // Only character and block devices + LINK, // Only symbolic links + DIRECTORY // Only directories + }; + + enum // Data opcodes + { + END, // End of primitive/icon + COLOR, // Followed by color value (2 shorts) + LINE, // Start of line + CLOSEDLINE, // Start of closed line + POLYGON, // Start of polygon + OUTLINEPOLYGON, // Followed by outline color (2 shorts) + VERTEX // Followed by scaled X,Y + }; + + Fl_File_Icon(const char *p, int t, int nd = 0, short *d = 0); + ~Fl_File_Icon(); + + short *add(short d); + short *add_color(Fl_Color c) + { short *d = add((short)COLOR); add((short)(c >> 16)); add((short)c); return (d); } + short *add_vertex(int x, int y) + { short *d = add((short)VERTEX); add((short)x); add((short)y); return (d); } + short *add_vertex(float x, float y) + { short *d = add((short)VERTEX); add((short)(x * 10000.0)); + add((short)(y * 10000.0)); return (d); } + void clear() { num_data_ = 0; } + void draw(int x, int y, int w, int h, Fl_Color ic, int active = 1); + void label(Fl_Widget *w); + static void labeltype(const Fl_Label *o, int x, int y, int w, int h, Fl_Align a); + void load(const char *f); + int load_fti(const char *fti); + int load_image(const char *i); + Fl_File_Icon *next() { return (next_); } + const char *pattern() { return (pattern_); } + int size() { return (num_data_); } + int type() { return (type_); } + short *value() { return (data_); } + + static Fl_File_Icon *find(const char *filename, int filetype = ANY); + static Fl_File_Icon *first() { return (first_); } + static void load_system_icons(void); +}; + +#endif // !_Fl_Fl_File_Icon_H_ + +// +// End of "$Id: Fl_File_Icon.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Input.H new file mode 100644 index 0000000..b5ec6f1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_File_Input.H @@ -0,0 +1,68 @@ +// +// "$Id: Fl_File_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// File_Input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// Original version Copyright 1998 by Curtis Edwards. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_File_Input_H +# define Fl_File_Input_H + +# include + + +class FL_EXPORT Fl_File_Input : public Fl_Input +{ + Fl_Color errorcolor_; + char ok_entry_; + uchar down_box_; + short buttons_[200]; + short pressed_; + + void draw_buttons(); + int handle_button(int event); + void update_buttons(); + +public: + + Fl_File_Input(int,int,int,int,const char *t=0); + + virtual int handle(int); + virtual void draw(); + + Fl_Boxtype down_box() const { return (Fl_Boxtype)down_box_; } + void down_box(Fl_Boxtype b) { down_box_ = b; } + Fl_Color errorcolor() const { return errorcolor_; } + void errorcolor(Fl_Color c) { errorcolor_ = c; } + int value(const char*); + int value(const char*, int); + const char *value() { return Fl_Input_::value(); } +}; + +#endif // !Fl_File_Input_H + + +// +// End of "$Id: Fl_File_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Dial.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Dial.H new file mode 100644 index 0000000..2472f6d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Dial.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Fill_Dial.H 4288 2005-04-16 00:13:17Z mike $" +// +// Filled dial header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Fill_Dial_H +#define Fl_Fill_Dial_H + +#include "Fl_Dial.H" + +class Fl_Fill_Dial : public Fl_Dial { +public: + Fl_Fill_Dial(int x,int y,int w,int h, const char *l = 0) + : Fl_Dial(x,y,w,h,l) {type(FL_FILL_DIAL);} +}; + +#endif + +// +// End of "$Id: Fl_Fill_Dial.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Slider.H new file mode 100644 index 0000000..8635eeb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Fill_Slider.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Fill_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Filled slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Fill_Slider_H +#define Fl_Fill_Slider_H + +#include "Fl_Slider.H" + +class Fl_Fill_Slider : public Fl_Slider { +public: + Fl_Fill_Slider(int x,int y,int w,int h,const char *l=0) + : Fl_Slider(x,y,w,h,l) {type(FL_VERT_FILL_SLIDER);} +}; + +#endif + +// +// End of "$Id: Fl_Fill_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Float_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Float_Input.H new file mode 100644 index 0000000..526674d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Float_Input.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Float_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Floating point input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Float_Input_H +#define Fl_Float_Input_H + +#include "Fl_Input.H" + +class Fl_Float_Input : public Fl_Input { +public: + Fl_Float_Input(int X,int Y,int W,int H,const char *l = 0) + : Fl_Input(X,Y,W,H,l) {type(FL_FLOAT_INPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Float_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsBitmap.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsBitmap.H new file mode 100644 index 0000000..caa3a07 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsBitmap.H @@ -0,0 +1,48 @@ +// +// "$Id: Fl_FormsBitmap.H 4288 2005-04-16 00:13:17Z mike $" +// +// Forms bitmap header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_FormsBitmap_H +#define Fl_FormsBitmap_H + +#include "Fl_Bitmap.H" + +class FL_EXPORT Fl_FormsBitmap : public Fl_Widget { + Fl_Bitmap *b; +protected: + void draw(); +public: + Fl_FormsBitmap(Fl_Boxtype, int, int, int, int, const char * = 0); + void set(int W, int H, const uchar *bits); + void bitmap(Fl_Bitmap *B) {b = B;} + Fl_Bitmap *bitmap() const {return b;} +}; + +#endif + +// +// End of "$Id: Fl_FormsBitmap.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsPixmap.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsPixmap.H new file mode 100644 index 0000000..f25bed6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_FormsPixmap.H @@ -0,0 +1,48 @@ +// +// "$Id: Fl_FormsPixmap.H 4288 2005-04-16 00:13:17Z mike $" +// +// Forms pixmap header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_FormsPixmap_H +#define Fl_FormsPixmap_H + +#include "Fl_Pixmap.H" + +class FL_EXPORT Fl_FormsPixmap : public Fl_Widget { + Fl_Pixmap *b; +protected: + void draw(); +public: + Fl_FormsPixmap(Fl_Boxtype, int, int, int, int, const char * = 0); + void set(/*const*/char * const * bits); + void Pixmap(Fl_Pixmap *B) {b = B;} + Fl_Pixmap *Pixmap() const {return b;} +}; + +#endif + +// +// End of "$Id: Fl_FormsPixmap.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Free.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Free.H new file mode 100644 index 0000000..7895dfe --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Free.H @@ -0,0 +1,66 @@ +// +// "$Id: Fl_Free.H 4288 2005-04-16 00:13:17Z mike $" +// +// Forms free header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Free_H +#define Fl_Free_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +#define FL_NORMAL_FREE 1 +#define FL_SLEEPING_FREE 2 +#define FL_INPUT_FREE 3 +#define FL_CONTINUOUS_FREE 4 +#define FL_ALL_FREE 5 + +typedef int (*FL_HANDLEPTR)(Fl_Widget *, int , float, float, char); + +class FL_EXPORT Fl_Free : public Fl_Widget { + FL_HANDLEPTR hfunc; + static void step(void *); +protected: + void draw(); +public: + int handle(int); + Fl_Free(uchar t,int x,int y,int w,int h,const char *l,FL_HANDLEPTR hdl); + ~Fl_Free(); +}; + +// old event names for compatability: +#define FL_MOUSE FL_DRAG +#define FL_DRAW 100 // NOT USED +#define FL_STEP 101 +#define FL_FREEMEM 102 // NOT USED +#define FL_FREEZE 103 // NOT USED +#define FL_THAW 104 // NOT USED + +#endif + +// +// End of "$Id: Fl_Free.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_GIF_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_GIF_Image.H new file mode 100644 index 0000000..40a3e69 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_GIF_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_GIF_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// GIF image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_GIF_Image_H +#define Fl_GIF_Image_H +# include "Fl_Pixmap.H" + +class FL_EXPORT Fl_GIF_Image : public Fl_Pixmap { + + public: + + Fl_GIF_Image(const char* filename); +}; + +#endif + +// +// End of "$Id: Fl_GIF_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Gl_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Gl_Window.H new file mode 100644 index 0000000..d19e33d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Gl_Window.H @@ -0,0 +1,96 @@ +// +// "$Id: Fl_Gl_Window.H 4288 2005-04-16 00:13:17Z mike $" +// +// OpenGL header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// +#ifndef Fl_Gl_Window_H +#define Fl_Gl_Window_H + +#include "Fl_Window.H" + +#ifndef GLContext +typedef void* GLContext; // actually a GLXContext or HGLDC +#endif + +class Fl_Gl_Choice; // structure to hold result of glXChooseVisual + +class FL_EXPORT Fl_Gl_Window : public Fl_Window { + + int mode_; + const int *alist; + Fl_Gl_Choice *g; + GLContext context_; + char valid_; + char damage1_; // damage() of back buffer + virtual void draw_overlay(); + void init(); + + void *overlay; + void make_overlay(); + friend class _Fl_Gl_Overlay; + + static int can_do(int, const int *); + int mode(int, const int *); + +public: + + void show(); + void show(int a, char **b) {Fl_Window::show(a,b);} + void flush(); + void hide(); + void resize(int,int,int,int); + + char valid() const {return valid_;} + void valid(char v) {valid_ = v;} + void invalidate(); + + static int can_do(int m) {return can_do(m,0);} + static int can_do(const int *m) {return can_do(0, m);} + int can_do() {return can_do(mode_,alist);} + Fl_Mode mode() const {return (Fl_Mode)mode_;} + int mode(int a) {return mode(a,0);} + int mode(const int *a) {return mode(0, a);} + + void* context() const {return context_;} + void context(void*, int destroy_flag = 0); + void make_current(); + void swap_buffers(); + void ortho(); + + int can_do_overlay(); + void redraw_overlay(); + void hide_overlay(); + void make_overlay_current(); + + ~Fl_Gl_Window(); + Fl_Gl_Window(int W, int H, const char *l=0) : Fl_Window(W,H,l) {init();} + Fl_Gl_Window(int X, int Y, int W, int H, const char *l=0) + : Fl_Window(X,Y,W,H,l) {init();} +}; + +#endif + +// +// End of "$Id: Fl_Gl_Window.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Group.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Group.H new file mode 100644 index 0000000..1da36cf --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Group.H @@ -0,0 +1,107 @@ +// +// "$Id: Fl_Group.H 4421 2005-07-15 09:34:53Z matt $" +// +// Group header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Group_H +#define Fl_Group_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +class FL_EXPORT Fl_Group : public Fl_Widget { + + Fl_Widget** array_; + Fl_Widget* savedfocus_; + Fl_Widget* resizable_; + int children_; + short *sizes_; // remembered initial sizes of children + + int navigation(int); + static Fl_Group *current_; + + // unimplemented copy ctor and assignment operator + Fl_Group(const Fl_Group&); + Fl_Group& operator=(const Fl_Group&); + +protected: + + void draw(); + void draw_child(Fl_Widget&) const; + void draw_children(); + void draw_outside_label(const Fl_Widget&) const ; + void update_child(Fl_Widget&) const; + short* sizes(); + +public: + + int handle(int); + void begin(); + void end(); + static Fl_Group *current(); + static void current(Fl_Group *g); + + int children() const {return children_;} + Fl_Widget* child(int n) const {return array()[n];} + int find(const Fl_Widget*) const; + int find(const Fl_Widget& o) const {return find(&o);} + Fl_Widget* const* array() const; + + void resize(int,int,int,int); + Fl_Group(int,int,int,int, const char * = 0); + virtual ~Fl_Group(); + void add(Fl_Widget&); + void add(Fl_Widget* o) {add(*o);} + void insert(Fl_Widget&, int i); + void insert(Fl_Widget& o, Fl_Widget* before) {insert(o,find(before));} + void remove(Fl_Widget&); + void remove(Fl_Widget* o) {remove(*o);} + void clear(); + + void resizable(Fl_Widget& o) {resizable_ = &o;} + void resizable(Fl_Widget* o) {resizable_ = o;} + Fl_Widget* resizable() const {return resizable_;} + void add_resizable(Fl_Widget& o) {resizable_ = &o; add(o);} + void init_sizes(); + + // back compatability function: + void focus(Fl_Widget* o) {o->take_focus();} + Fl_Widget* & _ddfdesign_kludge() {return resizable_;} + void forms_end(); +}; + +// dummy class used to end child groups in constructors for complex +// subclasses of Fl_Group: +class FL_EXPORT Fl_End { +public: + Fl_End() {Fl_Group::current()->end();} +}; + +#endif + +// +// End of "$Id: Fl_Group.H 4421 2005-07-15 09:34:53Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_Dialog.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_Dialog.H new file mode 100644 index 0000000..198e250 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_Dialog.H @@ -0,0 +1,93 @@ +// +// "$Id: Fl_Help_Dialog.H 4582 2005-09-25 16:54:40Z matt $" +// +// Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// generated by Fast Light User Interface Designer (fluid) version 1.0107 + +#ifndef Fl_Help_Dialog_H +#define Fl_Help_Dialog_H +#include +#include +#include +#include +#include +#include + +class FL_EXPORT Fl_Help_Dialog { + int index_; + int max_; + int line_[100]; + char file_[100][256]; + int find_pos_; +public: + Fl_Help_Dialog(); +private: + Fl_Double_Window *window_; + Fl_Help_View *view_; + void cb_view__i(Fl_Help_View*, void*); + static void cb_view_(Fl_Help_View*, void*); + void cb_Close_i(Fl_Button*, void*); + static void cb_Close(Fl_Button*, void*); + Fl_Button *back_; + void cb_back__i(Fl_Button*, void*); + static void cb_back_(Fl_Button*, void*); + Fl_Button *forward_; + void cb_forward__i(Fl_Button*, void*); + static void cb_forward_(Fl_Button*, void*); + Fl_Button *smaller_; + void cb_smaller__i(Fl_Button*, void*); + static void cb_smaller_(Fl_Button*, void*); + Fl_Button *larger_; + void cb_larger__i(Fl_Button*, void*); + static void cb_larger_(Fl_Button*, void*); + Fl_Input *find_; + void cb_find__i(Fl_Input*, void*); + static void cb_find_(Fl_Input*, void*); +public: + ~Fl_Help_Dialog(); + int h(); + void hide(); + void load(const char *f); + void position(int xx, int yy); + void resize(int xx, int yy, int ww, int hh); + void show(); + void show(int argc, char **argv); + void textsize(uchar s); + uchar textsize(); + void topline(const char *n); + void topline(int n); + void value(const char *f); + const char * value() const; + int visible(); + int w(); + int x(); + int y(); +}; +#endif + +// +// End of "$Id: Fl_Help_Dialog.H 4582 2005-09-25 16:54:40Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_View.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_View.H new file mode 100644 index 0000000..a0f4fd6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Help_View.H @@ -0,0 +1,195 @@ +// +// "$Id: Fl_Help_View.H 4288 2005-04-16 00:13:17Z mike $" +// +// Help Viewer widget definitions. +// +// Copyright 1997-2005 by Easy Software Products. +// Image support donated by Matthias Melcher, Copyright 2000. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Help_View_H +# define Fl_Help_View_H + +// +// Include necessary header files... +// + +# include +# include "Fl.H" +# include "Fl_Group.H" +# include "Fl_Scrollbar.H" +# include "fl_draw.H" +# include "Fl_Shared_Image.H" + + +// +// Fl_Help_Func type - link callback function for files... +// + + +typedef const char *(Fl_Help_Func)(Fl_Widget *, const char *); + + +// +// Fl_Help_Block structure... +// + +struct Fl_Help_Block +{ + const char *start, // Start of text + *end; // End of text + uchar border; // Draw border? + Fl_Color bgcolor; // Background color + int x, // Indentation/starting X coordinate + y, // Starting Y coordinate + w, // Width + h; // Height + int line[32]; // Left starting position for each line +}; + +// +// Fl_Help_Link structure... +// + +struct Fl_Help_Link +{ + char filename[192], // Reference filename + name[32]; // Link target (blank if none) + int x, // X offset of link text + y, // Y offset of link text + w, // Width of link text + h; // Height of link text +}; + +// +// Fl_Help_Target structure... +// + +struct Fl_Help_Target +{ + char name[32]; // Target name + int y; // Y offset of target +}; + +// +// Fl_Help_View class... +// + +class FL_EXPORT Fl_Help_View : public Fl_Group //// Help viewer widget +{ + enum { RIGHT = -1, CENTER, LEFT }; // Alignments + + char title_[1024]; // Title string + Fl_Color defcolor_, // Default text color + bgcolor_, // Background color + textcolor_, // Text color + linkcolor_; // Link color + uchar textfont_, // Default font for text + textsize_; // Default font size + const char *value_; // HTML text value + + int nblocks_, // Number of blocks/paragraphs + ablocks_; // Allocated blocks + Fl_Help_Block *blocks_; // Blocks + + int nfonts_; // Number of fonts in stack + uchar fonts_[100][2]; // Font stack + + Fl_Help_Func *link_; // Link transform function + + int nlinks_, // Number of links + alinks_; // Allocated links + Fl_Help_Link *links_; // Links + + int ntargets_, // Number of targets + atargets_; // Allocated targets + Fl_Help_Target *targets_; // Targets + + char directory_[1024]; // Directory for current file + char filename_[1024]; // Current filename + int topline_, // Top line in document + leftline_, // Lefthand position + size_, // Total document length + hsize_; // Maximum document width + Fl_Scrollbar scrollbar_, // Vertical scrollbar for document + hscrollbar_; // Horizontal scrollbar + + Fl_Help_Block *add_block(const char *s, int xx, int yy, int ww, int hh, uchar border = 0); + void add_link(const char *n, int xx, int yy, int ww, int hh); + void add_target(const char *n, int yy); + static int compare_targets(const Fl_Help_Target *t0, const Fl_Help_Target *t1); + int do_align(Fl_Help_Block *block, int line, int xx, int a, int &l); + void draw(); + void format(); + void format_table(int *table_width, int *columns, const char *table); + int get_align(const char *p, int a); + const char *get_attr(const char *p, const char *n, char *buf, int bufsize); + Fl_Color get_color(const char *n, Fl_Color c); + Fl_Shared_Image *get_image(const char *name, int W, int H); + int get_length(const char *l); + int handle(int); + + void initfont(uchar &f, uchar &s) { nfonts_ = 0; + fl_font(f = fonts_[0][0] = textfont_, + s = fonts_[0][1] = textsize_); } + void pushfont(uchar f, uchar s) { if (nfonts_ < 99) nfonts_ ++; + fl_font(fonts_[nfonts_][0] = f, + fonts_[nfonts_][1] = s); } + void popfont(uchar &f, uchar &s) { if (nfonts_ > 0) nfonts_ --; + fl_font(f = fonts_[nfonts_][0], + s = fonts_[nfonts_][1]); } + + public: + + Fl_Help_View(int xx, int yy, int ww, int hh, const char *l = 0); + ~Fl_Help_View(); + const char *directory() const { if (directory_[0]) return (directory_); + else return ((const char *)0); } + const char *filename() const { if (filename_[0]) return (filename_); + else return ((const char *)0); } + int find(const char *s, int p = 0); + void link(Fl_Help_Func *fn) { link_ = fn; } + int load(const char *f); + void resize(int,int,int,int); + int size() const { return (size_); } + void size(int W, int H) { Fl_Widget::size(W, H); } + void textcolor(Fl_Color c) { if (textcolor_ == defcolor_) textcolor_ = c; defcolor_ = c; } + Fl_Color textcolor() const { return (defcolor_); } + void textfont(uchar f) { textfont_ = f; format(); } + uchar textfont() const { return (textfont_); } + void textsize(uchar s) { textsize_ = s; format(); } + uchar textsize() const { return (textsize_); } + const char *title() { return (title_); } + void topline(const char *n); + void topline(int); + int topline() const { return (topline_); } + void leftline(int); + int leftline() const { return (leftline_); } + void value(const char *v); + const char *value() const { return (value_); } +}; + +#endif // !Fl_Help_View_H + +// +// End of "$Id: Fl_Help_View.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hold_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hold_Browser.H new file mode 100644 index 0000000..6286a60 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hold_Browser.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Hold_Browser.H 4288 2005-04-16 00:13:17Z mike $" +// +// Hold browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Hold_Browser_H +#define Fl_Hold_Browser_H + +#include "Fl_Browser.H" + +class Fl_Hold_Browser : public Fl_Browser { +public: + Fl_Hold_Browser(int X,int Y,int W,int H,const char *l=0) + : Fl_Browser(X,Y,W,H,l) {type(FL_HOLD_BROWSER);} +}; + +#endif + +// +// End of "$Id: Fl_Hold_Browser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Fill_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Fill_Slider.H new file mode 100644 index 0000000..a7a87f5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Fill_Slider.H @@ -0,0 +1,42 @@ +// +// "$Id: Fl_Hor_Fill_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Horizontal fill slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// +#ifndef Fl_Hor_Fill_Slider_H +#define Fl_Hor_Fill_Slider_H + +#include "Fl_Slider.H" + +class Fl_Hor_Fill_Slider : public Fl_Slider { +public: + Fl_Hor_Fill_Slider(int x,int y,int w,int h,const char *l=0) + : Fl_Slider(x,y,w,h,l) {type(FL_HOR_FILL_SLIDER);} +}; + +#endif + +// +// End of "$Id: Fl_Hor_Fill_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Nice_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Nice_Slider.H new file mode 100644 index 0000000..bed75a5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Nice_Slider.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Hor_Nice_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Horizontal "nice" slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Hor_Nice_Slider_H +#define Fl_Hor_Nice_Slider_H + +#include "Fl_Slider.H" + +class Fl_Hor_Nice_Slider : public Fl_Slider { +public: + Fl_Hor_Nice_Slider(int x,int y,int w,int h,const char *l=0) + : Fl_Slider(x,y,w,h,l) {type(FL_HOR_NICE_SLIDER); box(FL_FLAT_BOX);} +}; + +#endif + +// +// End of "$Id: Fl_Hor_Nice_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Slider.H new file mode 100644 index 0000000..34be696 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Slider.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Hor_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Horizontal slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Hor_Slider_H +#define Fl_Hor_Slider_H + +#include "Fl_Slider.H" + +class Fl_Hor_Slider : public Fl_Slider { +public: + Fl_Hor_Slider(int X,int Y,int W,int H,const char *l=0) + : Fl_Slider(X,Y,W,H,l) {type(FL_HOR_SLIDER);} +}; + +#endif + +// +// End of "$Id: Fl_Hor_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Value_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Value_Slider.H new file mode 100644 index 0000000..d499fea --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Hor_Value_Slider.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Hor_Value_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Horizontal value slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Hor_Value_Slider_H +#define Fl_Hor_Value_Slider_H + +#include "Fl_Value_Slider.H" + +class Fl_Hor_Value_Slider : public Fl_Value_Slider { +public: + Fl_Hor_Value_Slider(int X,int Y,int W,int H,const char *l=0) + : Fl_Value_Slider(X,Y,W,H,l) {type(FL_HOR_SLIDER);} +}; + +#endif + +// +// End of "$Id: Fl_Hor_Value_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Image.H new file mode 100644 index 0000000..4d6f052 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Image.H @@ -0,0 +1,112 @@ +// +// "$Id: Fl_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// Image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Image_H +# define Fl_Image_H + +# include "Enumerations.H" + +class Fl_Widget; +struct Fl_Menu_Item; +struct Fl_Label; + +class FL_EXPORT Fl_Image { + int w_, h_, d_, ld_, count_; + const char * const *data_; + + // Forbid use of copy contructor and assign operator + Fl_Image & operator=(const Fl_Image &); + Fl_Image(const Fl_Image &); + + protected: + + void w(int W) {w_ = W;} + void h(int H) {h_ = H;} + void d(int D) {d_ = D;} + void ld(int LD) {ld_ = LD;} + void data(const char * const *p, int c) {data_ = p; count_ = c;} + void draw_empty(int X, int Y); + + static void labeltype(const Fl_Label *lo, int lx, int ly, int lw, int lh, Fl_Align la); + static void measure(const Fl_Label *lo, int &lw, int &lh); + + public: + + int w() const {return w_;} + int h() const {return h_;} + int d() const {return d_;} + int ld() const {return ld_;} + int count() const {return count_;} + const char * const *data() const {return data_;} + + Fl_Image(int W, int H, int D) {w_ = W; h_ = H; d_ = D; ld_ = 0; count_ = 0; data_ = 0;} + virtual ~Fl_Image(); + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void color_average(Fl_Color c, float i); + void inactive() { color_average(FL_GRAY, .33f); } + virtual void desaturate(); + virtual void label(Fl_Widget*w); + virtual void label(Fl_Menu_Item*m); + virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); + void draw(int X, int Y) {draw(X, Y, w(), h(), 0, 0);} + virtual void uncache(); +}; + +class FL_EXPORT Fl_RGB_Image : public Fl_Image { + public: + + const uchar *array; + int alloc_array; // Non-zero if array was allocated + +#if defined(__APPLE__) || defined(WIN32) + void *id; // for internal use + void *mask; // for internal use (mask bitmap) +#else + unsigned id; // for internal use + unsigned mask; // for internal use (mask bitmap) +#endif // __APPLE__ || WIN32 + + Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0) : + Fl_Image(W,H,D), array(bits), alloc_array(0), id(0), mask(0) {data((const char **)&array, 1); ld(LD);} + virtual ~Fl_RGB_Image(); + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void color_average(Fl_Color c, float i); + virtual void desaturate(); + virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); + void draw(int X, int Y) {draw(X, Y, w(), h(), 0, 0);} + virtual void label(Fl_Widget*w); + virtual void label(Fl_Menu_Item*m); + virtual void uncache(); +}; + +#endif // !Fl_Image_H + +// +// End of "$Id: Fl_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input.H new file mode 100644 index 0000000..7debfdd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input.H @@ -0,0 +1,48 @@ +// +// "$Id: Fl_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Input_H +#define Fl_Input_H + +#include "Fl_Input_.H" + +class FL_EXPORT Fl_Input : public Fl_Input_ { + int handle_key(); + int shift_position(int p); + int shift_up_down_position(int p); + void handle_mouse(int keepmark=0); +public: + void draw(); + int handle(int); + Fl_Input(int,int,int,int,const char * = 0); +}; + +#endif + +// +// End of "$Id: Fl_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_.H new file mode 100644 index 0000000..0c52ce6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_.H @@ -0,0 +1,145 @@ +// +// "$Id: Fl_Input_.H 4288 2005-04-16 00:13:17Z mike $" +// +// Input base class header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Input__H +#define Fl_Input__H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +#define FL_NORMAL_INPUT 0 +#define FL_FLOAT_INPUT 1 +#define FL_INT_INPUT 2 +#define FL_HIDDEN_INPUT 3 +#define FL_MULTILINE_INPUT 4 +#define FL_SECRET_INPUT 5 +#define FL_INPUT_TYPE 7 +#define FL_INPUT_READONLY 8 +#define FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY) +#define FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY) +#define FL_INPUT_WRAP 16 +#define FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP) +#define FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP) + +class FL_EXPORT Fl_Input_ : public Fl_Widget { + + const char* value_; + char* buffer; + + int size_; + int bufsize; + int position_; + int mark_; + int xscroll_, yscroll_; + int mu_p; + int maximum_size_; + + uchar erase_cursor_only; + uchar textfont_; + uchar textsize_; + unsigned textcolor_; + unsigned cursor_color_; + + const char* expand(const char*, char*) const; + double expandpos(const char*, const char*, const char*, int*) const; + void minimal_update(int, int); + void minimal_update(int p); + void put_in_buffer(int newsize); + + void setfont() const; + +protected: + + int word_start(int i) const; + int word_end(int i) const; + int line_start(int i) const; + int line_end(int i) const; + void drawtext(int, int, int, int); + int up_down_position(int, int keepmark=0); + void handle_mouse(int, int, int, int, int keepmark=0); + int handletext(int e, int, int, int, int); + void maybe_do_callback(); + int xscroll() const {return xscroll_;} + int yscroll() const {return yscroll_;} + +public: + + void resize(int, int, int, int); + + Fl_Input_(int, int, int, int, const char* = 0); + ~Fl_Input_(); + + int value(const char*); + int value(const char*, int); + int static_value(const char*); + int static_value(const char*, int); + const char* value() const {return value_;} + char index(int i) const {return value_[i];} + int size() const {return size_;} + void size(int W, int H) { Fl_Widget::size(W, H); } + int maximum_size() const {return maximum_size_;} + void maximum_size(int m) {maximum_size_ = m;} + + int position() const {return position_;} + int mark() const {return mark_;} + int position(int p, int m); + int position(int p) {return position(p, p);} + int mark(int m) {return position(position(), m);} + int replace(int, int, const char*, int=0); + int cut() {return replace(position(), mark(), 0);} + int cut(int n) {return replace(position(), position()+n, 0);} + int cut(int a, int b) {return replace(a, b, 0);} + int insert(const char* t, int l=0){return replace(position_, mark_, t, l);} + int copy(int clipboard); + int undo(); + int copy_cuts(); + + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned n) {textcolor_ = n;} + Fl_Color cursor_color() const {return (Fl_Color)cursor_color_;} + void cursor_color(unsigned n) {cursor_color_ = n;} + + int input_type() const {return type() & FL_INPUT_TYPE; } + void input_type(int t) { type((uchar)(t | readonly())); } + int readonly() const { return type() & FL_INPUT_READONLY; } + void readonly(int b) { if (b) type((uchar)(type() | FL_INPUT_READONLY)); + else type((uchar)(type() & ~FL_INPUT_READONLY)); } + int wrap() const { return type() & FL_INPUT_WRAP; } + void wrap(int b) { if (b) type((uchar)(type() | FL_INPUT_WRAP)); + else type((uchar)(type() & ~FL_INPUT_WRAP)); } +}; + +#endif + +// +// End of "$Id: Fl_Input_.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_Choice.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_Choice.H new file mode 100644 index 0000000..d4acb44 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Input_Choice.H @@ -0,0 +1,154 @@ +// +// "$Id$" +// +// An input/chooser widget. +// ______________ ____ +// | || __ | +// | input area || \/ | +// |______________||____| +// +// Copyright 1998-2005 by Bill Spitzak and others. +// Copyright 2004 by Greg Ercolano. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Input_Choice_H +#define Fl_Input_Choice_H + +#include +#include +#include +#include + +class Fl_Input_Choice : public Fl_Group { + // Private class to handle slightly 'special' behavior of menu button + class InputMenuButton : public Fl_Menu_Button { + void draw() { + draw_box(FL_UP_BOX, color()); + fl_color(active_r() ? labelcolor() : fl_inactive(labelcolor())); + int xc = x()+w()/2, yc=y()+h()/2; + fl_polygon(xc-5,yc-3,xc+5,yc-3,xc,yc+3); + if (Fl::focus() == this) draw_focus(); + } + public: + InputMenuButton(int x,int y,int w,int h,const char*l=0) : + Fl_Menu_Button(x,y,w,h,l) { box(FL_UP_BOX); } + }; + + Fl_Input *inp_; + InputMenuButton *menu_; + + static void menu_cb(Fl_Widget*, void *data) { + Fl_Input_Choice *o=(Fl_Input_Choice *)data; + o->inp_->value(o->menu_->text()); + o->do_callback(); + } + + static void inp_cb(Fl_Widget*, void *data) { + Fl_Input_Choice *o=(Fl_Input_Choice *)data; + o->do_callback(); + } + + // Custom resize behavior -- input stretches, menu button doesn't + inline int inp_x() { return(x() + Fl::box_dx(box())); } + inline int inp_y() { return(y() + Fl::box_dy(box())); } + inline int inp_w() { return(w() - Fl::box_dw(box()) - 20); } + inline int inp_h() { return(h() - Fl::box_dh(box())); } + + inline int menu_x() { return(x() + w() - 20 - Fl::box_dx(box())); } + inline int menu_y() { return(y() + Fl::box_dy(box())); } + inline int menu_w() { return(20); } + inline int menu_h() { return(h() - Fl::box_dh(box())); } + +public: + Fl_Input_Choice (int x,int y,int w,int h,const char*l=0) : Fl_Group(x,y,w,h,l) { + Fl_Group::box(FL_DOWN_BOX); + align(FL_ALIGN_LEFT); // default like Fl_Input + inp_ = new Fl_Input(inp_x(), inp_y(), + inp_w(), inp_h()); + inp_->callback(inp_cb, (void*)this); + inp_->box(FL_FLAT_BOX); // cosmetic + menu_ = new InputMenuButton(menu_x(), menu_y(), + menu_w(), menu_h()); + menu_->callback(menu_cb, (void*)this); + menu_->box(FL_FLAT_BOX); // cosmetic + end(); + } + void add(const char *s) { + menu_->add(s); + } + void clear() { + menu_->clear(); + } + Fl_Boxtype down_box() const { + return (menu_->down_box()); + } + void down_box(Fl_Boxtype b) { + menu_->down_box(b); + } + const Fl_Menu_Item *menu() { + return (menu_->menu()); + } + void menu(const Fl_Menu_Item *m) { + menu_->menu(m); + } + void resize(int X, int Y, int W, int H) { + Fl_Group::resize(X,Y,W,H); + inp_->resize(inp_x(), inp_y(), inp_w(), inp_h()); + menu_->resize(menu_x(), menu_y(), menu_w(), menu_h()); + } + Fl_Color textcolor() const { + return (inp_->textcolor()); + } + void textcolor(Fl_Color c) { + inp_->textcolor(c); + } + uchar textfont() const { + return (inp_->textfont()); + } + void textfont(uchar f) { + inp_->textfont(f); + } + uchar textsize() const { + return (inp_->textsize()); + } + void textsize(uchar s) { + inp_->textsize(s); + } + const char* value() const { + return (inp_->value()); + } + void value(const char *val) { + inp_->value(val); + } + void value(int val) { + menu_->value(val); + inp_->value(menu_->text(val)); + } + Fl_Menu_Button *menubutton() { return menu_; } + Fl_Input *input() { return inp_; } +}; + +#endif // !Fl_Input_Choice_H + +// +// End of "$Id$". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Int_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Int_Input.H new file mode 100644 index 0000000..641ad16 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Int_Input.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Int_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Integer input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Int_Input_H +#define Fl_Int_Input_H + +#include "Fl_Input.H" + +class Fl_Int_Input : public Fl_Input { +public: + Fl_Int_Input(int X,int Y,int W,int H,const char *l = 0) + : Fl_Input(X,Y,W,H,l) {type(FL_INT_INPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Int_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_JPEG_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_JPEG_Image.H new file mode 100644 index 0000000..234c8bb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_JPEG_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_JPEG_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// JPEG image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_JPEG_Image_H +#define Fl_JPEG_Image_H +# include "Fl_Image.H" + +class FL_EXPORT Fl_JPEG_Image : public Fl_RGB_Image { + + public: + + Fl_JPEG_Image(const char* filename); +}; + +#endif + +// +// End of "$Id: Fl_JPEG_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Light_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Light_Button.H new file mode 100644 index 0000000..f056a30 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Light_Button.H @@ -0,0 +1,45 @@ +// +// "$Id: Fl_Light_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Lighted button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Light_Button_H +#define Fl_Light_Button_H + +#include "Fl_Button.H" + +class FL_EXPORT Fl_Light_Button : public Fl_Button { +protected: + virtual void draw(); +public: + virtual int handle(int); + Fl_Light_Button(int x,int y,int w,int h,const char *l = 0); +}; + +#endif + +// +// End of "$Id: Fl_Light_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Line_Dial.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Line_Dial.H new file mode 100644 index 0000000..301bff9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Line_Dial.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Line_Dial.H 4288 2005-04-16 00:13:17Z mike $" +// +// Line dial header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Line_Dial_H +#define Fl_Line_Dial_H + +#include "Fl_Dial.H" + +class Fl_Line_Dial : public Fl_Dial { +public: + Fl_Line_Dial(int x,int y,int w,int h, const char *l = 0) + : Fl_Dial(x,y,w,h,l) {type(FL_LINE_DIAL);} +}; + +#endif + +// +// End of "$Id: Fl_Line_Dial.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu.H new file mode 100644 index 0000000..9d77980 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu.H @@ -0,0 +1,33 @@ +// +// "$Id: Fl_Menu.H 4288 2005-04-16 00:13:17Z mike $" +// +// Old menu header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// this include file is for back compatability only +#include "Fl_Menu_Item.H" + +// +// End of "$Id: Fl_Menu.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_.H new file mode 100644 index 0000000..b04e4e9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_.H @@ -0,0 +1,102 @@ +// +// "$Id: Fl_Menu_.H 4288 2005-04-16 00:13:17Z mike $" +// +// Menu base class header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Menu__H +#define Fl_Menu__H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif +#include "Fl_Menu_Item.H" + +class FL_EXPORT Fl_Menu_ : public Fl_Widget { + + Fl_Menu_Item *menu_; + const Fl_Menu_Item *value_; + +protected: + + uchar alloc; + uchar down_box_; + uchar textfont_; + uchar textsize_; + unsigned textcolor_; + +public: + Fl_Menu_(int,int,int,int,const char * =0); + ~Fl_Menu_(); + + int item_pathname(char *name, int namelen, const Fl_Menu_Item *finditem=0) const; + const Fl_Menu_Item* picked(const Fl_Menu_Item*); + const Fl_Menu_Item* find_item(const char *name); + + const Fl_Menu_Item* test_shortcut() {return picked(menu()->test_shortcut());} + void global(); + + const Fl_Menu_Item *menu() const {return menu_;} + void menu(const Fl_Menu_Item *m); + void copy(const Fl_Menu_Item *m, void* user_data = 0); + int add(const char*, int shortcut, Fl_Callback*, void* = 0, int = 0); + int add(const char* a, const char* b, Fl_Callback* c, + void* d = 0, int e = 0) {return add(a,fl_old_shortcut(b),c,d,e);} + int size() const ; + void size(int W, int H) { Fl_Widget::size(W, H); } + void clear(); + int add(const char *); + void replace(int,const char *); + void remove(int); + void shortcut(int i, int s) {menu_[i].shortcut(s);} + void mode(int i,int fl) {menu_[i].flags = fl;} + int mode(int i) const {return menu_[i].flags;} + + const Fl_Menu_Item *mvalue() const {return value_;} + int value() const {return value_ ? (int)(value_-menu_) : -1;} + int value(const Fl_Menu_Item*); + int value(int i) {return value(menu_+i);} + const char *text() const {return value_ ? value_->text : 0;} + const char *text(int i) const {return menu_[i].text;} + + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar c) {textfont_=c;} + uchar textsize() const {return textsize_;} + void textsize(uchar c) {textsize_=c;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned c) {textcolor_=c;} + + Fl_Boxtype down_box() const {return (Fl_Boxtype)down_box_;} + void down_box(Fl_Boxtype b) {down_box_ = b;} + + // back compatability: + Fl_Color down_color() const {return selection_color();} + void down_color(unsigned c) {selection_color(c);} +}; + +#endif + +// +// End of "$Id: Fl_Menu_.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Bar.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Bar.H new file mode 100644 index 0000000..ab240da --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Bar.H @@ -0,0 +1,46 @@ +// +// "$Id: Fl_Menu_Bar.H 4288 2005-04-16 00:13:17Z mike $" +// +// Menu bar header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Menu_Bar_H +#define Fl_Menu_Bar_H + +#include "Fl_Menu_.H" + +class FL_EXPORT Fl_Menu_Bar : public Fl_Menu_ { +protected: + void draw(); +public: + int handle(int); + Fl_Menu_Bar(int X, int Y, int W, int H,const char *l=0) + : Fl_Menu_(X,Y,W,H,l) {} +}; + +#endif + +// +// End of "$Id: Fl_Menu_Bar.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Button.H new file mode 100644 index 0000000..39a2665 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Button.H @@ -0,0 +1,48 @@ +// +// "$Id: Fl_Menu_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Menu button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Menu_Button_H +#define Fl_Menu_Button_H + +#include "Fl_Menu_.H" + +class FL_EXPORT Fl_Menu_Button : public Fl_Menu_ { +protected: + void draw(); +public: + // values for type: + enum {POPUP1 = 1, POPUP2, POPUP12, POPUP3, POPUP13, POPUP23, POPUP123}; + int handle(int); + const Fl_Menu_Item* popup(); + Fl_Menu_Button(int,int,int,int,const char * =0); +}; + +#endif + +// +// End of "$Id: Fl_Menu_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Item.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Item.H new file mode 100644 index 0000000..33e520a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Item.H @@ -0,0 +1,167 @@ +// +// "$Id: Fl_Menu_Item.H 4288 2005-04-16 00:13:17Z mike $" +// +// Menu item header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Menu_Item_H +#define Fl_Menu_Item_H + +# include "Fl_Widget.H" +# include "Fl_Image.H" + +# if defined(__APPLE__) && defined(check) +# undef check +# endif + +enum { // values for flags: + FL_MENU_INACTIVE = 1, + FL_MENU_TOGGLE= 2, + FL_MENU_VALUE = 4, + FL_MENU_RADIO = 8, + FL_MENU_INVISIBLE = 0x10, + FL_SUBMENU_POINTER = 0x20, + FL_SUBMENU = 0x40, + FL_MENU_DIVIDER = 0x80, + FL_MENU_HORIZONTAL = 0x100 +}; + +extern FL_EXPORT int fl_old_shortcut(const char*); + +class Fl_Menu_; + +struct FL_EXPORT Fl_Menu_Item { + const char *text; // label() + int shortcut_; + Fl_Callback *callback_; + void *user_data_; + int flags; + uchar labeltype_; + uchar labelfont_; + uchar labelsize_; + unsigned labelcolor_; + + // advance N items, skipping submenus: + const Fl_Menu_Item *next(int=1) const; + Fl_Menu_Item *next(int i=1) { + return (Fl_Menu_Item*)(((const Fl_Menu_Item*)this)->next(i));} + const Fl_Menu_Item *first() const { return next(0); } + Fl_Menu_Item *first() { return next(0); } + + // methods on menu items: + const char* label() const {return text;} + void label(const char* a) {text=a;} + void label(Fl_Labeltype a,const char* b) {labeltype_ = a; text = b;} + Fl_Labeltype labeltype() const {return (Fl_Labeltype)labeltype_;} + void labeltype(Fl_Labeltype a) {labeltype_ = a;} + Fl_Color labelcolor() const {return (Fl_Color)labelcolor_;} + void labelcolor(unsigned a) {labelcolor_ = a;} + Fl_Font labelfont() const {return (Fl_Font)labelfont_;} + void labelfont(uchar a) {labelfont_ = a;} + uchar labelsize() const {return labelsize_;} + void labelsize(uchar a) {labelsize_ = a;} + Fl_Callback_p callback() const {return callback_;} + void callback(Fl_Callback* c, void* p) {callback_=c; user_data_=p;} + void callback(Fl_Callback* c) {callback_=c;} + void callback(Fl_Callback0*c) {callback_=(Fl_Callback*)c;} + void callback(Fl_Callback1*c, long p=0) {callback_=(Fl_Callback*)c; user_data_=(void*)p;} + void* user_data() const {return user_data_;} + void user_data(void* v) {user_data_ = v;} + long argument() const {return (long)user_data_;} + void argument(long v) {user_data_ = (void*)v;} + int shortcut() const {return shortcut_;} + void shortcut(int s) {shortcut_ = s;} + int submenu() const {return flags&(FL_SUBMENU|FL_SUBMENU_POINTER);} + int checkbox() const {return flags&FL_MENU_TOGGLE;} + int radio() const {return flags&FL_MENU_RADIO;} + int value() const {return flags&FL_MENU_VALUE;} + void set() {flags |= FL_MENU_VALUE;} + void clear() {flags &= ~FL_MENU_VALUE;} + void setonly(); + int visible() const {return !(flags&FL_MENU_INVISIBLE);} + void show() {flags &= ~FL_MENU_INVISIBLE;} + void hide() {flags |= FL_MENU_INVISIBLE;} + int active() const {return !(flags&FL_MENU_INACTIVE);} + void activate() {flags &= ~FL_MENU_INACTIVE;} + void deactivate() {flags |= FL_MENU_INACTIVE;} + int activevisible() const {return !(flags&0x11);} + + // compatibility for FLUID so it can set the image of a menu item... + void image(Fl_Image* a) {a->label(this);} + void image(Fl_Image& a) {a.label(this);} + + // used by menubar: + int measure(int* h, const Fl_Menu_*) const; + void draw(int x, int y, int w, int h, const Fl_Menu_*, int t=0) const; + + // popup menus without using an Fl_Menu_ widget: + const Fl_Menu_Item* popup( + int X, int Y, + const char *title = 0, + const Fl_Menu_Item* picked=0, + const Fl_Menu_* = 0) const; + const Fl_Menu_Item* pulldown( + int X, int Y, int W, int H, + const Fl_Menu_Item* picked = 0, + const Fl_Menu_* = 0, + const Fl_Menu_Item* title = 0, + int menubar=0) const; + const Fl_Menu_Item* test_shortcut() const; + const Fl_Menu_Item* find_shortcut(int *ip=0) const; + + void do_callback(Fl_Widget* o) const {callback_(o, user_data_);} + void do_callback(Fl_Widget* o,void* arg) const {callback_(o, arg);} + void do_callback(Fl_Widget* o,long arg) const {callback_(o, (void*)arg);} + + // back-compatability, do not use: + int checked() const {return flags&FL_MENU_VALUE;} + void check() {flags |= FL_MENU_VALUE;} + void uncheck() {flags &= ~FL_MENU_VALUE;} + int add(const char*, int shortcut, Fl_Callback*, void* =0, int = 0); + int add(const char*a, const char* b, Fl_Callback* c, + void* d = 0, int e = 0) { + return add(a,fl_old_shortcut(b),c,d,e);} + int size() const ; +}; + +typedef Fl_Menu_Item Fl_Menu; // back compatability + +enum { // back-compatability enum: + FL_PUP_NONE = 0, + FL_PUP_GREY = FL_MENU_INACTIVE, + FL_PUP_GRAY = FL_MENU_INACTIVE, + FL_MENU_BOX = FL_MENU_TOGGLE, + FL_PUP_BOX = FL_MENU_TOGGLE, + FL_MENU_CHECK = FL_MENU_VALUE, + FL_PUP_CHECK = FL_MENU_VALUE, + FL_PUP_RADIO = FL_MENU_RADIO, + FL_PUP_INVISIBLE = FL_MENU_INVISIBLE, + FL_PUP_SUBMENU = FL_SUBMENU_POINTER +}; + +#endif + +// +// End of "$Id: Fl_Menu_Item.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Window.H new file mode 100644 index 0000000..1056fb2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Menu_Window.H @@ -0,0 +1,54 @@ +// +// "$Id: Fl_Menu_Window.H 4288 2005-04-16 00:13:17Z mike $" +// +// Menu window header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Menu_Window_H +#define Fl_Menu_Window_H + +#include "Fl_Single_Window.H" + +class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window { + enum {NO_OVERLAY = 128}; +public: + void show(); + void erase(); + void flush(); + void hide(); + int overlay() {return !(flags()&NO_OVERLAY);} + void set_overlay() {clear_flag(NO_OVERLAY);} + void clear_overlay() {set_flag(NO_OVERLAY);} + ~Fl_Menu_Window(); + Fl_Menu_Window(int W, int H, const char *l = 0) + : Fl_Single_Window(W,H,l) { image(0); } + Fl_Menu_Window(int X, int Y, int W, int H, const char *l = 0) + : Fl_Single_Window(X,Y,W,H,l) { image(0); } +}; + +#endif + +// +// End of "$Id: Fl_Menu_Window.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Browser.H new file mode 100644 index 0000000..c1646dc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Browser.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Multi_Browser.H 4288 2005-04-16 00:13:17Z mike $" +// +// Multi browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Multi_Browser_H +#define Fl_Multi_Browser_H + +#include "Fl_Browser.H" + +class Fl_Multi_Browser : public Fl_Browser { +public: + Fl_Multi_Browser(int X,int Y,int W,int H,const char *L=0) + : Fl_Browser(X,Y,W,H,L) {type(FL_MULTI_BROWSER);} +}; + +#endif + +// +// End of "$Id: Fl_Multi_Browser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Label.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Label.H new file mode 100644 index 0000000..f4f9151 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multi_Label.H @@ -0,0 +1,47 @@ +// +// "$Id: Fl_Multi_Label.H 4288 2005-04-16 00:13:17Z mike $" +// +// Multi-label header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Multi_Label_H +#define Fl_Multi_Label_H + +class Fl_Widget; +struct Fl_Menu_Item; + +struct FL_EXPORT Fl_Multi_Label { + const char* labela; + const char* labelb; + uchar typea; + uchar typeb; + void label(Fl_Widget*); + void label(Fl_Menu_Item*); +}; + +#endif + +// +// End of "$Id: Fl_Multi_Label.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Input.H new file mode 100644 index 0000000..0d6d1dd --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Input.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Multiline_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Multiline input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Multiline_Input_H +#define Fl_Multiline_Input_H + +#include "Fl_Input.H" + +class Fl_Multiline_Input : public Fl_Input { +public: + Fl_Multiline_Input(int X,int Y,int W,int H,const char *l = 0) + : Fl_Input(X,Y,W,H,l) {type(FL_MULTILINE_INPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Multiline_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Output.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Output.H new file mode 100644 index 0000000..6d24358 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Multiline_Output.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Multiline_Output.H 4288 2005-04-16 00:13:17Z mike $" +// +// Multi line output header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Multiline_Output_H +#define Fl_Multiline_Output_H + +#include "Fl_Output.H" + +class Fl_Multiline_Output : public Fl_Output { +public: + Fl_Multiline_Output(int X,int Y,int W,int H,const char *l = 0) + : Fl_Output(X,Y,W,H,l) {type(FL_MULTILINE_OUTPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Multiline_Output.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Nice_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Nice_Slider.H new file mode 100644 index 0000000..6a623f9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Nice_Slider.H @@ -0,0 +1,42 @@ +// +// "$Id: Fl_Nice_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// "Nice" slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// +#ifndef Fl_Nice_Slider_H +#define Fl_Nice_Slider_H + +#include "Fl_Slider.H" + +class Fl_Nice_Slider : public Fl_Slider { +public: + Fl_Nice_Slider(int x,int y,int w,int h,const char *l=0) + : Fl_Slider(x,y,w,h,l) {type(FL_VERT_NICE_SLIDER); box(FL_FLAT_BOX);} +}; + +#endif + +// +// End of "$Id: Fl_Nice_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Object.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Object.H new file mode 100644 index 0000000..e2a0404 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Object.H @@ -0,0 +1,36 @@ +// +// "$Id: Fl_Object.H 4288 2005-04-16 00:13:17Z mike $" +// +// Old Fl_Object header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// This file is provided for back compatability only. Please use Fl_Widget +#ifndef Fl_Object +#define Fl_Object Fl_Widget +#endif +#include "Fl_Widget.H" + +// +// End of "$Id: Fl_Object.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Output.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Output.H new file mode 100644 index 0000000..23414b4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Output.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Output.H 4288 2005-04-16 00:13:17Z mike $" +// +// Output header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Output_H +#define Fl_Output_H + +#include "Fl_Input.H" + +class Fl_Output : public Fl_Input { +public: + Fl_Output(int X,int Y,int W,int H, const char *l = 0) + : Fl_Input(X, Y, W, H, l) {type(FL_NORMAL_OUTPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Output.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Overlay_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Overlay_Window.H new file mode 100644 index 0000000..bf873d2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Overlay_Window.H @@ -0,0 +1,56 @@ +// +// "$Id: Fl_Overlay_Window.H 4288 2005-04-16 00:13:17Z mike $" +// +// Overlay window header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Overlay_Window_H +#define Fl_Overlay_Window_H + +#include "Fl_Double_Window.H" + +class FL_EXPORT Fl_Overlay_Window : public Fl_Double_Window { + friend class _Fl_Overlay; + virtual void draw_overlay() = 0; + Fl_Window *overlay_; +public: + void show(); + void flush(); + void hide(); + void resize(int,int,int,int); + ~Fl_Overlay_Window(); + int can_do_overlay(); + void redraw_overlay(); + Fl_Overlay_Window(int W, int H, const char *l=0) + : Fl_Double_Window(W,H,l) {overlay_ = 0; force_doublebuffering_=1; image(0); } + Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0) + : Fl_Double_Window(X,Y,W,H,l) {overlay_ = 0; force_doublebuffering_=1; image(0); } + void show(int a, char **b) {Fl_Double_Window::show(a,b);} +}; + +#endif + +// +// End of "$Id: Fl_Overlay_Window.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNG_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNG_Image.H new file mode 100644 index 0000000..f11e623 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNG_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_PNG_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// PNG image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_PNG_Image_H +#define Fl_PNG_Image_H +# include "Fl_Image.H" + +class FL_EXPORT Fl_PNG_Image : public Fl_RGB_Image { + + public: + + Fl_PNG_Image(const char* filename); +}; + +#endif + +// +// End of "$Id: Fl_PNG_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNM_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNM_Image.H new file mode 100644 index 0000000..314c384 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_PNM_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_PNM_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// PNM image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_PNM_Image_H +#define Fl_PNM_Image_H +# include "Fl_Image.H" + +class FL_EXPORT Fl_PNM_Image : public Fl_RGB_Image { + + public: + + Fl_PNM_Image(const char* filename); +}; + +#endif + +// +// End of "$Id: Fl_PNM_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pack.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pack.H new file mode 100644 index 0000000..8e3c2ba --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pack.H @@ -0,0 +1,51 @@ +// +// "$Id: Fl_Pack.H 4288 2005-04-16 00:13:17Z mike $" +// +// Pack header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Pack_H +#define Fl_Pack_H + +#include + +class FL_EXPORT Fl_Pack : public Fl_Group { + int spacing_; +public: + enum { // values for type(int) + VERTICAL = 0, + HORIZONTAL = 1 + }; + void draw(); + Fl_Pack(int x,int y,int w ,int h,const char *l = 0); + int spacing() const {return spacing_;} + void spacing(int i) {spacing_ = i;} + uchar horizontal() const {return type();} +}; + +#endif + +// +// End of "$Id: Fl_Pack.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pixmap.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pixmap.H new file mode 100644 index 0000000..97f1f26 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Pixmap.H @@ -0,0 +1,80 @@ +// +// "$Id: Fl_Pixmap.H 4288 2005-04-16 00:13:17Z mike $" +// +// Pixmap header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Pixmap_H +#define Fl_Pixmap_H +# include "Fl_Image.H" + +class Fl_Widget; +struct Fl_Menu_Item; + +// Older C++ compilers don't support the explicit keyword... :( +# if defined(__sgi) && !defined(_COMPILER_VERSION) +# define explicit +# endif // __sgi && !_COMPILER_VERSION + +class FL_EXPORT Fl_Pixmap : public Fl_Image { + void copy_data(); + void delete_data(); + void set_data(const char * const *p); + + protected: + + void measure(); + + public: + + int alloc_data; // Non-zero if data was allocated +#if defined(__APPLE__) || defined(WIN32) + void *id; // for internal use + void *mask; // for internal use (mask bitmap) +#else + unsigned id; // for internal use + unsigned mask; // for internal use (mask bitmap) +#endif // __APPLE__ || WIN32 + + explicit Fl_Pixmap(char * const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + explicit Fl_Pixmap(uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + explicit Fl_Pixmap(const char * const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + explicit Fl_Pixmap(const uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + virtual ~Fl_Pixmap(); + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void color_average(Fl_Color c, float i); + virtual void desaturate(); + virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); + void draw(int X, int Y) {draw(X, Y, w(), h(), 0, 0);} + virtual void label(Fl_Widget*w); + virtual void label(Fl_Menu_Item*m); + virtual void uncache(); +}; + +#endif + +// +// End of "$Id: Fl_Pixmap.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Positioner.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Positioner.H new file mode 100644 index 0000000..dbd147f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Positioner.H @@ -0,0 +1,77 @@ +// +// "$Id: Fl_Positioner.H 4288 2005-04-16 00:13:17Z mike $" +// +// Positioner header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Positioner_H +#define Fl_Positioner_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +class FL_EXPORT Fl_Positioner : public Fl_Widget { + + double xmin, ymin; + double xmax, ymax; + double xvalue_, yvalue_; + double xstep_, ystep_; + +protected: + + // these allow subclasses to put the dial in a smaller area: + void draw(int, int, int, int); + int handle(int, int, int, int, int); + void draw(); + +public: + + int handle(int); + Fl_Positioner(int x,int y,int w,int h, const char *l=0); + double xvalue() const {return xvalue_;} + double yvalue() const {return yvalue_;} + int xvalue(double); + int yvalue(double); + int value(double,double); + void xbounds(double, double); + double xminimum() const {return xmin;} + void xminimum(double a) {xbounds(a,xmax);} + double xmaximum() const {return xmax;} + void xmaximum(double a) {xbounds(xmin,a);} + void ybounds(double, double); + double yminimum() const {return ymin;} + void yminimum(double a) {ybounds(a,ymax);} + double ymaximum() const {return ymax;} + void ymaximum(double a) {ybounds(ymin,a);} + void xstep(double a) {xstep_ = a;} + void ystep(double a) {ystep_ = a;} + +}; + +#endif + +// +// End of "$Id: Fl_Positioner.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Preferences.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Preferences.H new file mode 100644 index 0000000..b583d2e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Preferences.H @@ -0,0 +1,169 @@ +// +// "$Id: Fl_Preferences.H 4458 2005-07-26 07:59:01Z matt $" +// +// Preferences definitions for the Fast Light Tool Kit (FLTK). +// +// Copyright 2002-2005 by Matthias Melcher. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Preferences_H +# define Fl_Preferences_H + +# ifdef WIN32 +# include +# endif // WIN32 + +# include +# include "Fl_Export.H" + + +/** + * Preferences are a data tree containing a root, branches and leafs + */ +class FL_EXPORT Fl_Preferences +{ + +public: + + enum Root { SYSTEM=0, USER }; + // enum Type { win32, macos, fltk }; + + Fl_Preferences( Root root, const char *vendor, const char *application ); + Fl_Preferences( const char *path, const char *vendor, const char *application ); + Fl_Preferences( Fl_Preferences&, const char *group ); + Fl_Preferences( Fl_Preferences*, const char *group ); + ~Fl_Preferences(); + + int groups(); + const char *group( int ); + char groupExists( const char *group ); + char deleteGroup( const char *group ); + + int entries(); + const char *entry( int ); + char entryExists( const char *entry ); + char deleteEntry( const char *entry ); + + char set( const char *entry, int value ); + char set( const char *entry, float value ); + char set( const char *entry, double value ); + char set( const char *entry, const char *value ); + char set( const char *entry, const void *value, int size ); + + char get( const char *entry, int &value, int defaultValue ); + char get( const char *entry, float &value, float defaultValue ); + char get( const char *entry, double &value, double defaultValue ); + char get( const char *entry, char *&value, const char *defaultValue ); + char get( const char *entry, char *value, const char *defaultValue, int maxSize ); + char get( const char *entry, void *&value, const void *defaultValue, int defaultSize ); + char get( const char *entry, void *value, const void *defaultValue, int defaultSize, int maxSize ); + int size( const char *entry ); + + char getUserdataPath( char *path, int pathlen ); + + void flush(); + + // char export( const char *filename, Type fileFormat ); + // char import( const char *filename ); + + class FL_EXPORT Name { + char *data_; + public: + Name( unsigned int n ); + Name( const char *format, ... ); + operator const char *() { return data_; } + ~Name(); + }; + + struct Entry + { + char *name, *value; + }; + +private: + + // make the following functions unavailable + Fl_Preferences(); + Fl_Preferences(const Fl_Preferences&); + Fl_Preferences &operator=(const Fl_Preferences&); + + static char nameBuffer[128]; + + class FL_EXPORT Node // a node contains a list to all its entries + { // and all means to manage the tree structure + Node *child_, *next_, *parent_; + char *path_; + char dirty_; + public: + Node( const char *path ); + ~Node(); + // node methods + int write( FILE *f ); + Node *find( const char *path ); + Node *search( const char *path, int offset=0 ); + Node *addChild( const char *path ); + void setParent( Node *parent ); + Node *parent() { return parent_; } + char remove(); + char dirty(); + // entry methods + int nChildren(); + const char *child( int ix ); + void set( const char *name, const char *value ); + void set( const char *line ); + void add( const char *line ); + const char *get( const char *name ); + int getEntry( const char *name ); + char deleteEntry( const char *name ); + // public values + Entry *entry; + int nEntry, NEntry; + static int lastEntrySet; + }; + friend class Node; + + class FL_EXPORT RootNode // the root node manages file paths and basic reading and writing + { + Fl_Preferences *prefs_; + char *filename_; + char *vendor_, *application_; + public: + RootNode( Fl_Preferences *, Root root, const char *vendor, const char *application ); + RootNode( Fl_Preferences *, const char *path, const char *vendor, const char *application ); + ~RootNode(); + int read(); + int write(); + char getPath( char *path, int pathlen ); + }; + friend class RootNode; + + Node *node; + RootNode *rootNode; + +}; + + +#endif // !Fl_Preferences_H + +// +// End of "$Id: Fl_Preferences.H 4458 2005-07-26 07:59:01Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Progress.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Progress.H new file mode 100644 index 0000000..836d53a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Progress.H @@ -0,0 +1,70 @@ +// +// "$Id: Fl_Progress.H 4288 2005-04-16 00:13:17Z mike $" +// +// Progress bar widget definitions. +// +// Copyright 2000-2005 by Michael Sweet. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef _Fl_Progress_H_ +# define _Fl_Progress_H_ + +// +// Include necessary headers. +// + +#include "Fl_Widget.H" + + +// +// Progress class... +// + +class FL_EXPORT Fl_Progress : public Fl_Widget +{ + float value_, + minimum_, + maximum_; + + protected: + + virtual void draw(); + + public: + + Fl_Progress(int x, int y, int w, int h, const char *l = 0); + + void maximum(float v) { maximum_ = v; redraw(); } + float maximum() const { return (maximum_); } + + void minimum(float v) { minimum_ = v; redraw(); } + float minimum() const { return (minimum_); } + + void value(float v) { value_ = v; redraw(); } + float value() const { return (value_); } +}; + +#endif // !_Fl_Progress_H_ + +// +// End of "$Id: Fl_Progress.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Button.H new file mode 100644 index 0000000..888a9ac --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Button.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Radio_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Radio button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Radio_Button_H +#define Fl_Radio_Button_H + +#include "Fl_Button.H" + +class Fl_Radio_Button : public Fl_Button { +public: + Fl_Radio_Button(int x,int y,int w,int h,const char *l=0) + : Fl_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);} +}; + +#endif + +// +// End of "$Id: Fl_Radio_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Light_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Light_Button.H new file mode 100644 index 0000000..0d6a3ae --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Light_Button.H @@ -0,0 +1,42 @@ +// +// "$Id: Fl_Radio_Light_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Radio light button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// +#ifndef Fl_Radio_Light_Button_H +#define Fl_Radio_Light_Button_H + +#include "Fl_Light_Button.H" + +class Fl_Radio_Light_Button : public Fl_Light_Button { +public: + Fl_Radio_Light_Button(int X,int Y,int W,int H,const char *l=0) + : Fl_Light_Button(X,Y,W,H,l) {type(FL_RADIO_BUTTON);} +}; + +#endif + +// +// End of "$Id: Fl_Radio_Light_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Round_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Round_Button.H new file mode 100644 index 0000000..7e525c5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Radio_Round_Button.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Radio_Round_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Radio round button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Radio_Round_Button_H +#define Fl_Radio_Round_Button_H + +#include "Fl_Round_Button.H" + +class Fl_Radio_Round_Button : public Fl_Round_Button { +public: + Fl_Radio_Round_Button(int x,int y,int w,int h,const char *l=0) + : Fl_Round_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);} +}; + +#endif + +// +// End of "$Id: Fl_Radio_Round_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Repeat_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Repeat_Button.H new file mode 100644 index 0000000..5e0b650 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Repeat_Button.H @@ -0,0 +1,49 @@ +// +// "$Id: Fl_Repeat_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Repeat button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Repeat_Button_H +#define Fl_Repeat_Button_H +#include "Fl.H" +#include "Fl_Button.H" + +class FL_EXPORT Fl_Repeat_Button : public Fl_Button { + static void repeat_callback(void *); +public: + int handle(int); + Fl_Repeat_Button(int X,int Y,int W,int H,const char *l=0) + : Fl_Button(X,Y,W,H,l) {} + void deactivate() { + Fl::remove_timeout(repeat_callback,this); + Fl_Button::deactivate(); + } +}; + +#endif + +// +// End of "$Id: Fl_Repeat_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Return_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Return_Button.H new file mode 100644 index 0000000..f9cb52a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Return_Button.H @@ -0,0 +1,45 @@ +// +// "$Id: Fl_Return_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Return button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Return_Button_H +#define Fl_Return_Button_H +#include "Fl_Button.H" + +class FL_EXPORT Fl_Return_Button : public Fl_Button { +protected: + void draw(); +public: + int handle(int); + Fl_Return_Button(int X, int Y, int W, int H,const char *l=0) + : Fl_Button(X,Y,W,H,l) {} +}; + +#endif + +// +// End of "$Id: Fl_Return_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Roller.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Roller.H new file mode 100644 index 0000000..064b150 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Roller.H @@ -0,0 +1,47 @@ +// +// "$Id: Fl_Roller.H 4288 2005-04-16 00:13:17Z mike $" +// +// Roller header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Roller_H +#define Fl_Roller_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +class FL_EXPORT Fl_Roller : public Fl_Valuator { +protected: + void draw(); +public: + int handle(int); + Fl_Roller(int X,int Y,int W,int H,const char* L=0); +}; + +#endif + +// +// End of "$Id: Fl_Roller.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Button.H new file mode 100644 index 0000000..c47e92c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Button.H @@ -0,0 +1,42 @@ +// +// "$Id: Fl_Round_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Round button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Round_Button_H +#define Fl_Round_Button_H + +#include "Fl_Light_Button.H" + +class FL_EXPORT Fl_Round_Button : public Fl_Light_Button { +public: + Fl_Round_Button(int x,int y,int w,int h,const char *l = 0); +}; + +#endif + +// +// End of "$Id: Fl_Round_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Clock.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Clock.H new file mode 100644 index 0000000..d3b9fb0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Round_Clock.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Round_Clock.H 4288 2005-04-16 00:13:17Z mike $" +// +// Round clock header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Round_Clock_H +#define Fl_Round_Clock_H + +#include "Fl_Clock.H" + +class Fl_Round_Clock : public Fl_Clock { +public: + Fl_Round_Clock(int x,int y,int w,int h, const char *l = 0) + : Fl_Clock(x,y,w,h,l) {type(FL_ROUND_CLOCK); box(FL_NO_BOX);} +}; + +#endif + +// +// End of "$Id: Fl_Round_Clock.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scroll.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scroll.H new file mode 100644 index 0000000..0bc3a5b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scroll.H @@ -0,0 +1,79 @@ +// +// "$Id: Fl_Scroll.H 4288 2005-04-16 00:13:17Z mike $" +// +// Scroll header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Scroll_H +#define Fl_Scroll_H + +#include "Fl_Group.H" +#include "Fl_Scrollbar.H" + +class FL_EXPORT Fl_Scroll : public Fl_Group { + + int xposition_, yposition_; + int width_, height_; + int oldx, oldy; + static void hscrollbar_cb(Fl_Widget*, void*); + static void scrollbar_cb(Fl_Widget*, void*); + void fix_scrollbar_order(); + static void draw_clip(void*,int,int,int,int); + void bbox(int&,int&,int&,int&); + +protected: + + void draw(); + +public: + + Fl_Scrollbar scrollbar; + Fl_Scrollbar hscrollbar; + + void resize(int,int,int,int); + int handle(int); + + Fl_Scroll(int X,int Y,int W,int H,const char*l=0); + + enum { // values for type() + HORIZONTAL = 1, + VERTICAL = 2, + BOTH = 3, + ALWAYS_ON = 4, + HORIZONTAL_ALWAYS = 5, + VERTICAL_ALWAYS = 6, + BOTH_ALWAYS = 7 + }; + + int xposition() const {return xposition_;} + int yposition() const {return yposition_;} + void position(int, int); + void clear(); +}; + +#endif + +// +// End of "$Id: Fl_Scroll.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scrollbar.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scrollbar.H new file mode 100644 index 0000000..93c75b8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Scrollbar.H @@ -0,0 +1,60 @@ +// +// "$Id: Fl_Scrollbar.H 4288 2005-04-16 00:13:17Z mike $" +// +// Scroll bar header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Scrollbar_H +#define Fl_Scrollbar_H + +#include "Fl_Slider.H" + +class FL_EXPORT Fl_Scrollbar : public Fl_Slider { + + int linesize_; + int pushed_; + static void timeout_cb(void*); + void increment_cb(); +protected: + void draw(); + +public: + + Fl_Scrollbar(int x,int y,int w,int h, const char *l = 0); + int handle(int); + + int value() {return int(Fl_Slider::value());} + int value(int p, int s, int top, int total) { + return scrollvalue(p, s, top, total); + } + int linesize() const {return linesize_;} + void linesize(int i) {linesize_ = i;} + +}; + +#endif + +// +// End of "$Id: Fl_Scrollbar.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Secret_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Secret_Input.H new file mode 100644 index 0000000..a87bef5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Secret_Input.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Secret_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Secret input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Secret_Input_H +#define Fl_Secret_Input_H + +#include "Fl_Input.H" + +class Fl_Secret_Input : public Fl_Input { +public: + Fl_Secret_Input(int X,int Y,int W,int H,const char *l = 0) + : Fl_Input(X,Y,W,H,l) {type(FL_SECRET_INPUT);} +}; + +#endif + +// +// End of "$Id: Fl_Secret_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Select_Browser.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Select_Browser.H new file mode 100644 index 0000000..4a8ef92 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Select_Browser.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Select_Browser.H 4288 2005-04-16 00:13:17Z mike $" +// +// Select browser header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Select_Browser_H +#define Fl_Select_Browser_H + +#include "Fl_Browser.H" + +class Fl_Select_Browser : public Fl_Browser { +public: + Fl_Select_Browser(int X,int Y,int W,int H,const char *l=0) + : Fl_Browser(X,Y,W,H,l) {type(FL_SELECT_BROWSER);} +}; + +#endif + +// +// End of "$Id: Fl_Select_Browser.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Shared_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Shared_Image.H new file mode 100644 index 0000000..042b782 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Shared_Image.H @@ -0,0 +1,99 @@ +// +// "$Id: Fl_Shared_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// Shared image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Shared_Image_H +# define Fl_Shared_Image_H + +# include "Fl_Image.H" + + +// Test function for adding new formats +typedef Fl_Image *(*Fl_Shared_Handler)(const char *name, uchar *header, + int headerlen); + +// Shared images class. +class FL_EXPORT Fl_Shared_Image : public Fl_Image { + protected: + + static Fl_Shared_Image **images_; // Shared images + static int num_images_; // Number of shared images + static int alloc_images_; // Allocated shared images + static Fl_Shared_Handler *handlers_; // Additional format handlers + static int num_handlers_; // Number of format handlers + static int alloc_handlers_; // Allocated format handlers + + const char *name_; // Name of image file + int original_; // Original image? + int refcount_; // Number of times this image has been used + Fl_Image *image_; // The image that is shared + int alloc_image_; // Was the image allocated? + + static int compare(Fl_Shared_Image **i0, Fl_Shared_Image **i1); + + // Use get() and release() to load/delete images in memory... + Fl_Shared_Image(); + Fl_Shared_Image(const char *n, Fl_Image *img = 0); + virtual ~Fl_Shared_Image(); + void add(); + void update(); + + public: + + const char *name() { return name_; } + int refcount() { return refcount_; } + void release(); + void reload(); + + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void color_average(Fl_Color c, float i); + virtual void desaturate(); + virtual void draw(int X, int Y, int W, int H, int cx, int cy); + void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); } + virtual void uncache(); + + static Fl_Shared_Image *find(const char *n, int W = 0, int H = 0); + static Fl_Shared_Image *get(const char *n, int W = 0, int H = 0); + static Fl_Shared_Image **images(); + static int num_images(); + static void add_handler(Fl_Shared_Handler f); + static void remove_handler(Fl_Shared_Handler f); +}; + +// +// The following function is provided in the fltk_images library and +// registers all of the "extra" image file formats that are not part +// of the core FLTK library... +// + +FL_EXPORT extern void fl_register_images(); + +#endif // !Fl_Shared_Image_H + +// +// End of "$Id: Fl_Shared_Image.H 4288 2005-04-16 00:13:17Z mike $" +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Simple_Counter.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Simple_Counter.H new file mode 100644 index 0000000..84e07c9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Simple_Counter.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Simple_Counter.H 4288 2005-04-16 00:13:17Z mike $" +// +// Simple counter header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Simple_Counter_H +#define Fl_Simple_Counter_H + +#include "Fl_Counter.H" + +class Fl_Simple_Counter : public Fl_Counter { +public: + Fl_Simple_Counter(int x,int y,int w,int h, const char *l = 0) + : Fl_Counter(x,y,w,h,l) {type(FL_SIMPLE_COUNTER);} +}; + +#endif + +// +// End of "$Id: Fl_Simple_Counter.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Single_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Single_Window.H new file mode 100644 index 0000000..c68e66e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Single_Window.H @@ -0,0 +1,49 @@ +// +// "$Id: Fl_Single_Window.H 4288 2005-04-16 00:13:17Z mike $" +// +// Single-buffered window header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Single_Window_H +#define Fl_Single_Window_H + +#include "Fl_Window.H" + +class FL_EXPORT Fl_Single_Window : public Fl_Window { +public: + void show(); + void show(int a, char **b) {Fl_Window::show(a,b);} + void flush(); + Fl_Single_Window(int W, int H, const char *l=0) + : Fl_Window(W,H,l) {} + Fl_Single_Window(int X, int Y, int W, int H, const char *l=0) + : Fl_Window(X,Y,W,H,l) {} + int make_current(); +}; + +#endif + +// +// End of "$Id: Fl_Single_Window.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Slider.H new file mode 100644 index 0000000..8a6b93d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Slider.H @@ -0,0 +1,75 @@ +// +// "$Id: Fl_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Slider_H +#define Fl_Slider_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +// values for type(), lowest bit indicate horizontal: +#define FL_VERT_SLIDER 0 +#define FL_HOR_SLIDER 1 +#define FL_VERT_FILL_SLIDER 2 +#define FL_HOR_FILL_SLIDER 3 +#define FL_VERT_NICE_SLIDER 4 +#define FL_HOR_NICE_SLIDER 5 + +class FL_EXPORT Fl_Slider : public Fl_Valuator { + + float slider_size_; + uchar slider_; + void _Fl_Slider(); + void draw_bg(int, int, int, int); + +protected: + + // these allow subclasses to put the slider in a smaller area: + void draw(int, int, int, int); + int handle(int, int, int, int, int); + +public: + + void draw(); + int handle(int); + Fl_Slider(int x,int y,int w,int h, const char *l = 0); + Fl_Slider(uchar t,int x,int y,int w,int h, const char *l); + + int scrollvalue(int windowtop,int windowsize,int first,int totalsize); + void bounds(double a, double b); + float slider_size() const {return slider_size_;} + void slider_size(double v); + Fl_Boxtype slider() const {return (Fl_Boxtype)slider_;} + void slider(Fl_Boxtype c) {slider_ = c;} +}; + +#endif + +// +// End of "$Id: Fl_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Spinner.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Spinner.H new file mode 100644 index 0000000..35a9bad --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Spinner.H @@ -0,0 +1,171 @@ +// +// "$Id$" +// +// Spinner widget for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Spinner_H +# define Fl_Spinner_H + +// +// Include necessary headers... +// + +# include +# include +# include +# include +# include + + +// +// Fl_Spinner widget class... +// + +class Fl_Spinner : public Fl_Group +{ + double value_; // Current value + double minimum_; // Minimum value + double maximum_; // Maximum value + double step_; // Amount to add/subtract for up/down + const char *format_; // Format string + + Fl_Input input_; // Input field for the value + Fl_Repeat_Button + up_button_, // Up button + down_button_; // Down button + + static void sb_cb(Fl_Widget *w, Fl_Spinner *sb) { + double v; // New value + + if (w == &(sb->input_)) { + // Something changed in the input field... + v = atof(sb->input_.value()); + + if (v < sb->minimum_) { + sb->value_ = sb->minimum_; + sb->update(); + } else if (v > sb->maximum_) { + sb->value_ = sb->maximum_; + sb->update(); + } else sb->value_ = v; + } else if (w == &(sb->up_button_)) { + // Up button pressed... + v = sb->value_ + sb->step_; + + if (v > sb->maximum_) sb->value_ = sb->minimum_; + else sb->value_ = v; + + sb->update(); + } else if (w == &(sb->down_button_)) { + // Down button pressed... + v = sb->value_ - sb->step_; + + if (v < sb->minimum_) sb->value_ = sb->maximum_; + else sb->value_ = v; + + sb->update(); + } + + sb->do_callback(); + } + void update() { + char s[255]; // Value string + + sprintf(s, format_, value_); + input_.value(s); + } + + public: + + Fl_Spinner(int X, int Y, int W, int H, const char *L = 0) + : Fl_Group(X, Y, W, H, L), + input_(X, Y, W - H / 2 - 2, H), + up_button_(X + W - H / 2 - 2, Y, H / 2 + 2, H / 2, "@-22<"), + down_button_(X + W - H / 2 - 2, Y + H - H / 2, + H / 2 + 2, H / 2, "@-22>") { + end(); + + value_ = 1.0; + minimum_ = 1.0; + maximum_ = 100.0; + step_ = 1.0; + format_ = "%.0f"; + + align(FL_ALIGN_LEFT); + + input_.value("1"); + input_.type(FL_INT_INPUT); + input_.when(FL_WHEN_CHANGED); + input_.callback((Fl_Callback *)sb_cb, this); + + up_button_.callback((Fl_Callback *)sb_cb, this); + + down_button_.callback((Fl_Callback *)sb_cb, this); + } + + const char *format() { return (format_); } + void format(const char *f) { format_ = f; update(); } + double maxinum() const { return (maximum_); } + void maximum(double m) { maximum_ = m; } + double mininum() const { return (minimum_); } + void minimum(double m) { minimum_ = m; } + void range(double a, double b) { minimum_ = a; maximum_ = b; } + void resize(int X, int Y, int W, int H) { + Fl_Group::resize(X,Y,W,H); + + input_.resize(X, Y, W - H / 2 - 2, H); + up_button_.resize(X + W - H / 2 - 2, Y, H / 2 + 2, H / 2); + down_button_.resize(X + W - H / 2 - 2, Y + H - H / 2, + H / 2 + 2, H / 2); + } + double step() const { return (step_); } + void step(double s) { step_ = s; } + Fl_Color textcolor() const { + return (input_.textcolor()); + } + void textcolor(Fl_Color c) { + input_.textcolor(c); + } + uchar textfont() const { + return (input_.textfont()); + } + void textfont(uchar f) { + input_.textfont(f); + } + uchar textsize() const { + return (input_.textsize()); + } + void textsize(uchar s) { + input_.textsize(s); + } + double value() const { return (value_); } + void value(double v) { value_ = v; update(); } +}; + +#endif // !Fl_Spinner_H + +// +// End of "$Id$". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Sys_Menu_Bar.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Sys_Menu_Bar.H new file mode 100644 index 0000000..01f4b60 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Sys_Menu_Bar.H @@ -0,0 +1,56 @@ +// +// "$Id: Fl_Sys_Menu_Bar.H 4546 2005-08-29 20:05:38Z matt $" +// +// MacOS system menu bar header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Sys_Menu_Bar_H +#define Fl_Sys_Menu_Bar_H + +#include "Fl_Menu_Bar.H" + +#ifdef __APPLE__ + +class FL_EXPORT Fl_Sys_Menu_Bar : public Fl_Menu_Bar { +protected: + void draw(); +public: + Fl_Sys_Menu_Bar(int x,int y,int w,int h,const char *l=0) + : Fl_Menu_Bar(x,y,w,h,l) { + deactivate(); // don't let the old area take events + } + void menu(const Fl_Menu_Item *m); +}; + +#else + +typedef Fl_Menu_Bar Fl_Sys_Menu_Bar; + +#endif + +#endif + +// +// End of "$Id: Fl_Sys_Menu_Bar.H 4546 2005-08-29 20:05:38Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tabs.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tabs.H new file mode 100644 index 0000000..3145f20 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tabs.H @@ -0,0 +1,56 @@ +// +// "$Id: Fl_Tabs.H 4288 2005-04-16 00:13:17Z mike $" +// +// Tab header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Tabs_H +#define Fl_Tabs_H + +#include "Fl_Group.H" + +class FL_EXPORT Fl_Tabs : public Fl_Group { + Fl_Widget *value_; + Fl_Widget *push_; + int tab_positions(int*, int*); + int tab_height(); + void draw_tab(int x1, int x2, int W, int H, Fl_Widget* o, int sel=0); +protected: + void draw(); + +public: + int handle(int); + Fl_Widget *value(); + int value(Fl_Widget *); + Fl_Widget *push() const {return push_;} + int push(Fl_Widget *); + Fl_Tabs(int,int,int,int,const char * = 0); + Fl_Widget *which(int event_x, int event_y); +}; + +#endif + +// +// End of "$Id: Fl_Tabs.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Buffer.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Buffer.H new file mode 100644 index 0000000..d2b91f3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Buffer.H @@ -0,0 +1,259 @@ +// +// "$Id: Fl_Text_Buffer.H 4288 2005-04-16 00:13:17Z mike $" +// +// Header file for Fl_Text_Buffer class. +// +// Copyright 2001-2005 by Bill Spitzak and others. +// Original code Copyright Mark Edel. Permission to distribute under +// the LGPL for the FLTK library granted by Mark Edel. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef FL_TEXT_BUFFER_H +#define FL_TEXT_BUFFER_H + +/* Maximum length in characters of a tab or control character expansion + of a single buffer character */ +#define FL_TEXT_MAX_EXP_CHAR_LEN 20 + +#include "Fl_Export.H" + +class FL_EXPORT Fl_Text_Selection { + friend class Fl_Text_Buffer; + + public: + void set(int start, int end); + void set_rectangular(int start, int end, int rectStart, int rectEnd); + void update(int pos, int nDeleted, int nInserted); + char rectangular() { return mRectangular; } + int start() { return mStart; } + int end() { return mEnd; } + int rect_start() { return mRectStart; } + int rect_end() { return mRectEnd; } + char selected() { return mSelected; } + void selected(char b) { mSelected = b; } + int includes(int pos, int lineStartPos, int dispIndex); + int position(int* start, int* end); + int position(int* start, int* end, int* isRect, int* rectStart, int* rectEnd); + + + protected: + char mSelected; + char mRectangular; + int mStart; + int mEnd; + int mRectStart; + int mRectEnd; +}; + +typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, + int nRestyled, const char* deletedText, + void* cbArg); +typedef void (*Fl_Text_Predelete_Cb)(int pos, int nDeleted, void* cbArg); + +class FL_EXPORT Fl_Text_Buffer { + public: + Fl_Text_Buffer(int requestedSize = 0); + ~Fl_Text_Buffer(); + + int length() { return mLength; } + char* text(); + void text(const char* text); + char* text_range(int start, int end); + char character(int pos); + char* text_in_rectangle(int start, int end, int rectStart, int rectEnd); + void insert(int pos, const char* text); + void append(const char* t) { insert(length(), t); } + void remove(int start, int end); + void replace(int start, int end, const char *text); + void copy(Fl_Text_Buffer* fromBuf, int fromStart, int fromEnd, int toPos); + int undo(int *cp=0); + void canUndo(char flag=1); + int insertfile(const char *file, int pos, int buflen = 128*1024); + int appendfile(const char *file, int buflen = 128*1024) + { return insertfile(file, length(), buflen); } + int loadfile(const char *file, int buflen = 128*1024) + { select(0, length()); remove_selection(); return appendfile(file, buflen); } + int outputfile(const char *file, int start, int end, int buflen = 128*1024); + int savefile(const char *file, int buflen = 128*1024) + { return outputfile(file, 0, length(), buflen); } + + void insert_column(int column, int startPos, const char* text, + int* charsInserted, int* charsDeleted); + + void replace_rectangular(int start, int end, int rectStart, int rectEnd, + const char* text); + + void overlay_rectangular(int startPos, int rectStart, int rectEnd, + const char* text, int* charsInserted, + int* charsDeleted); + + void remove_rectangular(int start, int end, int rectStart, int rectEnd); + void clear_rectangular(int start, int end, int rectStart, int rectEnd); + int tab_distance() { return mTabDist; } + void tab_distance(int tabDist); + void select(int start, int end); + int selected() { return mPrimary.selected(); } + void unselect(); + void select_rectangular(int start, int end, int rectStart, int rectEnd); + int selection_position(int* start, int* end); + + int selection_position(int* start, int* end, int* isRect, int* rectStart, + int* rectEnd); + + char* selection_text(); + void remove_selection(); + void replace_selection(const char* text); + void secondary_select(int start, int end); + void secondary_unselect(); + + void secondary_select_rectangular(int start, int end, int rectStart, + int rectEnd); + + int secondary_selection_position(int* start, int* end, int* isRect, + int* rectStart, int* rectEnd); + + char* secondary_selection_text(); + void remove_secondary_selection(); + void replace_secondary_selection(const char* text); + void highlight(int start, int end); + void unhighlight(); + void highlight_rectangular(int start, int end, int rectStart, int rectEnd); + + int highlight_position(int* start, int* end, int* isRect, int* rectStart, + int* rectEnd); + + char* highlight_text(); + void add_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void* cbArg); + void remove_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void* cbArg); + + void call_modify_callbacks() { call_modify_callbacks(0, 0, 0, 0, 0); } + + void add_predelete_callback(Fl_Text_Predelete_Cb bufPredelCB, void* cbArg); + void remove_predelete_callback(Fl_Text_Predelete_Cb predelCB, void* cbArg); + + void call_predelete_callbacks() { call_predelete_callbacks(0, 0); } + + char* line_text(int pos); + int line_start(int pos); + int line_end(int pos); + int word_start(int pos); + int word_end(int pos); + int expand_character(int pos, int indent, char *outStr); + + static int expand_character(char c, int indent, char* outStr, int tabDist, + char nullSubsChar); + + static int character_width(char c, int indent, int tabDist, char nullSubsChar); + int count_displayed_characters(int lineStartPos, int targetPos); + int skip_displayed_characters(int lineStartPos, int nChars); + int count_lines(int startPos, int endPos); + int skip_lines(int startPos, int nLines); + int rewind_lines(int startPos, int nLines); + int findchar_forward(int startPos, char searchChar, int* foundPos); + int findchar_backward(int startPos, char searchChar, int* foundPos); + int findchars_forward(int startPos, const char* searchChars, int* foundPos); + int findchars_backward(int startPos, const char* searchChars, int* foundPos); + + int search_forward(int startPos, const char* searchString, int* foundPos, + int matchCase = 0); + + int search_backward(int startPos, const char* searchString, int* foundPos, + int matchCase = 0); + + int substitute_null_characters(char* string, int length); + void unsubstitute_null_characters(char* string); + char null_substitution_character() { return mNullSubsChar; } + Fl_Text_Selection* primary_selection() { return &mPrimary; } + Fl_Text_Selection* secondary_selection() { return &mSecondary; } + Fl_Text_Selection* highlight_selection() { return &mHighlight; } + + protected: + void call_modify_callbacks(int pos, int nDeleted, int nInserted, + int nRestyled, const char* deletedText); + void call_predelete_callbacks(int pos, int nDeleted); + + int insert_(int pos, const char* text); + void remove_(int start, int end); + + void remove_rectangular_(int start, int end, int rectStart, int rectEnd, + int* replaceLen, int* endPos); + + void insert_column_(int column, int startPos, const char* insText, + int* nDeleted, int* nInserted, int* endPos); + + void overlay_rectangular_(int startPos, int rectStart, int rectEnd, + const char* insText, int* nDeleted, + int* nInserted, int* endPos); + + void redisplay_selection(Fl_Text_Selection* oldSelection, + Fl_Text_Selection* newSelection); + + void move_gap(int pos); + void reallocate_with_gap(int newGapStart, int newGapLen); + char* selection_text_(Fl_Text_Selection* sel); + void remove_selection_(Fl_Text_Selection* sel); + void replace_selection_(Fl_Text_Selection* sel, const char* text); + + void rectangular_selection_boundaries(int lineStartPos, int rectStart, + int rectEnd, int* selStart, + int* selEnd); + + void update_selections(int pos, int nDeleted, int nInserted); + + Fl_Text_Selection mPrimary; /* highlighted areas */ + Fl_Text_Selection mSecondary; + Fl_Text_Selection mHighlight; + int mLength; /* length of the text in the buffer (the length + of the buffer itself must be calculated: + gapEnd - gapStart + length) */ + char* mBuf; /* allocated memory where the text is stored */ + int mGapStart; /* points to the first character of the gap */ + int mGapEnd; /* points to the first char after the gap */ + // The hardware tab distance used by all displays for this buffer, + // and used in computing offsets for rectangular selection operations. + int mTabDist; /* equiv. number of characters in a tab */ + int mUseTabs; /* True if buffer routines are allowed to use + tabs for padding in rectangular operations */ + int mNModifyProcs; /* number of modify-redisplay procs attached */ + Fl_Text_Modify_Cb* /* procedures to call when buffer is */ + mNodifyProcs; /* modified to redisplay contents */ + void** mCbArgs; /* caller arguments for modifyProcs above */ + int mNPredeleteProcs; /* number of pre-delete procs attached */ + Fl_Text_Predelete_Cb* /* procedure to call before text is deleted */ + mPredeleteProcs; /* from the buffer; at most one is supported. */ + void **mPredeleteCbArgs; /* caller argument for pre-delete proc above */ + int mCursorPosHint; /* hint for reasonable cursor position after + a buffer modification operation */ + char mNullSubsChar; /* NEdit is based on C null-terminated strings, + so ascii-nul characters must be substituted + with something else. This is the else, but + of course, things get quite messy when you + use it */ + char mCanUndo; /* if this buffer is used for attributes, it must + not do any undo calls */ +}; + +#endif + +// +// End of "$Id: Fl_Text_Buffer.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Display.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Display.H new file mode 100644 index 0000000..e7ef14d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Display.H @@ -0,0 +1,298 @@ +// +// "$Id: Fl_Text_Display.H 4502 2005-08-10 23:11:51Z matt $" +// +// Header file for Fl_Text_Display class. +// +// Copyright 2001-2005 by Bill Spitzak and others. +// Original code Copyright Mark Edel. Permission to distribute under +// the LGPL for the FLTK library granted by Mark Edel. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef FL_TEXT_DISPLAY_H +#define FL_TEXT_DISPLAY_H + +#include "fl_draw.H" +#include "Fl_Group.H" +#include "Fl_Widget.H" +#include "Fl_Scrollbar.H" +#include "Fl_Text_Buffer.H" + +class FL_EXPORT Fl_Text_Display: public Fl_Group { + public: + enum { + NORMAL_CURSOR, CARET_CURSOR, DIM_CURSOR, + BLOCK_CURSOR, HEAVY_CURSOR + }; + + enum { + CURSOR_POS, CHARACTER_POS + }; + + // drag types- they match Fl::event_clicks() so that single clicking to + // start a collection selects by character, double clicking selects by + // word and triple clicking selects by line. + enum { + DRAG_CHAR = 0, DRAG_WORD = 1, DRAG_LINE = 2 + }; + friend void fl_text_drag_me(int pos, Fl_Text_Display* d); + + typedef void (*Unfinished_Style_Cb)(int, void *); + + // style attributes - currently not implemented! + enum { + ATTR_NONE = 0, + ATTR_UNDERLINE = 1, + ATTR_HIDDEN = 2 + }; + + struct Style_Table_Entry { + Fl_Color color; + Fl_Font font; + int size; + unsigned attr; + }; + + Fl_Text_Display(int X, int Y, int W, int H, const char *l = 0); + ~Fl_Text_Display(); + + virtual int handle(int e); + void buffer(Fl_Text_Buffer* buf); + void buffer(Fl_Text_Buffer& buf) { buffer(&buf); } + Fl_Text_Buffer* buffer() { return mBuffer; } + void redisplay_range(int start, int end); + void scroll(int topLineNum, int horizOffset); + void insert(const char* text); + void overstrike(const char* text); + void insert_position(int newPos); + int insert_position() { return mCursorPos; } + int in_selection(int x, int y); + void show_insert_position(); + int move_right(); + int move_left(); + int move_up(); + int move_down(); + int count_lines(int start, int end, bool start_pos_is_line_start); + int line_start(int pos); + int line_end(int pos, bool start_pos_is_line_start); + int skip_lines(int startPos, int nLines, bool startPosIsLineStart); + int rewind_lines(int startPos, int nLines); + void next_word(void); + void previous_word(void); + void show_cursor(int b = 1); + void hide_cursor() { show_cursor(0); } + void cursor_style(int style); + Fl_Color cursor_color() const {return mCursor_color;} + void cursor_color(Fl_Color n) {mCursor_color = n;} + int scrollbar_width() { return scrollbar_width_; } + Fl_Align scrollbar_align() { return scrollbar_align_; } + void scrollbar_width(int W) { scrollbar_width_ = W; } + void scrollbar_align(Fl_Align a) { scrollbar_align_ = a; } + int word_start(int pos) { return buffer()->word_start(pos); } + int word_end(int pos) { return buffer()->word_end(pos); } + + + void highlight_data(Fl_Text_Buffer *styleBuffer, + const Style_Table_Entry *styleTable, + int nStyles, char unfinishedStyle, + Unfinished_Style_Cb unfinishedHighlightCB, + void *cbArg); + + int position_style(int lineStartPos, int lineLen, int lineIndex, + int dispIndex); + + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned n) {textcolor_ = n;} + + int wrapped_column(int row, int column); + int wrapped_row(int row); + void wrap_mode(int wrap, int wrap_margin); + + virtual void resize(int X, int Y, int W, int H); + + protected: + // Most (all?) of this stuff should only be called from resize() or + // draw(). + // Anything with "vline" indicates thats it deals with currently + // visible lines. + + virtual void draw(); + void draw_text(int X, int Y, int W, int H); + void draw_range(int start, int end); + void draw_cursor(int, int); + + void draw_string(int style, int x, int y, int toX, const char *string, + int nChars); + + void draw_vline(int visLineNum, int leftClip, int rightClip, + int leftCharIndex, int rightCharIndex); + + void draw_line_numbers(bool clearAll); + + void clear_rect(int style, int x, int y, int width, int height); + void display_insert(); + + void offset_line_starts(int newTopLineNum); + + void calc_line_starts(int startLine, int endLine); + + void update_line_starts(int pos, int charsInserted, int charsDeleted, + int linesInserted, int linesDeleted, int *scrolled); + + void calc_last_char(); + + int position_to_line( int pos, int* lineNum ); + int string_width(const char* string, int length, int style); + + static void scroll_timer_cb(void*); + + static void buffer_predelete_cb(int pos, int nDeleted, void* cbArg); + static void buffer_modified_cb(int pos, int nInserted, int nDeleted, + int nRestyled, const char* deletedText, + void* cbArg); + + static void h_scrollbar_cb(Fl_Scrollbar* w, Fl_Text_Display* d); + static void v_scrollbar_cb( Fl_Scrollbar* w, Fl_Text_Display* d); + void update_v_scrollbar(); + void update_h_scrollbar(); + int measure_vline(int visLineNum); + int longest_vline(); + int empty_vlines(); + int vline_length(int visLineNum); + int xy_to_position(int x, int y, int PosType = CHARACTER_POS); + + void xy_to_rowcol(int x, int y, int* row, int* column, + int PosType = CHARACTER_POS); + + int position_to_xy(int pos, int* x, int* y); + void maintain_absolute_top_line_number(int state); + int get_absolute_top_line_number(); + void absolute_top_line_number(int oldFirstChar); + int maintaining_absolute_top_line_number(); + void reset_absolute_top_line_number(); + int position_to_linecol(int pos, int* lineNum, int* column); + void scroll_(int topLineNum, int horizOffset); + + void extend_range_for_styles(int* start, int* end); + + void find_wrap_range(const char *deletedText, int pos, int nInserted, + int nDeleted, int *modRangeStart, int *modRangeEnd, + int *linesInserted, int *linesDeleted); + void measure_deleted_lines(int pos, int nDeleted); + void wrapped_line_counter(Fl_Text_Buffer *buf, int startPos, int maxPos, + int maxLines, bool startPosIsLineStart, + int styleBufOffset, int *retPos, int *retLines, + int *retLineStart, int *retLineEnd, + bool countLastLineMissingNewLine = true); + void find_line_end(int pos, bool start_pos_is_line_start, int *lineEnd, + int *nextLineStart); + int measure_proportional_character(char c, int colNum, int pos); + int wrap_uses_character(int lineEndPos); + int range_touches_selection(Fl_Text_Selection *sel, int rangeStart, + int rangeEnd); + + int damage_range1_start, damage_range1_end; + int damage_range2_start, damage_range2_end; + int mCursorPos; + int mCursorOn; + int mCursorOldY; /* Y pos. of cursor for blanking */ + int mCursorToHint; /* Tells the buffer modified callback + where to move the cursor, to reduce + the number of redraw calls */ + int mCursorStyle; /* One of enum cursorStyles above */ + int mCursorPreferredCol; /* Column for vert. cursor movement */ + int mNVisibleLines; /* # of visible (displayed) lines */ + int mNBufferLines; /* # of newlines in the buffer */ + Fl_Text_Buffer* mBuffer; /* Contains text to be displayed */ + Fl_Text_Buffer* mStyleBuffer; /* Optional parallel buffer containing + color and font information */ + int mFirstChar, mLastChar; /* Buffer positions of first and last + displayed character (lastChar points + either to a newline or one character + beyond the end of the buffer) */ + int mContinuousWrap; /* Wrap long lines when displaying */ + int mWrapMargin; /* Margin in # of char positions for + wrapping in continuousWrap mode */ + int* mLineStarts; + int mTopLineNum; /* Line number of top displayed line + of file (first line of file is 1) */ + int mAbsTopLineNum; /* In continuous wrap mode, the line + number of the top line if the text + were not wrapped (note that this is + only maintained as needed). */ + int mNeedAbsTopLineNum; /* Externally settable flag to continue + maintaining absTopLineNum even if + it isn't needed for line # display */ + int mHorizOffset; /* Horizontal scroll pos. in pixels */ + int mTopLineNumHint; /* Line number of top displayed line + of file (first line of file is 1) */ + int mHorizOffsetHint; /* Horizontal scroll pos. in pixels */ + int mNStyles; /* Number of entries in styleTable */ + const Style_Table_Entry *mStyleTable; /* Table of fonts and colors for + coloring/syntax-highlighting */ + char mUnfinishedStyle; /* Style buffer entry which triggers + on-the-fly reparsing of region */ + Unfinished_Style_Cb mUnfinishedHighlightCB; /* Callback to parse "unfinished" */ + /* regions */ + void* mHighlightCBArg; /* Arg to unfinishedHighlightCB */ + + int mMaxsize; + + int mFixedFontWidth; /* Font width if all current fonts are + fixed and match in width, else -1 */ + int mSuppressResync; /* Suppress resynchronization of line + starts during buffer updates */ + int mNLinesDeleted; /* Number of lines deleted during + buffer modification (only used + when resynchronization is suppressed) */ + int mModifyingTabDistance; /* Whether tab distance is being + modified */ + + Fl_Color mCursor_color; + + Fl_Scrollbar* mHScrollBar; + Fl_Scrollbar* mVScrollBar; + int scrollbar_width_; + Fl_Align scrollbar_align_; + int dragPos, dragType, dragging; + int display_insert_position_hint; + struct { int x, y, w, h; } text_area; + + uchar textfont_; + uchar textsize_; + unsigned textcolor_; + + // The following are not presently used from the original NEdit code, + // but are being put here so that future versions of Fl_Text_Display + // can implement line numbers without breaking binary compatibility. + int mLineNumLeft, mLineNumWidth; + /* Line number margin and width */ +}; + +#endif + +// +// End of "$Id: Fl_Text_Display.H 4502 2005-08-10 23:11:51Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Editor.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Editor.H new file mode 100644 index 0000000..81782f1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Text_Editor.H @@ -0,0 +1,110 @@ +// +// "$Id: Fl_Text_Editor.H 4288 2005-04-16 00:13:17Z mike $" +// +// Header file for Fl_Text_Editor class. +// +// Copyright 2001-2005 by Bill Spitzak and others. +// Original code Copyright Mark Edel. Permission to distribute under +// the LGPL for the FLTK library granted by Mark Edel. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + + +#ifndef FL_TEXT_EDITOR_H +#define FL_TEXT_EDITOR_H + +#include "Fl_Text_Display.H" + +// key will match in any state +#define FL_TEXT_EDITOR_ANY_STATE (-1L) + +class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display { + public: + typedef int (*Key_Func)(int key, Fl_Text_Editor* editor); + + struct Key_Binding { + int key; + int state; + Key_Func function; + Key_Binding* next; + }; + + Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0); + ~Fl_Text_Editor() { remove_all_key_bindings(); } + virtual int handle(int e); + void insert_mode(int b) { insert_mode_ = b; } + int insert_mode() { return insert_mode_; } + + void add_key_binding(int key, int state, Key_Func f, Key_Binding** list); + void add_key_binding(int key, int state, Key_Func f) + { add_key_binding(key, state, f, &key_bindings); } + void remove_key_binding(int key, int state, Key_Binding** list); + void remove_key_binding(int key, int state) + { remove_key_binding(key, state, &key_bindings); } + void remove_all_key_bindings(Key_Binding** list); + void remove_all_key_bindings() { remove_all_key_bindings(&key_bindings); } + void add_default_key_bindings(Key_Binding** list); + Key_Func bound_key_function(int key, int state, Key_Binding* list); + Key_Func bound_key_function(int key, int state) + { return bound_key_function(key, state, key_bindings); } + void default_key_function(Key_Func f) { default_key_function_ = f; } + + // functions for the built in default bindings + static int kf_default(int c, Fl_Text_Editor* e); + static int kf_ignore(int c, Fl_Text_Editor* e); + static int kf_backspace(int c, Fl_Text_Editor* e); + static int kf_enter(int c, Fl_Text_Editor* e); + static int kf_move(int c, Fl_Text_Editor* e); + static int kf_shift_move(int c, Fl_Text_Editor* e); + static int kf_ctrl_move(int c, Fl_Text_Editor* e); + static int kf_c_s_move(int c, Fl_Text_Editor* e); + static int kf_home(int, Fl_Text_Editor* e); + static int kf_end(int c, Fl_Text_Editor* e); + static int kf_left(int c, Fl_Text_Editor* e); + static int kf_up(int c, Fl_Text_Editor* e); + static int kf_right(int c, Fl_Text_Editor* e); + static int kf_down(int c, Fl_Text_Editor* e); + static int kf_page_up(int c, Fl_Text_Editor* e); + static int kf_page_down(int c, Fl_Text_Editor* e); + static int kf_insert(int c, Fl_Text_Editor* e); + static int kf_delete(int c, Fl_Text_Editor* e); + static int kf_copy(int c, Fl_Text_Editor* e); + static int kf_cut(int c, Fl_Text_Editor* e); + static int kf_paste(int c, Fl_Text_Editor* e); + static int kf_select_all(int c, Fl_Text_Editor* e); + static int kf_undo(int c, Fl_Text_Editor* e); + + protected: + int handle_key(); + void maybe_do_callback(); + + int insert_mode_; + Key_Binding* key_bindings; + static Key_Binding* global_key_bindings; + Key_Func default_key_function_; +}; + +#endif + +// +// End of "$Id: Fl_Text_Editor.H 4288 2005-04-16 00:13:17Z mike $". +// + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tile.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tile.H new file mode 100644 index 0000000..69250f8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tile.H @@ -0,0 +1,45 @@ +// +// "$Id: Fl_Tile.H 4288 2005-04-16 00:13:17Z mike $" +// +// Tile header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Tile_H +#define Fl_Tile_H + +#include "Fl_Group.H" + +class FL_EXPORT Fl_Tile : public Fl_Group { +public: + int handle(int); + Fl_Tile(int X,int Y,int W,int H,const char*l=0) : Fl_Group(X,Y,W,H,l) {} + void resize(int, int, int, int); + void position(int, int, int, int); +}; + +#endif + +// +// End of "$Id: Fl_Tile.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tiled_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tiled_Image.H new file mode 100644 index 0000000..4af8a9d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tiled_Image.H @@ -0,0 +1,59 @@ +// +// "$Id: Fl_Tiled_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// Tiled image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Tiled_Image_H +# define Fl_Tiled_Image_H + +# include "Fl_Image.H" + + +// Tiled image class. +class FL_EXPORT Fl_Tiled_Image : public Fl_Image { + protected: + + Fl_Image *image_; // The image that is shared + int alloc_image_; // Did we allocate this image? + + public: + + Fl_Tiled_Image(Fl_Image *i, int W = 0, int H = 0); + virtual ~Fl_Tiled_Image(); + + virtual Fl_Image *copy(int W, int H); + Fl_Image *copy() { return copy(w(), h()); } + virtual void color_average(Fl_Color c, float i); + virtual void desaturate(); + virtual void draw(int X, int Y, int W, int H, int cx, int cy); + void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); } + Fl_Image *image() { return image_; } +}; + +#endif // !Fl_Tiled_Image_H + +// +// End of "$Id: Fl_Tiled_Image.H 4288 2005-04-16 00:13:17Z mike $" +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Timer.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Timer.H new file mode 100644 index 0000000..765afdb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Timer.H @@ -0,0 +1,65 @@ +// +// "$Id: Fl_Timer.H 4288 2005-04-16 00:13:17Z mike $" +// +// Timer header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Timer_H +#define Fl_Timer_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +// values for type(): +#define FL_NORMAL_TIMER 0 +#define FL_VALUE_TIMER 1 +#define FL_HIDDEN_TIMER 2 + +class FL_EXPORT Fl_Timer : public Fl_Widget { + static void stepcb(void *); + void step(); + char on, direction_; + double delay, total; + long lastsec,lastusec; +protected: + void draw(); +public: + int handle(int); + Fl_Timer(uchar t,int x,int y,int w,int h, const char *l); + ~Fl_Timer(); + void value(double); + double value() const {return delay>0.0?delay:0.0;} + char direction() const {return direction_;} + void direction(char d) {direction_ = d;} + char suspended() const {return !on;} + void suspended(char d); +}; + +#endif + +// +// End of "$Id: Fl_Timer.H 4288 2005-04-16 00:13:17Z mike $". +// + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Button.H new file mode 100644 index 0000000..b7764c5 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Button.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_Toggle_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Toggle button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Toggle_Button_H +#define Fl_Toggle_Button_H + +#include "Fl_Button.H" + +class Fl_Toggle_Button : public Fl_Button { +public: + Fl_Toggle_Button(int X,int Y,int W,int H,const char *l=0) + : Fl_Button(X,Y,W,H,l) {type(FL_TOGGLE_BUTTON);} +}; + +#endif + +// +// End of "$Id: Fl_Toggle_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Light_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Light_Button.H new file mode 100644 index 0000000..be9e8a6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Light_Button.H @@ -0,0 +1,37 @@ +// +// "$Id: Fl_Toggle_Light_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Toggle light button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// provided for back-compatability only + +#ifndef Fl_Toggle_Light_Button +#include "Fl_Light_Button.H" +#define Fl_Toggle_Light_Button Fl_Light_Button +#endif + +// +// End of "$Id: Fl_Toggle_Light_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Round_Button.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Round_Button.H new file mode 100644 index 0000000..087ad8e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Toggle_Round_Button.H @@ -0,0 +1,37 @@ +// +// "$Id: Fl_Toggle_Round_Button.H 4288 2005-04-16 00:13:17Z mike $" +// +// Toggle round button header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// provided for back-compatability only + +#ifndef Fl_Toggle_Round_Button +#include "Fl_Round_Button.H" +#define Fl_Toggle_Round_Button Fl_Round_Button +#endif + +// +// End of "$Id: Fl_Toggle_Round_Button.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tooltip.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tooltip.H new file mode 100644 index 0000000..28fb69a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Tooltip.H @@ -0,0 +1,77 @@ +// +// "$Id: Fl_Tooltip.H 4288 2005-04-16 00:13:17Z mike $" +// +// Tooltip header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Tooltip_H +#define Fl_Tooltip_H + +#include +#include + +class FL_EXPORT Fl_Tooltip { +public: + static float delay() { return delay_; } + static void delay(float f) { delay_ = f; } + static float hoverdelay() { return hoverdelay_; } + static void hoverdelay(float f) { hoverdelay_ = f; } + static int enabled() { return enabled_; } + static void enable(int b = 1) { enabled_ = b;} + static void disable() { enabled_ = 0; } + static void (*enter)(Fl_Widget* w); + static void enter_area(Fl_Widget* w, int X, int Y, int W, int H, const char* tip); + static void (*exit)(Fl_Widget *w); + static Fl_Widget* current() {return widget_;} + static void current(Fl_Widget*); + + static int font() { return font_; } + static int size() { return size_; } + static void font(int i) { font_ = i; } + static void size(int s) { size_ = s; } + static void color(unsigned c) { color_ = c; } + static Fl_Color color() { return (Fl_Color)color_; } + static void textcolor(unsigned c) { textcolor_ = c; } + static Fl_Color textcolor() { return (Fl_Color)textcolor_; } + + // These should not be public, but Fl_Widget::tooltip() needs them... + static void enter_(Fl_Widget* w); + static void exit_(Fl_Widget *w); + +private: + static float delay_; + static float hoverdelay_; + static int enabled_; + static unsigned color_; + static unsigned textcolor_; + static int font_; + static int size_; + static Fl_Widget* widget_; +}; + +#endif + +// +// End of "$Id: Fl_Tooltip.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Valuator.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Valuator.H new file mode 100644 index 0000000..b2cd601 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Valuator.H @@ -0,0 +1,86 @@ +// +// "$Id: Fl_Valuator.H 4288 2005-04-16 00:13:17Z mike $" +// +// Valuator header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Valuator_H +#define Fl_Valuator_H + +#ifndef Fl_Widget_H +#include "Fl_Widget.H" +#endif + +// shared type() values for classes that work in both directions: +#define FL_VERTICAL 0 +#define FL_HORIZONTAL 1 + +class FL_EXPORT Fl_Valuator : public Fl_Widget { + + double value_; + double previous_value_; + double min, max; // truncates to this range *after* rounding + double A; int B; // rounds to multiples of A/B, or no rounding if A is zero + +protected: + + int horizontal() const {return type()&1;} + Fl_Valuator(int X, int Y, int W, int H, const char* L); + + double previous_value() const {return previous_value_;} + void handle_push() {previous_value_ = value_;} + double softclamp(double); + void handle_drag(double newvalue); + void handle_release(); // use drag() value + virtual void value_damage(); // cause damage() due to value() changing + void set_value(double v) {value_ = v;} + +public: + + void bounds(double a, double b) {min=a; max=b;} + double minimum() const {return min;} + void minimum(double a) {min = a;} + double maximum() const {return max;} + void maximum(double a) {max = a;} + void range(double a, double b) {min = a; max = b;} + void step(int a) {A = a; B = 1;} + void step(double a, int b) {A = a; B = b;} + void step(double s); + double step() const {return A/B;} + void precision(int); + + double value() const {return value_;} + int value(double); + + virtual int format(char*); + double round(double); // round to nearest multiple of step + double clamp(double); // keep in range + double increment(double, int); // add n*step to value +}; + +#endif + +// +// End of "$Id: Fl_Valuator.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Input.H new file mode 100644 index 0000000..78dc211 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Input.H @@ -0,0 +1,65 @@ +// +// "$Id: Fl_Value_Input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Value input header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Value_Input_H +#define Fl_Value_Input_H + +#include "Fl_Valuator.H" +#include "Fl_Input.H" + +class FL_EXPORT Fl_Value_Input : public Fl_Valuator { +public: + Fl_Input input; +private: + char soft_; + static void input_cb(Fl_Widget*,void*); + virtual void value_damage(); // cause damage() due to value() changing +public: + int handle(int); + void draw(); + void resize(int,int,int,int); + Fl_Value_Input(int x,int y,int w,int h,const char *l=0); + + void soft(char s) {soft_ = s;} + char soft() const {return soft_;} + + Fl_Font textfont() const {return input.textfont();} + void textfont(uchar s) {input.textfont(s);} + uchar textsize() const {return input.textsize();} + void textsize(uchar s) {input.textsize(s);} + Fl_Color textcolor() const {return input.textcolor();} + void textcolor(unsigned n) {input.textcolor(n);} + Fl_Color cursor_color() const {return input.cursor_color();} + void cursor_color(unsigned n) {input.cursor_color(n);} + +}; + +#endif + +// +// End of "$Id: Fl_Value_Input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Output.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Output.H new file mode 100644 index 0000000..3353e88 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Output.H @@ -0,0 +1,58 @@ +// +// "$Id: Fl_Value_Output.H 4288 2005-04-16 00:13:17Z mike $" +// +// Value output header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Value_Output_H +#define Fl_Value_Output_H + +#ifndef Fl_Valuator_H +#include "Fl_Valuator.H" +#endif + +class FL_EXPORT Fl_Value_Output : public Fl_Valuator { + uchar textfont_, textsize_, soft_; + unsigned textcolor_; +public: + int handle(int); + void draw(); + Fl_Value_Output(int x,int y,int w,int h,const char *l=0); + + void soft(uchar s) {soft_ = s;} + uchar soft() const {return soft_;} + + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned s) {textcolor_ = s;} +}; + +#endif + +// +// End of "$Id: Fl_Value_Output.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Slider.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Slider.H new file mode 100644 index 0000000..5162e8a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Value_Slider.H @@ -0,0 +1,52 @@ +// +// "$Id: Fl_Value_Slider.H 4288 2005-04-16 00:13:17Z mike $" +// +// Value slider header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Value_Slider_H +#define Fl_Value_Slider_H + +#include "Fl_Slider.H" + +class FL_EXPORT Fl_Value_Slider : public Fl_Slider { + uchar textfont_, textsize_; + unsigned textcolor_; +public: + void draw(); + int handle(int); + Fl_Value_Slider(int x,int y,int w,int h, const char *l = 0); + Fl_Font textfont() const {return (Fl_Font)textfont_;} + void textfont(uchar s) {textfont_ = s;} + uchar textsize() const {return textsize_;} + void textsize(uchar s) {textsize_ = s;} + Fl_Color textcolor() const {return (Fl_Color)textcolor_;} + void textcolor(unsigned s) {textcolor_ = s;} +}; + +#endif + +// +// End of "$Id: Fl_Value_Slider.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Widget.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Widget.H new file mode 100644 index 0000000..a86556c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Widget.H @@ -0,0 +1,220 @@ +// +// "$Id: Fl_Widget.H 4421 2005-07-15 09:34:53Z matt $" +// +// Widget header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Widget_H +#define Fl_Widget_H + +#include "Enumerations.H" + +class Fl_Widget; +class Fl_Window; +class Fl_Group; +class Fl_Image; + +typedef void (Fl_Callback )(Fl_Widget*, void*); +typedef Fl_Callback* Fl_Callback_p; // needed for BORLAND +typedef void (Fl_Callback0)(Fl_Widget*); +typedef void (Fl_Callback1)(Fl_Widget*, long); + +struct FL_EXPORT Fl_Label { + const char* value; + Fl_Image* image; + Fl_Image* deimage; + uchar type; + uchar font; + uchar size; + unsigned color; + void draw(int,int,int,int, Fl_Align) const ; + void measure(int&, int&) const ; +}; + +class FL_EXPORT Fl_Widget { + friend class Fl_Group; + + Fl_Group* parent_; + Fl_Callback* callback_; + void* user_data_; + short x_,y_,w_,h_; + Fl_Label label_; + int flags_; + unsigned color_; + unsigned color2_; + uchar type_; + uchar damage_; + uchar box_; + uchar align_; + uchar when_; + + const char *tooltip_; + + // unimplemented copy ctor and assignment operator + Fl_Widget(const Fl_Widget &); + Fl_Widget& operator=(const Fl_Widget &); + +protected: + + Fl_Widget(int,int,int,int,const char* =0); + + void x(int v) {x_ = (short)v;} + void y(int v) {y_ = (short)v;} + void w(int v) {w_ = (short)v;} + void h(int v) {h_ = (short)v;} + + int flags() const {return flags_;} + void set_flag(int c) {flags_ |= c;} + void clear_flag(int c) {flags_ &= ~c;} + enum {INACTIVE=1, INVISIBLE=2, OUTPUT=4, SHORTCUT_LABEL=64, + CHANGED=128, VISIBLE_FOCUS=512, COPIED_LABEL = 1024}; + + void draw_box() const; + void draw_box(Fl_Boxtype, Fl_Color) const; + void draw_box(Fl_Boxtype, int,int,int,int, Fl_Color) const; + void draw_focus() {draw_focus(box(),x(),y(),w(),h());} + void draw_focus(Fl_Boxtype, int,int,int,int) const; + void draw_label() const; + void draw_label(int, int, int, int) const; + +public: + + virtual ~Fl_Widget(); + + virtual void draw() = 0; + virtual int handle(int); + Fl_Group* parent() const {return parent_;} + void parent(Fl_Group* p) {parent_ = p;} // for hacks only, Fl_Group::add() + + uchar type() const {return type_;} + void type(uchar t) {type_ = t;} + + int x() const {return x_;} + int y() const {return y_;} + int w() const {return w_;} + int h() const {return h_;} + virtual void resize(int,int,int,int); + int damage_resize(int,int,int,int); + void position(int X,int Y) {resize(X,Y,w_,h_);} + void size(int W,int H) {resize(x_,y_,W,H);} + + Fl_Align align() const {return (Fl_Align)align_;} + void align(uchar a) {align_ = a;} + Fl_Boxtype box() const {return (Fl_Boxtype)box_;} + void box(Fl_Boxtype a) {box_ = a;} + Fl_Color color() const {return (Fl_Color)color_;} + void color(unsigned a) {color_ = a;} + Fl_Color selection_color() const {return (Fl_Color)color2_;} + void selection_color(unsigned a) {color2_ = a;} + void color(unsigned a, unsigned b) {color_=a; color2_=b;} + const char* label() const {return label_.value;} + void label(const char* a); + void copy_label(const char* a); + void label(Fl_Labeltype a,const char* b) {label_.type = a; label_.value = b;} + Fl_Labeltype labeltype() const {return (Fl_Labeltype)label_.type;} + void labeltype(Fl_Labeltype a) {label_.type = a;} + Fl_Color labelcolor() const {return (Fl_Color)label_.color;} + void labelcolor(unsigned a) {label_.color=a;} + Fl_Font labelfont() const {return (Fl_Font)label_.font;} + void labelfont(uchar a) {label_.font=a;} + uchar labelsize() const {return label_.size;} + void labelsize(uchar a) {label_.size=a;} + Fl_Image* image() {return label_.image;} + void image(Fl_Image* a) {label_.image=a;} + void image(Fl_Image& a) {label_.image=&a;} + Fl_Image* deimage() {return label_.deimage;} + void deimage(Fl_Image* a) {label_.deimage=a;} + void deimage(Fl_Image& a) {label_.deimage=&a;} + const char *tooltip() const {return tooltip_;} + void tooltip(const char *t); + Fl_Callback_p callback() const {return callback_;} + void callback(Fl_Callback* c, void* p) {callback_=c; user_data_=p;} + void callback(Fl_Callback* c) {callback_=c;} + void callback(Fl_Callback0*c) {callback_=(Fl_Callback*)c;} + void callback(Fl_Callback1*c, long p=0) {callback_=(Fl_Callback*)c; user_data_=(void*)p;} + void* user_data() const {return user_data_;} + void user_data(void* v) {user_data_ = v;} + long argument() const {return (long)user_data_;} + void argument(long v) {user_data_ = (void*)v;} + Fl_When when() const {return (Fl_When)when_;} + void when(uchar i) {when_ = i;} + + int visible() const {return !(flags_&INVISIBLE);} + int visible_r() const; + void show(); + void hide(); + void set_visible() {flags_ &= ~INVISIBLE;} + void clear_visible() {flags_ |= INVISIBLE;} + int active() const {return !(flags_&INACTIVE);} + int active_r() const; + void activate(); + void deactivate(); + int output() const {return (flags_&OUTPUT);} + void set_output() {flags_ |= OUTPUT;} + void clear_output() {flags_ &= ~OUTPUT;} + int takesevents() const {return !(flags_&(INACTIVE|INVISIBLE|OUTPUT));} + int changed() const {return flags_&CHANGED;} + void set_changed() {flags_ |= CHANGED;} + void clear_changed() {flags_ &= ~CHANGED;} + int take_focus(); + void set_visible_focus() { flags_ |= VISIBLE_FOCUS; } + void clear_visible_focus() { flags_ &= ~VISIBLE_FOCUS; } + void visible_focus(int v) { if (v) set_visible_focus(); else clear_visible_focus(); } + int visible_focus() { return flags_ & VISIBLE_FOCUS; } + + static void default_callback(Fl_Widget*, void*); + void do_callback() {callback_(this,user_data_); if (callback_ != default_callback) clear_changed();} + void do_callback(Fl_Widget* o,void* arg=0) {callback_(o,arg); if (callback_ != default_callback) clear_changed();} + void do_callback(Fl_Widget* o,long arg) {callback_(o,(void*)arg); if (callback_ != default_callback) clear_changed();} + int test_shortcut(); + static int test_shortcut(const char*); + int contains(const Fl_Widget*) const ; + int inside(const Fl_Widget* o) const {return o ? o->contains(this) : 0;} + + void redraw(); + void redraw_label(); + uchar damage() const {return damage_;} + void clear_damage(uchar c = 0) {damage_ = c;} + void damage(uchar c); + void damage(uchar c,int,int,int,int); + void draw_label(int, int, int, int, Fl_Align) const; + void measure_label(int& xx, int& yy) {label_.measure(xx,yy);} + + Fl_Window* window() const ; + + // back compatability only: + Fl_Color color2() const {return (Fl_Color)color2_;} + void color2(unsigned a) {color2_ = a;} +}; + +// reserved type numbers (necessary for my cheapo RTTI) start here. +// grep the header files for "RESERVED_TYPE" to find the next available +// number. +#define FL_RESERVED_TYPE 100 + +#endif + +// +// End of "$Id: Fl_Widget.H 4421 2005-07-15 09:34:53Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Window.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Window.H new file mode 100644 index 0000000..16a0225 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Window.H @@ -0,0 +1,135 @@ +// +// "$Id: Fl_Window.H 4421 2005-07-15 09:34:53Z matt $" +// +// Window header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_Window_H +#define Fl_Window_H + +#include "Fl_Group.H" + +#define FL_WINDOW 0xF0 // all subclasses have type() >= this +#define FL_DOUBLE_WINDOW 0xF1 + +class Fl_X; + +class FL_EXPORT Fl_Window : public Fl_Group { + + friend class Fl_X; + Fl_X *i; // points at the system-specific stuff + + const char* iconlabel_; + const char* xclass_; + const void* icon_; + // size_range stuff: + short minw, minh, maxw, maxh; + uchar dw, dh, aspect, size_range_set; + // cursor stuff + Fl_Cursor cursor_default; + Fl_Color cursor_fg, cursor_bg; + void size_range_(); + // values for flags(): + enum { + FL_MODAL = 64, + FL_NOBORDER = 8, + FL_FORCE_POSITION = 16, + FL_NON_MODAL = 32, + FL_OVERRIDE = 256 + }; + void _Fl_Window(); // constructor innards + + // unimplemented copy ctor and assignment operator + Fl_Window(const Fl_Window&); + Fl_Window& operator=(const Fl_Window&); + +protected: + + static Fl_Window *current_; + virtual void draw(); + virtual void flush(); + +public: + + Fl_Window(int,int,int,int, const char* = 0); + Fl_Window(int,int, const char* = 0); + virtual ~Fl_Window(); + + virtual int handle(int); + + virtual void resize(int,int,int,int); + void border(int b); + void clear_border() {set_flag(FL_NOBORDER);} + int border() const {return !(flags() & FL_NOBORDER);} + void set_override() {set_flag(FL_NOBORDER|FL_OVERRIDE);} + int override() const { return flags()&FL_OVERRIDE; } + void set_modal() {set_flag(FL_MODAL);} + int modal() const {return flags() & FL_MODAL;} + void set_non_modal() {set_flag(FL_NON_MODAL);} + int non_modal() const {return flags() & (FL_NON_MODAL|FL_MODAL);} + + void hotspot(int x, int y, int offscreen = 0); + void hotspot(const Fl_Widget*, int offscreen = 0); + void hotspot(const Fl_Widget& p, int offscreen = 0) {hotspot(&p,offscreen);} + void free_position() {clear_flag(FL_FORCE_POSITION);} + void size_range(int a, int b, int c=0, int d=0, int e=0, int f=0, int g=0) { + minw=(short)a; minh=(short)b; maxw=(short)c; maxh=(short)d; dw=(uchar)e; dh=(uchar)f; aspect=(uchar)g; size_range_();} + + const char* label() const {return Fl_Widget::label();} + const char* iconlabel() const {return iconlabel_;} + void label(const char*); + void iconlabel(const char*); + void label(const char* label, const char* iconlabel); + void copy_label(const char* a); + const char* xclass() const {return xclass_;} + void xclass(const char* c) {xclass_ = c;} + const void* icon() const {return icon_;} + void icon(const void * ic) {icon_ = ic;} + + int shown() {return i != 0;} + virtual void show(); + virtual void hide(); + void show(int, char**); + void fullscreen(); + void fullscreen_off(int,int,int,int); + void iconize(); + + int x_root() const ; + int y_root() const ; + + static Fl_Window *current(); + void make_current(); + + // for back-compatability only: + void cursor(Fl_Cursor, Fl_Color=FL_BLACK, Fl_Color=FL_WHITE); + void default_cursor(Fl_Cursor, Fl_Color=FL_BLACK, Fl_Color=FL_WHITE); + static void default_callback(Fl_Window*, void* v); + +}; + +#endif + +// +// End of "$Id: Fl_Window.H 4421 2005-07-15 09:34:53Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Wizard.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Wizard.H new file mode 100644 index 0000000..4c39b7e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_Wizard.H @@ -0,0 +1,62 @@ +// +// "$Id: Fl_Wizard.H 4288 2005-04-16 00:13:17Z mike $" +// +// Fl_Wizard widget definitions. +// +// Copyright 1999-2005 by Easy Software Products. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// +// Include necessary header files... +// + +#ifndef _Fl_Wizard_H_ +# define _Fl_Wizard_H_ + +# include + + +// +// Fl_Wizard class... +// + +class FL_EXPORT Fl_Wizard : public Fl_Group +{ + Fl_Widget *value_; + + void draw(); + + public: + + Fl_Wizard(int, int, int, int, const char * = 0); + + void next(); + void prev(); + Fl_Widget *value(); + void value(Fl_Widget *); +}; + +#endif // !_Fl_Wizard_H_ + +// +// End of "$Id: Fl_Wizard.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XBM_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XBM_Image.H new file mode 100644 index 0000000..90f94ab --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XBM_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_XBM_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// XBM image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_XBM_Image_H +#define Fl_XBM_Image_H +# include "Fl_Bitmap.H" + +class FL_EXPORT Fl_XBM_Image : public Fl_Bitmap { + + public: + + Fl_XBM_Image(const char* filename); +}; + +#endif // !Fl_XBM_Image_H + +// +// End of "$Id: Fl_XBM_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XPM_Image.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XPM_Image.H new file mode 100644 index 0000000..9ffb1c1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/Fl_XPM_Image.H @@ -0,0 +1,43 @@ +// +// "$Id: Fl_XPM_Image.H 4288 2005-04-16 00:13:17Z mike $" +// +// XPM image header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef Fl_XPM_Image_H +#define Fl_XPM_Image_H +# include "Fl_Pixmap.H" + +class FL_EXPORT Fl_XPM_Image : public Fl_Pixmap { + + public: + + Fl_XPM_Image(const char* filename); +}; + +#endif // !Fl_XPM_Image + +// +// End of "$Id: Fl_XPM_Image.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/dirent.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/dirent.h new file mode 100644 index 0000000..59a925c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/dirent.h @@ -0,0 +1,33 @@ +// +// "$Id: dirent.h 4288 2005-04-16 00:13:17Z mike $" +// +// Directory header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// this file is for back-compatability only +#include "filename.H" + +// +// End of "$Id: dirent.h 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/filename.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/filename.H new file mode 100644 index 0000000..df7dd87 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/filename.H @@ -0,0 +1,138 @@ +/* + * "$Id: filename.H 4548 2005-08-29 20:16:36Z matt $" + * + * Filename header file for the Fast Light Tool Kit (FLTK). + * + * Copyright 1998-2005 by Bill Spitzak and others. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA. + * + * Please report all bugs and problems on the following page: + * + * http://www.fltk.org/str.php + */ + +#ifndef FL_FILENAME_H +# define FL_FILENAME_H + +# include "Fl_Export.H" + +# define FL_PATH_MAX 256 /* all buffers are this length */ + +FL_EXPORT const char *fl_filename_name(const char *); +FL_EXPORT const char *fl_filename_ext(const char *); +FL_EXPORT char *fl_filename_setext(char *to, int tolen, const char *ext); +FL_EXPORT int fl_filename_expand(char *to, int tolen, const char *from); +FL_EXPORT int fl_filename_absolute(char *to, int tolen, const char *from); +FL_EXPORT int fl_filename_relative(char *to, int tolen, const char *from); +FL_EXPORT int fl_filename_match(const char *name, const char *pattern); +FL_EXPORT int fl_filename_isdir(const char *name); + +# ifdef __cplusplus +/* + * Under WIN32, we include filename.H from numericsort.c; this should probably change... + */ + +inline char *fl_filename_setext(char *to, const char *ext) { return fl_filename_setext(to, FL_PATH_MAX, ext); } +inline int fl_filename_expand(char *to, const char *from) { return fl_filename_expand(to, FL_PATH_MAX, from); } +inline int fl_filename_absolute(char *to, const char *from) { return fl_filename_absolute(to, FL_PATH_MAX, from); } +inline int fl_filename_relative(char *to, const char *from) { return fl_filename_relative(to, FL_PATH_MAX, from); } +# endif /* __cplusplus */ + + +# if defined(WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__) + +struct dirent {char d_name[1];}; + +# elif defined(__APPLE__) && defined(__PROJECTBUILDER__) + +/* Apple's ProjectBuilder has the nasty habit of including recursively + * down the file tree. To avoid re-including we must + * directly include the systems math file. (Plus, I could not find a + * predefined macro for ProjectBuilder builds, so we have to define it + * in the project) + */ +# include +# include "/usr/include/dirent.h" + +# elif defined(__WATCOMC__) +# include +# include + +# else +/* + * WARNING: on some systems (very few nowadays?) may not exist. + * The correct information is in one of these files: + * + * #include + * #include + * #include + * + * plus you must do the following #define: + * + * #define dirent direct + * + * It would be best to create a file that does this... + */ +# include +# include +# endif + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +FL_EXPORT int fl_alphasort(struct dirent **, struct dirent **); +FL_EXPORT int fl_casealphasort(struct dirent **, struct dirent **); +FL_EXPORT int fl_casenumericsort(struct dirent **, struct dirent **); +FL_EXPORT int fl_numericsort(struct dirent **, struct dirent **); + +typedef int (Fl_File_Sort_F)(struct dirent **, struct dirent **); + +# ifdef __cplusplus +} + +/* + * Portable "scandir" function. Ugly but necessary... + */ + +FL_EXPORT int fl_filename_list(const char *d, struct dirent ***l, + Fl_File_Sort_F *s = fl_numericsort); +# endif /* __cplusplus */ + +/* + * FLTK 1.0.x compatibility definitions... + */ + +# ifdef FLTK_1_0_COMPAT +# define filename_absolute fl_filename_absolute +# define filename_expand fl_filename_expand +# define filename_ext fl_filename_ext +# define filename_isdir fl_filename_isdir +# define filename_list fl_filename_list +# define filename_match fl_filename_match +# define filename_name fl_filename_name +# define filename_relative fl_filename_relative +# define filename_setext fl_filename_setext +# define numericsort fl_numericsort +# endif /* FLTK_1_0_COMPAT */ + + +#endif /* FL_FILENAME_H */ + +/* + * End of "$Id: filename.H 4548 2005-08-29 20:16:36Z matt $". + */ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_ask.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_ask.H new file mode 100644 index 0000000..f237af1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_ask.H @@ -0,0 +1,81 @@ +// +// "$Id: fl_ask.H 4279 2005-04-13 19:35:28Z mike $" +// +// Standard dialog header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef fl_ask_H +# define fl_ask_H + +# include "Enumerations.H" + +class Fl_Widget; + +enum { + FL_BEEP_DEFAULT = 0, + FL_BEEP_MESSAGE, + FL_BEEP_ERROR, + FL_BEEP_QUESTION, + FL_BEEP_PASSWORD, + FL_BEEP_NOTIFICATION +}; + +# ifdef __GNUC__ +# define __fl_attr(x) __attribute__ (x) +# if __GNUC__ < 3 +# define __deprecated__ +# endif // __GNUC__ < 3 +# else +# define __fl_attr(x) +# endif // __GNUC__ + +FL_EXPORT void fl_beep(int type = FL_BEEP_DEFAULT); +FL_EXPORT void fl_message(const char *,...) __fl_attr((__format__ (__printf__, 1, 2))); +FL_EXPORT void fl_alert(const char *,...) __fl_attr((__format__ (__printf__, 1, 2))); +// fl_ask() is deprecated since it uses "Yes" and "No" for the buttons, +// which does not conform to the current FLTK Human Interface Guidelines. +// Use fl_choice() instead with the appropriate verbs instead. +FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); +FL_EXPORT int fl_choice(const char *q,const char *b0,const char *b1,const char *b2,...) __fl_attr((__format__ (__printf__, 1, 5))); +FL_EXPORT const char *fl_input(const char *label, const char *deflt = 0, ...) __fl_attr((__format__ (__printf__, 1, 3))); +FL_EXPORT const char *fl_password(const char *label, const char *deflt = 0, ...) __fl_attr((__format__ (__printf__, 1, 3))); + +FL_EXPORT Fl_Widget *fl_message_icon(); +extern FL_EXPORT Fl_Font fl_message_font_; +extern FL_EXPORT unsigned char fl_message_size_; +inline void fl_message_font(unsigned char f,unsigned char s) { + fl_message_font_ = (Fl_Font)f; fl_message_size_ = s;} + +// pointers you can use to change FLTK to a foreign language: +extern FL_EXPORT const char* fl_no; +extern FL_EXPORT const char* fl_yes; +extern FL_EXPORT const char* fl_ok; +extern FL_EXPORT const char* fl_cancel; +extern FL_EXPORT const char* fl_close; + +#endif // !fl_ask_H + +// +// End of "$Id: fl_ask.H 4279 2005-04-13 19:35:28Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_draw.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_draw.H new file mode 100644 index 0000000..ba5d710 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_draw.H @@ -0,0 +1,200 @@ +// +// "$Id: fl_draw.H 4288 2005-04-16 00:13:17Z mike $" +// +// Portable drawing function header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef fl_draw_H +#define fl_draw_H + +#include "Enumerations.H" // for the color names + +// Image class... +class Fl_Image; + +// Label flags... +FL_EXPORT extern char fl_draw_shortcut; + +// Colors: +FL_EXPORT void fl_color(Fl_Color); // select indexed color +inline void fl_color(int c) {fl_color((Fl_Color)c);} // for back compatability +FL_EXPORT void fl_color(uchar, uchar, uchar); // select actual color +extern FL_EXPORT Fl_Color fl_color_; +inline Fl_Color fl_color() {return fl_color_;} + +// clip: +FL_EXPORT void fl_push_clip(int x, int y, int w, int h); +#define fl_clip fl_push_clip +FL_EXPORT void fl_push_no_clip(); +FL_EXPORT void fl_pop_clip(); +FL_EXPORT int fl_not_clipped(int x, int y, int w, int h); +FL_EXPORT int fl_clip_box(int, int, int, int, int& x, int& y, int& w, int& h); + +// points: +FL_EXPORT void fl_point(int x, int y); + +// line type: +FL_EXPORT void fl_line_style(int style, int width=0, char* dashes=0); +enum { + FL_SOLID = 0, + FL_DASH = 1, + FL_DOT = 2, + FL_DASHDOT = 3, + FL_DASHDOTDOT = 4, + + FL_CAP_FLAT = 0x100, + FL_CAP_ROUND = 0x200, + FL_CAP_SQUARE = 0x300, + + FL_JOIN_MITER = 0x1000, + FL_JOIN_ROUND = 0x2000, + FL_JOIN_BEVEL = 0x3000 +}; + +// rectangles tweaked to exactly fill the pixel rectangle: +FL_EXPORT void fl_rect(int x, int y, int w, int h); +inline void fl_rect(int x, int y, int w, int h, Fl_Color c) {fl_color(c); fl_rect(x,y,w,h);} +FL_EXPORT void fl_rectf(int x, int y, int w, int h); +inline void fl_rectf(int x, int y, int w, int h, Fl_Color c) {fl_color(c); fl_rectf(x,y,w,h);} + +// line segments: +FL_EXPORT void fl_line(int,int, int,int); +FL_EXPORT void fl_line(int,int, int,int, int,int); + +// closed line segments: +FL_EXPORT void fl_loop(int,int, int,int, int,int); +FL_EXPORT void fl_loop(int,int, int,int, int,int, int,int); + +// filled polygons +FL_EXPORT void fl_polygon(int,int, int,int, int,int); +FL_EXPORT void fl_polygon(int,int, int,int, int,int, int,int); + +// draw rectilinear lines, horizontal segment first: +FL_EXPORT void fl_xyline(int x, int y, int x1); +FL_EXPORT void fl_xyline(int x, int y, int x1, int y2); +FL_EXPORT void fl_xyline(int x, int y, int x1, int y2, int x3); + +// draw rectilinear lines, vertical segment first: +FL_EXPORT void fl_yxline(int x, int y, int y1); +FL_EXPORT void fl_yxline(int x, int y, int y1, int x2); +FL_EXPORT void fl_yxline(int x, int y, int y1, int x2, int y3); + +// circular lines and pie slices (code in fl_arci.C): +FL_EXPORT void fl_arc(int x, int y, int w, int h, double a1, double a2); +FL_EXPORT void fl_pie(int x, int y, int w, int h, double a1, double a2); +FL_EXPORT void fl_chord(int x, int y, int w, int h, double a1, double a2); // nyi + +// scalable drawing code (code in fl_vertex.C and fl_arc.C): +FL_EXPORT void fl_push_matrix(); +FL_EXPORT void fl_pop_matrix(); +FL_EXPORT void fl_scale(double x, double y); +FL_EXPORT void fl_scale(double x); +FL_EXPORT void fl_translate(double x, double y); +FL_EXPORT void fl_rotate(double d); +FL_EXPORT void fl_mult_matrix(double a, double b, double c, double d, double x,double y); +FL_EXPORT void fl_begin_points(); +FL_EXPORT void fl_begin_line(); +FL_EXPORT void fl_begin_loop(); +FL_EXPORT void fl_begin_polygon(); +FL_EXPORT void fl_vertex(double x, double y); +FL_EXPORT void fl_curve(double, double, double, double, double, double, double, double); +FL_EXPORT void fl_arc(double x, double y, double r, double start, double a); +FL_EXPORT void fl_circle(double x, double y, double r); +FL_EXPORT void fl_end_points(); +FL_EXPORT void fl_end_line(); +FL_EXPORT void fl_end_loop(); +FL_EXPORT void fl_end_polygon(); +FL_EXPORT void fl_begin_complex_polygon(); +FL_EXPORT void fl_gap(); +FL_EXPORT void fl_end_complex_polygon(); +// get and use transformed positions: +FL_EXPORT double fl_transform_x(double x, double y); +FL_EXPORT double fl_transform_y(double x, double y); +FL_EXPORT double fl_transform_dx(double x, double y); +FL_EXPORT double fl_transform_dy(double x, double y); +FL_EXPORT void fl_transformed_vertex(double x, double y); + +// current font: +FL_EXPORT void fl_font(int face, int size); +extern FL_EXPORT int fl_font_; +inline int fl_font() {return fl_font_;} +extern FL_EXPORT int fl_size_; +inline int fl_size() {return fl_size_;} + +// information you can get about the current font: +FL_EXPORT int fl_height(); // using "size" should work ok +inline int fl_height(int, int size) {return size;} +FL_EXPORT int fl_descent(); +FL_EXPORT double fl_width(const char*); +FL_EXPORT double fl_width(const char*, int n); +FL_EXPORT double fl_width(uchar); + +// draw using current font: +FL_EXPORT void fl_draw(const char*, int x, int y); +FL_EXPORT void fl_draw(const char*, int n, int x, int y); +FL_EXPORT void fl_measure(const char*, int& x, int& y, int draw_symbols = 1); +FL_EXPORT void fl_draw(const char*, int,int,int,int, Fl_Align, Fl_Image* img=0, + int draw_symbols = 1); +FL_EXPORT void fl_draw(const char*, int,int,int,int, Fl_Align, + void (*callthis)(const char *, int n, int x, int y), + Fl_Image* img=0, int draw_symbols = 1); + +// boxtypes: +FL_EXPORT void fl_frame(const char* s, int x, int y, int w, int h); +FL_EXPORT void fl_frame2(const char* s, int x, int y, int w, int h); +FL_EXPORT void fl_draw_box(Fl_Boxtype, int x, int y, int w, int h, Fl_Color); + +// images: +FL_EXPORT void fl_draw_image(const uchar*, int,int,int,int, int delta=3, int ldelta=0); +FL_EXPORT void fl_draw_image_mono(const uchar*, int,int,int,int, int delta=1, int ld=0); +typedef void (*Fl_Draw_Image_Cb)(void*,int,int,int,uchar*); +FL_EXPORT void fl_draw_image(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=3); +FL_EXPORT void fl_draw_image_mono(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta=1); +FL_EXPORT void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b); + +FL_EXPORT uchar *fl_read_image(uchar *p, int x,int y, int w, int h, int alpha=0); + +// pixmaps: +FL_EXPORT int fl_draw_pixmap(/*const*/ char* const* data, int x,int y,Fl_Color=FL_GRAY); +FL_EXPORT int fl_measure_pixmap(/*const*/ char* const* data, int &w, int &h); +FL_EXPORT int fl_draw_pixmap(const char* const* data, int x,int y,Fl_Color=FL_GRAY); +FL_EXPORT int fl_measure_pixmap(const char* const* data, int &w, int &h); + +// other: +FL_EXPORT void fl_scroll(int X, int Y, int W, int H, int dx, int dy, + void (*draw_area)(void*, int,int,int,int), void* data); +FL_EXPORT const char* fl_shortcut_label(int); +FL_EXPORT void fl_overlay_rect(int,int,int,int); +FL_EXPORT void fl_overlay_clear(); +FL_EXPORT void fl_cursor(Fl_Cursor, Fl_Color=FL_BLACK, Fl_Color=FL_WHITE); + +// XForms symbols: +FL_EXPORT int fl_draw_symbol(const char* label,int x,int y,int w,int h, Fl_Color); +FL_EXPORT int fl_add_symbol(const char* name, void (*drawit)(Fl_Color), int scalable); + +#endif + +// +// End of "$Id: fl_draw.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_message.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_message.H new file mode 100644 index 0000000..dd66272 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_message.H @@ -0,0 +1,32 @@ +// +// "$Id: fl_message.H 4288 2005-04-16 00:13:17Z mike $" +// +// Standard message header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#include "fl_ask.H" + +// +// End of "$Id: fl_message.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_colormap.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_colormap.H new file mode 100644 index 0000000..baaa2b7 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_colormap.H @@ -0,0 +1,37 @@ +// +// "$Id: fl_show_colormap.H 4288 2005-04-16 00:13:17Z mike $" +// +// Colormap picker header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef fl_show_colormap_H +#define fl_show_colormap_H + +FL_EXPORT Fl_Color fl_show_colormap(Fl_Color oldcol); + +#endif + +// +// End of "$Id: fl_show_colormap.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_input.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_input.H new file mode 100644 index 0000000..3773f99 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/fl_show_input.H @@ -0,0 +1,32 @@ +// +// "$Id: fl_show_input.H 4288 2005-04-16 00:13:17Z mike $" +// +// Standard input dialog header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#include "fl_ask.H" + +// +// End of "$Id: fl_show_input.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/forms.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/forms.H new file mode 100644 index 0000000..dabbea3 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/forms.H @@ -0,0 +1,844 @@ +// +// "$Id: forms.H 4288 2005-04-16 00:13:17Z mike $" +// +// Forms emulation header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef __FORMS_H__ +#define __FORMS_H__ + +#include "Fl.H" +#include "Fl_Group.H" +#include "Fl_Window.H" +#include "fl_draw.H" + +typedef Fl_Widget FL_OBJECT; +typedef Fl_Window FL_FORM; + +//////////////////////////////////////////////////////////////// +// Random constants & symbols defined by forms.h file: + +#ifndef NULL +#define NULL 0 +#endif +#ifndef FALSE +#define FALSE 0 +#define TRUE 1 +#endif + +#define FL_ON 1 +#define FL_OK 1 +#define FL_VALID 1 +#define FL_PREEMPT 1 +#define FL_AUTO 2 +#define FL_WHEN_NEEDED FL_AUTO +#define FL_OFF 0 +#define FL_NONE 0 +#define FL_CANCEL 0 +#define FL_INVALID 0 +#define FL_IGNORE -1 +#define FL_CLOSE -2 + +#define FL_LCOL FL_BLACK +#define FL_COL1 FL_GRAY +#define FL_MCOL FL_LIGHT1 +#define FL_LEFT_BCOL FL_LIGHT3 // 53 is better match +#define FL_TOP_BCOL FL_LIGHT2 // 51 +#define FL_BOTTOM_BCOL FL_DARK2 // 40 +#define FL_RIGHT_BCOL FL_DARK3 // 36 +#define FL_INACTIVE FL_INACTIVE_COLOR +#define FL_INACTIVE_COL FL_INACTIVE_COLOR +#define FL_FREE_COL1 FL_FREE_COLOR +#define FL_FREE_COL2 ((Fl_Color)(FL_FREE_COLOR+1)) +#define FL_FREE_COL3 ((Fl_Color)(FL_FREE_COLOR+2)) +#define FL_FREE_COL4 ((Fl_Color)(FL_FREE_COLOR+3)) +#define FL_FREE_COL5 ((Fl_Color)(FL_FREE_COLOR+4)) +#define FL_FREE_COL6 ((Fl_Color)(FL_FREE_COLOR+5)) +#define FL_FREE_COL7 ((Fl_Color)(FL_FREE_COLOR+6)) +#define FL_FREE_COL8 ((Fl_Color)(FL_FREE_COLOR+7)) +#define FL_FREE_COL9 ((Fl_Color)(FL_FREE_COLOR+8)) +#define FL_FREE_COL10 ((Fl_Color)(FL_FREE_COLOR+9)) +#define FL_FREE_COL11 ((Fl_Color)(FL_FREE_COLOR+10)) +#define FL_FREE_COL12 ((Fl_Color)(FL_FREE_COLOR+11)) +#define FL_FREE_COL13 ((Fl_Color)(FL_FREE_COLOR+12)) +#define FL_FREE_COL14 ((Fl_Color)(FL_FREE_COLOR+13)) +#define FL_FREE_COL15 ((Fl_Color)(FL_FREE_COLOR+14)) +#define FL_FREE_COL16 ((Fl_Color)(FL_FREE_COLOR+15)) +#define FL_TOMATO ((Fl_Color)(131)) +#define FL_INDIANRED ((Fl_Color)(164)) +#define FL_SLATEBLUE ((Fl_Color)(195)) +#define FL_DARKGOLD ((Fl_Color)(84)) +#define FL_PALEGREEN ((Fl_Color)(157)) +#define FL_ORCHID ((Fl_Color)(203)) +#define FL_DARKCYAN ((Fl_Color)(189)) +#define FL_DARKTOMATO ((Fl_Color)(113)) +#define FL_WHEAT ((Fl_Color)(174)) + +#define FL_ALIGN_BESIDE FL_ALIGN_INSIDE + +#define FL_PUP_TOGGLE 2 // FL_MENU_TOGGLE +#define FL_PUP_INACTIVE 1 // FL_MENU_INACTIVE +#define FL_NO_FRAME FL_NO_BOX +#define FL_ROUNDED3D_UPBOX FL_ROUND_UP_BOX +#define FL_ROUNDED3D_DOWNBOX FL_ROUND_DOWN_BOX +#define FL_OVAL3D_UPBOX FL_ROUND_UP_BOX +#define FL_OVAL3D_DOWNBOX FL_ROUND_DOWN_BOX + +#define FL_MBUTTON1 1 +#define FL_LEFTMOUSE 1 +#define FL_MBUTTON2 2 +#define FL_MIDDLEMOUSE 2 +#define FL_MBUTTON3 3 +#define FL_RIGHTMOUSE 3 +#define FL_MBUTTON4 4 +#define FL_MBUTTON5 5 + +#define FL_INVALID_STYLE 255 +#define FL_NORMAL_STYLE FL_HELVETICA +#define FL_BOLD_STYLE FL_HELVETICA_BOLD +#define FL_ITALIC_STYLE FL_HELVETICA_ITALIC +#define FL_BOLDITALIC_STYLE FL_HELVETICA_BOLD_ITALIC +#define FL_FIXED_STYLE FL_COURIER +#define FL_FIXEDBOLD_STYLE FL_COURIER_BOLD +#define FL_FIXEDITALIC_STYLE FL_COURIER_ITALIC +#define FL_FIXEDBOLDITALIC_STYLE FL_COURIER_BOLD_ITALIC +#define FL_TIMES_STYLE FL_TIMES +#define FL_TIMESBOLD_STYLE FL_TIMES_BOLD +#define FL_TIMESITALIC_STYLE FL_TIMES_ITALIC +#define FL_TIMESBOLDITALIC_STYLE FL_TIMES_BOLD_ITALIC + +// hacks to change the labeltype() when passed to fl_set_object_lstyle(): +#define FL_SHADOW_STYLE (FL_SHADOW_LABEL<<8) +#define FL_ENGRAVED_STYLE (FL_ENGRAVED_LABEL<<8) +#define FL_EMBOSSED_STYLE (FL_EMBOSSED_LABEL<<0) + +// size values are different from XForms, match older Forms: +#define FL_TINY_SIZE 8 +#define FL_SMALL_SIZE 11 // 10 +//#define FL_NORMAL_SIZE 14 // 12 +#define FL_MEDIUM_SIZE 18 // 14 +#define FL_LARGE_SIZE 24 // 18 +#define FL_HUGE_SIZE 32 // 24 +#define FL_DEFAULT_SIZE FL_SMALL_SIZE +#define FL_TINY_FONT FL_TINY_SIZE +#define FL_SMALL_FONT FL_SMALL_SIZE +#define FL_NORMAL_FONT FL_NORMAL_SIZE +#define FL_MEDIUM_FONT FL_MEDIUM_SIZE +#define FL_LARGE_FONT FL_LARGE_SIZE +#define FL_HUGE_FONT FL_HUGE_SIZE +#define FL_NORMAL_FONT1 FL_SMALL_FONT +#define FL_NORMAL_FONT2 FL_NORMAL_FONT +#define FL_DEFAULT_FONT FL_SMALL_FONT + +#define FL_RETURN_END_CHANGED FL_WHEN_RELEASE +#define FL_RETURN_CHANGED FL_WHEN_CHANGED +#define FL_RETURN_END FL_WHEN_RELEASE_ALWAYS +#define FL_RETURN_ALWAYS (FL_WHEN_CHANGED|FL_WHEN_NOT_CHANGED) + +#define FL_BOUND_WIDTH 3 + +typedef int FL_Coord; +typedef int FL_COLOR; + +//////////////////////////////////////////////////////////////// +// fltk interaction: + +#define FL_CMD_OPT void +extern FL_EXPORT void fl_initialize(int*, char*[], const char*, FL_CMD_OPT*, int); +inline void fl_finish() {} + +typedef void (*FL_IO_CALLBACK) (int, void*); +inline void fl_add_io_callback(int fd, short w, FL_IO_CALLBACK cb, void* v) { + Fl::add_fd(fd,w,cb,v);} +inline void fl_remove_io_callback(int fd, short, FL_IO_CALLBACK) { + Fl::remove_fd(fd);} // removes all the callbacks! + +// type of callback is different and no "id" number is returned: +inline void fl_add_timeout(long msec, void (*cb)(void*), void* v) { + Fl::add_timeout(msec*.001, cb, v);} +inline void fl_remove_timeout(int) {} + +// type of callback is different! +inline void fl_set_idle_callback(void (*cb)()) {Fl::set_idle(cb);} + +FL_EXPORT Fl_Widget* fl_do_forms(void); +FL_EXPORT Fl_Widget* fl_check_forms(); +inline Fl_Widget* fl_do_only_forms(void) {return fl_do_forms();} +inline Fl_Widget* fl_check_only_forms(void) {return fl_check_forms();} + +// because of new redraw behavior, these are no-ops: +inline void fl_freeze_object(Fl_Widget*) {} +inline void fl_unfreeze_object(Fl_Widget*) {} +inline void fl_freeze_form(Fl_Window*) {} +inline void fl_unfreeze_form(Fl_Window*) {} +inline void fl_freeze_all_forms() {} +inline void fl_unfreeze_all_forms() {} + +inline void fl_set_focus_object(Fl_Window*, Fl_Widget* o) {Fl::focus(o);} +inline void fl_reset_focus_object(Fl_Widget* o) {Fl::focus(o);} +#define fl_set_object_focus fl_set_focus_object + +// void fl_set_form_atclose(Fl_Window*w,int (*cb)(Fl_Window*,void*),void* v) +// void fl_set_atclose(int (*cb)(Fl_Window*,void*),void*) +// fl_set_form_atactivate/atdeactivate not implemented! + +//////////////////////////////////////////////////////////////// +// Fl_Widget: + +inline void fl_set_object_boxtype(Fl_Widget* o, Fl_Boxtype a) {o->box(a);} +inline void fl_set_object_lsize(Fl_Widget* o,int s) {o->labelsize(s);} +inline void fl_set_object_lstyle(Fl_Widget* o,int a) { + o->labelfont((uchar)a); o->labeltype((Fl_Labeltype)(a>>8));} +inline void fl_set_object_lcol(Fl_Widget* o, unsigned a) {o->labelcolor(a);} +#define fl_set_object_lcolor fl_set_object_lcol +inline void fl_set_object_lalign(Fl_Widget* o, Fl_Align a) {o->align(a);} +#define fl_set_object_align fl_set_object_lalign +inline void fl_set_object_color(Fl_Widget* o,unsigned a,unsigned b) {o->color(a,b);} +inline void fl_set_object_label(Fl_Widget* o, const char* a) {o->label(a); o->redraw();} +inline void fl_set_object_position(Fl_Widget*o,int x,int y) {o->position(x,y);} +inline void fl_set_object_size(Fl_Widget* o, int w, int h) {o->size(w,h);} +inline void fl_set_object_geometry(Fl_Widget* o,int x,int y,int w,int h) {o->resize(x,y,w,h);} + +inline void fl_get_object_geometry(Fl_Widget* o,int*x,int*y,int*w,int*h) { + *x = o->x(); *y = o->y(); *w = o->w(); *h = o->h();} +inline void fl_get_object_position(Fl_Widget* o,int*x,int*y) { + *x = o->x(); *y = o->y();} + +typedef void (*Forms_CB)(Fl_Widget*, long); +inline void fl_set_object_callback(Fl_Widget*o,Forms_CB c,long a) {o->callback(c,a);} +#define fl_set_call_back fl_set_object_callback +inline void fl_call_object_callback(Fl_Widget* o) {o->do_callback();} +inline void fl_trigger_object(Fl_Widget* o) {o->do_callback();} +inline void fl_set_object_return(Fl_Widget* o, int v) { + o->when((Fl_When)(v|FL_WHEN_RELEASE));} + +inline void fl_redraw_object(Fl_Widget* o) {o->redraw();} +inline void fl_show_object(Fl_Widget* o) {o->show();} +inline void fl_hide_object(Fl_Widget* o) {o->hide();} +inline void fl_free_object(Fl_Widget* x) {delete x;} +inline void fl_delete_object(Fl_Widget* o) {((Fl_Group*)(o->parent()))->remove(*o);} +inline void fl_activate_object(Fl_Widget* o) {o->activate();} +inline void fl_deactivate_object(Fl_Widget* o) {o->deactivate();} + +inline void fl_add_object(Fl_Window* f, Fl_Widget* x) {f->add(x);} +inline void fl_insert_object(Fl_Widget* o, Fl_Widget* b) { + ((Fl_Group*)(b->parent()))->insert(*o,b);} + +inline Fl_Window* FL_ObjWin(Fl_Widget* o) {return o->window();} + +//////////////////////////////////////////////////////////////// +// things that appered in the demos a lot that I don't emulate, but +// I did not want to edit out of all the demos... + +inline int fl_get_border_width() {return 3;} +inline void fl_set_border_width(int) {} +inline void fl_set_object_dblbuffer(Fl_Widget*, int) {} +inline void fl_set_form_dblbuffer(Fl_Window*, int) {} + +//////////////////////////////////////////////////////////////// +// Fl_Window: + +inline void fl_free_form(Fl_Window* x) {delete x;} +inline void fl_redraw_form(Fl_Window* f) {f->redraw();} + +inline Fl_Window* fl_bgn_form(Fl_Boxtype b,int w,int h) { + Fl_Window* g = new Fl_Window(w,h,0); + g->box(b); + return g; +} +FL_EXPORT void fl_end_form(); +inline void fl_addto_form(Fl_Window* f) {f->begin();} +inline Fl_Group* fl_bgn_group() {return new Fl_Group(0,0,0,0,0);} +inline void fl_end_group() {Fl_Group::current()->forms_end();} +inline void fl_addto_group(Fl_Widget* o) {((Fl_Group* )o)->begin();} +#define resizebox _ddfdesign_kludge() + +inline void fl_scale_form(Fl_Window* f, double x, double y) { + f->resizable(f); f->size(int(f->w()*x),int(f->h()*y));} +inline void fl_set_form_position(Fl_Window* f,int x,int y) {f->position(x,y);} +inline void fl_set_form_size(Fl_Window* f, int w, int h) {f->size(w,h);} +inline void fl_set_form_geometry(Fl_Window* f,int x,int y,int w,int h) { + f->resize(x,y,w,h);} +#define fl_set_initial_placement fl_set_form_geometry +inline void fl_adjust_form_size(Fl_Window*) {} + +FL_EXPORT void fl_show_form(Fl_Window* f,int p,int b,const char* n); +enum { // "p" argument values: + FL_PLACE_FREE = 0, // make resizable + FL_PLACE_MOUSE = 1, // mouse centered on form + FL_PLACE_CENTER = 2, // center of the screen + FL_PLACE_POSITION = 4,// fixed position, resizable + FL_PLACE_SIZE = 8, // fixed size, normal fltk behavior + FL_PLACE_GEOMETRY =16,// fixed size and position + FL_PLACE_ASPECT = 32, // keep aspect ratio (ignored) + FL_PLACE_FULLSCREEN=64,// fill screen + FL_PLACE_HOTSPOT = 128,// enables hotspot + FL_PLACE_ICONIC = 256,// iconic (ignored) + FL_FREE_SIZE=(1<<14), // force resizable + FL_FIX_SIZE =(1<<15) // force off resizable +}; +#define FL_PLACE_FREE_CENTER (FL_PLACE_CENTER|FL_FREE_SIZE) +#define FL_PLACE_CENTERFREE (FL_PLACE_CENTER|FL_FREE_SIZE) +enum { // "b" arguement values: + FL_NOBORDER = 0, + FL_FULLBORDER, + FL_TRANSIENT +//FL_MODAL = (1<<8) // not implemented yet in Forms +}; +inline void fl_set_form_hotspot(Fl_Window* w,int x,int y) {w->hotspot(x,y);} +inline void fl_set_form_hotobject(Fl_Window* w, Fl_Widget* o) {w->hotspot(o);} +extern FL_EXPORT char fl_flip; // in forms.C +inline void fl_flip_yorigin() {fl_flip = 1;} + +#define fl_prepare_form_window fl_show_form +inline void fl_show_form_window(Fl_Window*) {} + +inline void fl_raise_form(Fl_Window* f) {f->show();} + +inline void fl_hide_form(Fl_Window* f) {f->hide();} +inline void fl_pop_form(Fl_Window* f) {f->show();} + +extern FL_EXPORT char fl_modal_next; // in forms.C +inline void fl_activate_all_forms() {} +inline void fl_deactivate_all_forms() {fl_modal_next = 1;} +inline void fl_deactivate_form(Fl_Window*w) {w->deactivate();} +inline void fl_activate_form(Fl_Window*w) {w->activate();} + +inline void fl_set_form_title(Fl_Window* f, const char* s) {f->label(s);} +inline void fl_title_form(Fl_Window* f, const char* s) {f->label(s);} + +typedef void (*Forms_FormCB)(Fl_Widget*); +inline void fl_set_form_callback(Fl_Window* f,Forms_FormCB c) {f->callback(c);} +#define fl_set_form_call_back fl_set_form_callback + +inline void fl_init() {} +FL_EXPORT void fl_set_graphics_mode(int,int); + +inline int fl_form_is_visible(Fl_Window* f) {return f->visible();} + +inline int fl_mouse_button() {return Fl::event_button();} +#define fl_mousebutton fl_mouse_button + +#define fl_free free +#define fl_malloc malloc +#define fl_calloc calloc +#define fl_realloc realloc + +//////////////////////////////////////////////////////////////// +// Drawing functions. Only usable inside an Fl_Free object? + +inline void fl_drw_box(Fl_Boxtype b,int x,int y,int w,int h,Fl_Color bgc,int=3) { + fl_draw_box(b,x,y,w,h,bgc);} +inline void fl_drw_frame(Fl_Boxtype b,int x,int y,int w,int h,Fl_Color bgc,int=3) { + fl_draw_box(b,x,y,w,h,bgc);} + +inline void fl_drw_text(Fl_Align align, int x, int y, int w, int h, + Fl_Color fgcolor, int size, Fl_Font style, + const char* s) { + fl_font(style,size); + fl_color(fgcolor); + fl_draw(s,x,y,w,h,align); +} + +// this does not work except for CENTER... +inline void fl_drw_text_beside(Fl_Align align, int x, int y, int w, int h, + Fl_Color fgcolor, int size, Fl_Font style, + const char* s) { + fl_font(style,size); + fl_color(fgcolor); + fl_draw(s,x,y,w,h,align); +} + +inline void fl_set_font_name(Fl_Font n,const char* s) {Fl::set_font(n,s);} + +inline void fl_mapcolor(Fl_Color c, uchar r, uchar g, uchar b) {Fl::set_color(c,r,g,b);} + +#define fl_set_clipping(x,y,w,h) fl_clip(x,y,w,h) +#define fl_unset_clipping() fl_pop_clip() + +//////////////////////////////////////////////////////////////// +// Forms classes: + +inline Fl_Widget* fl_add_new(Fl_Widget* p) {return p;} +inline Fl_Widget* fl_add_new(uchar t,Fl_Widget* p) {p->type(t); return p;} + +#define forms_constructor(type,name) \ +inline type* name(uchar t,int x,int y,int w,int h,const char* l) { \ + return (type*)(fl_add_new(t, new type(x,y,w,h,l)));} +#define forms_constructort(type,name) \ +inline type* name(uchar t,int x,int y,int w,int h,const char* l) { \ + return (type*)(fl_add_new(new type(t,x,y,w,h,l)));} +#define forms_constructorb(type,name) \ +inline type* name(Fl_Boxtype t,int x,int y,int w,int h,const char* l) { \ + return (type*)(fl_add_new(new type(t,x,y,w,h,l)));} + +#include "Fl_FormsBitmap.H" +#define FL_NORMAL_BITMAP FL_NO_BOX +forms_constructorb(Fl_FormsBitmap, fl_add_bitmap) +inline void fl_set_bitmap_data(Fl_Widget* o, int w, int h, const uchar* b) { + ((Fl_FormsBitmap*)o)->set(w,h,b); +} + +#include "Fl_FormsPixmap.H" +#define FL_NORMAL_PIXMAP FL_NO_BOX +forms_constructorb(Fl_FormsPixmap, fl_add_pixmap) +inline void fl_set_pixmap_data(Fl_Widget* o, char*const* b) { + ((Fl_FormsPixmap*)o)->set(b); +} +//inline void fl_set_pixmap_file(Fl_Widget*, const char*); +inline void fl_set_pixmap_align(Fl_Widget* o,Fl_Align a,int,int) {o->align(a);} +//inline void fl_set_pixmap_colorcloseness(int, int, int); + +#include "Fl_Box.H" +forms_constructorb(Fl_Box, fl_add_box) + +#include "Fl_Browser.H" +forms_constructor(Fl_Browser, fl_add_browser) + +inline void fl_clear_browser(Fl_Widget* o) { + ((Fl_Browser*)o)->clear();} +inline void fl_add_browser_line(Fl_Widget* o, const char* s) { + ((Fl_Browser*)o)->add(s);} +inline void fl_addto_browser(Fl_Widget* o, const char* s) { + ((Fl_Browser*)o)->add(s);} /* should also scroll to bottom */ +//inline void fl_addto_browser_chars(Fl_Widget*, const char*) +//#define fl_append_browser fl_addto_browser_chars +inline void fl_insert_browser_line(Fl_Widget* o, int n, const char* s) { + ((Fl_Browser*)o)->insert(n,s);} +inline void fl_delete_browser_line(Fl_Widget* o, int n) { + ((Fl_Browser*)o)->remove(n);} +inline void fl_replace_browser_line(Fl_Widget* o, int n, const char* s) { + ((Fl_Browser*)o)->replace(n,s);} +inline char* fl_get_browser_line(Fl_Widget* o, int n) { + return (char*)(((Fl_Browser*)o)->text(n));} +inline int fl_load_browser(Fl_Widget* o, const char* f) { + return ((Fl_Browser*)o)->load(f);} +inline void fl_select_browser_line(Fl_Widget* o, int n) { + ((Fl_Browser*)o)->select(n,1);} +inline void fl_deselect_browser_line(Fl_Widget* o, int n) { + ((Fl_Browser*)o)->select(n,0);} +inline void fl_deselect_browser(Fl_Widget* o) { + ((Fl_Browser*)o)->deselect();} +inline int fl_isselected_browser_line(Fl_Widget* o, int n) { + return ((Fl_Browser*)o)->selected(n);} +inline int fl_get_browser_topline(Fl_Widget* o) { + return ((Fl_Browser*)o)->topline();} +inline int fl_get_browser(Fl_Widget* o) { + return ((Fl_Browser*)o)->value();} +inline int fl_get_browser_maxline(Fl_Widget* o) { + return ((Fl_Browser*)o)->size();} +//linline int fl_get_browser_screenlines(Fl_Widget*); +inline void fl_set_browser_topline(Fl_Widget* o, int n) { + ((Fl_Browser*)o)->topline(n);} +inline void fl_set_browser_fontsize(Fl_Widget* o, int s) { + ((Fl_Browser*)o)->textsize(s);} +inline void fl_set_browser_fontstyle(Fl_Widget* o, Fl_Font s) { + ((Fl_Browser*)o)->textfont(s);} +inline void fl_set_browser_specialkey(Fl_Widget* o, char c) { + ((Fl_Browser*)o)->format_char(c);} +//inline void fl_set_browser_vscrollbar(Fl_Widget*, int); +//inline void fl_set_browser_hscrollbar(Fl_Widget*, int); +//inline void fl_set_browser_leftslider(Fl_Widget*, int); +//#define fl_set_browser_leftscrollbar fl_set_browser_leftslider +//inline void fl_set_browser_line_selectable(Fl_Widget*, int, int); +//inline void fl_get_browser_dimension(Fl_Widget*,int*,int*,int*,int*); +//inline void fl_set_browser_dblclick_callback(Fl_Widget*,FL_CALLBACKPTR,long); +//inline void fl_set_browser_xoffset(Fl_Widget*, FL_Coord); +//inline void fl_set_browser_scrollbarsize(Fl_Widget*, int, int); +inline void fl_setdisplayed_browser_line(Fl_Widget* o, int n, int i) { + ((Fl_Browser*)o)->display(n,i);} +inline int fl_isdisplayed_browser_line(Fl_Widget* o, int n) { + return ((Fl_Browser*)o)->displayed(n);} + +#include "Fl_Button.H" + +#define FL_NORMAL_BUTTON 0 +#define FL_TOUCH_BUTTON 4 +#define FL_INOUT_BUTTON 5 +#define FL_RETURN_BUTTON 6 +#define FL_HIDDEN_RET_BUTTON 7 +#define FL_PUSH_BUTTON FL_TOGGLE_BUTTON +#define FL_MENU_BUTTON 9 + +FL_EXPORT Fl_Button* fl_add_button(uchar t,int x,int y,int w,int h,const char* l); +inline int fl_get_button(Fl_Widget* b) {return ((Fl_Button*)b)->value();} +inline void fl_set_button(Fl_Widget* b, int v) {((Fl_Button*)b)->value(v);} +inline int fl_get_button_numb(Fl_Widget*) {return Fl::event_button();} +inline void fl_set_button_shortcut(Fl_Widget* b, const char* s,int=0) { + ((Fl_Button*)b)->shortcut(s);} +//#define fl_set_object_shortcut(b,s) fl_set_button_shortcut(b,s) + +#include "Fl_Light_Button.H" +forms_constructor(Fl_Light_Button, fl_add_lightbutton) + +#include "Fl_Round_Button.H" +forms_constructor(Fl_Round_Button, fl_add_roundbutton) +forms_constructor(Fl_Round_Button, fl_add_round3dbutton) + +#include "Fl_Check_Button.H" +forms_constructor(Fl_Check_Button, fl_add_checkbutton) + +inline Fl_Widget* fl_add_bitmapbutton(int t,int x,int y,int w,int h,const char* l) {Fl_Widget* o = fl_add_button(t,x,y,w,h,l); return o;} +inline void fl_set_bitmapbutton_data(Fl_Widget* o,int a,int b,uchar* c) { + (new Fl_Bitmap(c,a,b))->label(o);} // does not delete old Fl_Bitmap! + +inline Fl_Widget* fl_add_pixmapbutton(int t,int x,int y,int w,int h,const char* l) {Fl_Widget* o = fl_add_button(t,x,y,w,h,l); return o;} +inline void fl_set_pixmapbutton_data(Fl_Widget* o, const char*const* c) { + (new Fl_Pixmap(c))->label(o);} // does not delete old Fl_Pixmap! + +// Fl_Canvas object not yet implemented! + +#include "Fl_Chart.H" + +forms_constructor(Fl_Chart, fl_add_chart) +inline void fl_clear_chart(Fl_Widget* o) { + ((Fl_Chart*)o)->clear();} +inline void fl_add_chart_value(Fl_Widget* o,double v,const char* s,uchar c){ + ((Fl_Chart*)o)->add(v,s,c);} +inline void fl_insert_chart_value(Fl_Widget* o, int i, double v, const char* s, uchar c) { + ((Fl_Chart*)o)->insert(i,v,s,c);} +inline void fl_replace_chart_value(Fl_Widget* o, int i, double v, const char* s, uchar c) { + ((Fl_Chart*)o)->replace(i,v,s,c);} +inline void fl_set_chart_bounds(Fl_Widget* o, double a, double b) { + ((Fl_Chart*)o)->bounds(a,b);} +inline void fl_set_chart_maxnumb(Fl_Widget* o, int v) { + ((Fl_Chart*)o)->maxsize(v);} +inline void fl_set_chart_autosize(Fl_Widget* o, int v) { + ((Fl_Chart*)o)->autosize(v);} +inline void fl_set_chart_lstyle(Fl_Widget* o, Fl_Font v) { + ((Fl_Chart*)o)->textfont(v);} +inline void fl_set_chart_lsize(Fl_Widget* o, int v) { + ((Fl_Chart*)o)->textsize(v);} +inline void fl_set_chart_lcolor(Fl_Widget* o, unsigned v) { + ((Fl_Chart*)o)->textcolor(v);} +#define fl_set_chart_lcol fl_set_chart_lcolor + +#include "Fl_Choice.H" + +#define FL_NORMAL_CHOICE 0 +#define FL_NORMAL_CHOICE2 0 +#define FL_DROPLIST_CHOICE 0 + +forms_constructor(Fl_Choice, fl_add_choice) +inline void fl_clear_choice(Fl_Widget* o) { + ((Fl_Choice*)o)->clear();} +inline void fl_addto_choice(Fl_Widget* o, const char* s) { + ((Fl_Choice*)o)->add(s);} +inline void fl_replace_choice(Fl_Widget* o, int i, const char* s) { + ((Fl_Choice*)o)->replace(i-1,s);} +inline void fl_delete_choice(Fl_Widget* o, int i) { + ((Fl_Choice*)o)->remove(i-1);} +inline void fl_set_choice(Fl_Widget* o, int i) { + ((Fl_Choice*)o)->value(i-1);} +// inline void fl_set_choice_text(Fl_Widget*, const char*); +inline int fl_get_choice(Fl_Widget* o) { + return ((Fl_Choice*)o)->value()+1;} +// inline const char* fl_get_choice_item_text(Fl_Widget*, int); +// inline int fl_get_choice_maxitems(Fl_Widget*); +inline const char* fl_get_choice_text(Fl_Widget* o) { + return ((Fl_Choice*)o)->text();} +inline void fl_set_choice_fontsize(Fl_Widget* o, int x) { + ((Fl_Choice*)o)->textsize(x);} +inline void fl_set_choice_fontstyle(Fl_Widget* o, Fl_Font x) { + ((Fl_Choice*)o)->textfont(x);} +// inline void fl_set_choice_item_mode(Fl_Widget*, int, unsigned); +// inline void fl_set_choice_item_shortcut(Fl_Widget*, int, const char*); + +#include "Fl_Clock.H" +forms_constructort(Fl_Clock, fl_add_clock) +inline void fl_get_clock(Fl_Widget* o, int* h, int* m, int* s) { + *h = ((Fl_Clock*)o)->hour(); + *m = ((Fl_Clock*)o)->minute(); + *s = ((Fl_Clock*)o)->second(); +} + +#include "Fl_Counter.H" +forms_constructor(Fl_Counter, fl_add_counter) +inline void fl_set_counter_value(Fl_Widget* o, double v) { + ((Fl_Counter*)o)->value(v);} +inline void fl_set_counter_bounds(Fl_Widget* o, double a, double b) { + ((Fl_Counter*)o)->bounds(a,b);} +inline void fl_set_counter_step(Fl_Widget* o, double a, double b) { + ((Fl_Counter*)o)->step(a,b);} +inline void fl_set_counter_precision(Fl_Widget* o, int v) { + ((Fl_Counter*)o)->precision(v);} +inline void fl_set_counter_return(Fl_Widget* o, int v) { + ((Fl_Counter*)o)->when((Fl_When)(v|FL_WHEN_RELEASE));} +inline double fl_get_counter_value(Fl_Widget* o) { + return ((Fl_Counter*)o)->value();} +inline void fl_get_counter_bounds(Fl_Widget* o, float* a, float* b) { + *a = float(((Fl_Counter*)o)->minimum()); + *b = float(((Fl_Counter*)o)->maximum()); +} +//inline void fl_set_counter_filter(Fl_Widget*,const char* (*)(Fl_Widget*,double,int)); + +// Cursor stuff cannot be emulated because it uses X stuff +inline void fl_set_cursor(Fl_Window* w, Fl_Cursor c) {w->cursor(c);} +#define FL_INVISIBLE_CURSOR FL_CURSOR_NONE +#define FL_DEFAULT_CURSOR FL_CURSOR_DEFAULT + +#include "Fl_Dial.H" + +#define FL_DIAL_COL1 FL_GRAY +#define FL_DIAL_COL2 37 + +forms_constructor(Fl_Dial, fl_add_dial) +inline void fl_set_dial_value(Fl_Widget* o, double v) { + ((Fl_Dial*)o)->value(v);} +inline double fl_get_dial_value(Fl_Widget* o) { + return ((Fl_Dial*)o)->value();} +inline void fl_set_dial_bounds(Fl_Widget* o, double a, double b) { + ((Fl_Dial*)o)->bounds(a, b);} +inline void fl_get_dial_bounds(Fl_Widget* o, float* a, float* b) { + *a = float(((Fl_Dial*)o)->minimum()); + *b = float(((Fl_Dial*)o)->maximum()); +} +inline void fl_set_dial_return(Fl_Widget* o, int i) { + ((Fl_Dial*)o)->when((Fl_When)(i|FL_WHEN_RELEASE));} +inline void fl_set_dial_angles(Fl_Widget* o, int a, int b) { + ((Fl_Dial*)o)->angles((short)a, (short)b);} +//inline void fl_set_dial_cross(Fl_Widget* o, int); +// inline void fl_set_dial_direction(Fl_Widget* o, uchar d) { +// ((Fl_Dial*)o)->direction(d);} +inline void fl_set_dial_step(Fl_Widget* o, double v) { + ((Fl_Dial*)o)->step(v);} + +// Frames: + +inline Fl_Widget* fl_add_frame(Fl_Boxtype i,int x,int y,int w,int h,const char* l) { + return fl_add_box(i,x-3,y-3,w+6,h+6,l);} + +// labelframe nyi +inline Fl_Widget* fl_add_labelframe(Fl_Boxtype i,int x,int y,int w,int h,const char* l) { + Fl_Widget* o = fl_add_box(i,x-3,y-3,w+6,h+6,l); + o->align(FL_ALIGN_TOP_LEFT); + return o; +} + +#include "Fl_Free.H" +inline Fl_Free* +fl_add_free(int t,double x,double y,double w,double h,const char* l, + FL_HANDLEPTR hdl) { + return (Fl_Free*)(fl_add_new( + new Fl_Free(t,int(x),int(y),int(w),int(h),l,hdl))); +} + +#include "fl_ask.H" +#include "fl_show_colormap.H" + +inline int fl_show_question(const char* c, int = 0) {return fl_choice("%s",fl_no,fl_yes,0L,c);} +FL_EXPORT void fl_show_message(const char *,const char *,const char *); +FL_EXPORT void fl_show_alert(const char *,const char *,const char *,int=0); +FL_EXPORT int fl_show_question(const char *,const char *,const char *); +inline const char *fl_show_input(const char *l,const char*d=0) {return fl_input(l,d);} +FL_EXPORT /*const*/ char *fl_show_simple_input(const char *label, const char *deflt = 0); +FL_EXPORT int fl_show_choice( + const char *m1, + const char *m2, + const char *m3, + int numb, + const char *b0, + const char *b1, + const char *b2); + +inline void fl_set_goodies_font(uchar a, uchar b) {fl_message_font(a,b);} +#define fl_show_messages fl_message +inline int fl_show_choices(const char* c,int n,const char* b1,const char* b2, + const char* b3, int) { + return fl_show_choice(0,c,0,n,b1,b2,b3); +} + +#include "filename.H" +#include "Fl_File_Chooser.H" +inline int do_matching(char* a, const char* b) {return fl_filename_match(a,b);} + +// Forms-compatable file chooser (implementation in fselect.C): +FL_EXPORT char* fl_show_file_selector(const char* message,const char* dir, + const char* pat,const char* fname); +FL_EXPORT char* fl_get_directory(); +FL_EXPORT char* fl_get_pattern(); +FL_EXPORT char* fl_get_filename(); + +#include "Fl_Input.H" +forms_constructor(Fl_Input, fl_add_input) +inline void fl_set_input(Fl_Widget* o, const char* v) { + ((Fl_Input*)o)->value(v);} +inline void fl_set_input_return(Fl_Widget* o, int x) { + ((Fl_Input*)o)->when((Fl_When)(x | FL_WHEN_RELEASE));} +inline void fl_set_input_color(Fl_Widget* o, unsigned a, unsigned b) { + ((Fl_Input*)o)->textcolor(a); + ((Fl_Input*)o)->cursor_color(b); +} +// inline void fl_set_input_scroll(Fl_Widget*, int); +inline void fl_set_input_cursorpos(Fl_Widget* o, int x, int /*y*/) { + ((Fl_Input*)o)->position(x);} +// inline void fl_set_input_selected(Fl_Widget*, int); +// inline void fl_set_input_selected_range(Fl_Widget*, int, int); +// inline void fl_set_input_maxchars(Fl_Widget*, int); +// inline void fl_set_input_format(Fl_Widget*, int, int); +// inline void fl_set_input_hscrollbar(Fl_Widget*, int); +// inline void fl_set_input_vscrollbar(Fl_Widget*, int); +// inline void fl_set_input_xoffset(Fl_Widget*, int); +// inline void fl_set_input_topline(Fl_Widget*, int); +// inline void fl_set_input_scrollbarsize(Fl_Widget*, int, int); +// inline int fl_get_input_topline(Fl_Widget*); +// inline int fl_get_input_screenlines(Fl_Widget*); +inline int fl_get_input_cursorpos(Fl_Widget* o, int*x, int*y) { + *x = ((Fl_Input*)o)->position(); *y = 0; return *x;} +// inline int fl_get_input_numberoflines(Fl_Widget*); +// inline void fl_get_input_format(Fl_Widget*, int*, int*); +inline const char* fl_get_input(Fl_Widget* o) {return ((Fl_Input*)o)->value();} + +#include "Fl_Menu_Button.H" + +// types are not implemented, they all act like FL_PUSH_MENU: +#define FL_TOUCH_MENU 0 +#define FL_PUSH_MENU 1 +#define FL_PULLDOWN_MENU 2 +forms_constructor(Fl_Menu_Button, fl_add_menu) + +inline void fl_clear_menu(Fl_Widget* o) { + ((Fl_Menu_Button*)o)->clear();} +inline void fl_set_menu(Fl_Widget* o, const char* s) { + ((Fl_Menu_Button*)o)->clear(); ((Fl_Menu_Button*)o)->add(s);} +inline void fl_addto_menu(Fl_Widget* o, const char* s) { + ((Fl_Menu_Button*)o)->add(s);} +inline void fl_replace_menu_item(Fl_Widget* o, int i, const char* s) { + ((Fl_Menu_Button*)o)->replace(i-1,s);} +inline void fl_delete_menu_item(Fl_Widget* o, int i) { + ((Fl_Menu_Button*)o)->remove(i-1);} +inline void fl_set_menu_item_shortcut(Fl_Widget* o, int i, const char* s) { + ((Fl_Menu_Button*)o)->shortcut(i-1,fl_old_shortcut(s));} +inline void fl_set_menu_item_mode(Fl_Widget* o, int i, long x) { + ((Fl_Menu_Button*)o)->mode(i-1,x);} +inline void fl_show_menu_symbol(Fl_Widget*, int ) { +/* ((Fl_Menu_Button*)o)->show_menu_symbol(i); */} +// inline void fl_set_menu_popup(Fl_Widget*, int); +inline int fl_get_menu(Fl_Widget* o) { + return ((Fl_Menu_Button*)o)->value()+1;} +inline const char* fl_get_menu_item_text(Fl_Widget* o, int i) { + return ((Fl_Menu_Button*)o)->text(i);} +inline int fl_get_menu_maxitems(Fl_Widget* o) { + return ((Fl_Menu_Button*)o)->size();} +inline int fl_get_menu_item_mode(Fl_Widget* o, int i) { + return ((Fl_Menu_Button*)o)->mode(i);} +inline const char* fl_get_menu_text(Fl_Widget* o) { + return ((Fl_Menu_Button*)o)->text();} + +#include "Fl_Positioner.H" +#define FL_NORMAL_POSITIONER 0 +forms_constructor(Fl_Positioner, fl_add_positioner) +inline void fl_set_positioner_xvalue(Fl_Widget* o, double v) { + ((Fl_Positioner*)o)->xvalue(v);} +inline double fl_get_positioner_xvalue(Fl_Widget* o) { + return ((Fl_Positioner*)o)->xvalue();} +inline void fl_set_positioner_xbounds(Fl_Widget* o, double a, double b) { + ((Fl_Positioner*)o)->xbounds(a,b);} +inline void fl_get_positioner_xbounds(Fl_Widget* o, float* a, float* b) { + *a = float(((Fl_Positioner*)o)->xminimum()); + *b = float(((Fl_Positioner*)o)->xmaximum()); +} +inline void fl_set_positioner_yvalue(Fl_Widget* o, double v) { + ((Fl_Positioner*)o)->yvalue(v);} +inline double fl_get_positioner_yvalue(Fl_Widget* o) { + return ((Fl_Positioner*)o)->yvalue();} +inline void fl_set_positioner_ybounds(Fl_Widget* o, double a, double b) { + ((Fl_Positioner*)o)->ybounds(a,b);} +inline void fl_get_positioner_ybounds(Fl_Widget* o, float* a, float* b) { + *a = float(((Fl_Positioner*)o)->yminimum()); + *b = float(((Fl_Positioner*)o)->ymaximum()); +} +inline void fl_set_positioner_xstep(Fl_Widget* o, double v) { + ((Fl_Positioner*)o)->xstep(v);} +inline void fl_set_positioner_ystep(Fl_Widget* o, double v) { + ((Fl_Positioner*)o)->ystep(v);} +inline void fl_set_positioner_return(Fl_Widget* o, int v) { + ((Fl_Positioner*)o)->when((Fl_When)(v|FL_WHEN_RELEASE));} + +#include "Fl_Slider.H" + +#define FL_HOR_BROWSER_SLIDER FL_HOR_SLIDER +#define FL_VERT_BROWSER_SLIDER FL_VERT_SLIDER + +forms_constructort(Fl_Slider, fl_add_slider) +#define FL_SLIDER_COL1 FL_GRAY +inline void fl_set_slider_value(Fl_Widget* o, double v) { + ((Fl_Slider*)o)->value(v);} +inline double fl_get_slider_value(Fl_Widget* o) { + return ((Fl_Slider*)o)->value();} +inline void fl_set_slider_bounds(Fl_Widget* o, double a, double b) { + ((Fl_Slider*)o)->bounds(a, b);} +inline void fl_get_slider_bounds(Fl_Widget* o, float* a, float* b) { + *a = float(((Fl_Slider*)o)->minimum()); + *b = float(((Fl_Slider*)o)->maximum()); +} +inline void fl_set_slider_return(Fl_Widget* o, int i) { + ((Fl_Slider*)o)->when((Fl_When)(i|FL_WHEN_RELEASE));} +inline void fl_set_slider_step(Fl_Widget* o, double v) { + ((Fl_Slider*)o)->step(v);} +// inline void fl_set_slider_increment(Fl_Widget* o, double v, double); +inline void fl_set_slider_size(Fl_Widget* o, double v) { + ((Fl_Slider*)o)->slider_size(v);} + +#include "Fl_Value_Slider.H" +forms_constructor(Fl_Value_Slider, fl_add_valslider) + +inline void fl_set_slider_precision(Fl_Widget* o, int i) { + ((Fl_Value_Slider*)o)->precision(i);} +// filter function! + +// The forms text object was the same as an Fl_Box except it inverted the +// meaning of FL_ALIGN_INSIDE. Implementation in forms.cxx +class FL_EXPORT Fl_FormsText : public Fl_Widget { +protected: + void draw(); +public: + Fl_FormsText(Fl_Boxtype b, int X, int Y, int W, int H, const char* l=0) + : Fl_Widget(X,Y,W,H,l) {box(b); align(FL_ALIGN_LEFT);} +}; +#define FL_NORMAL_TEXT FL_NO_BOX +forms_constructorb(Fl_FormsText, fl_add_text) + +#include "Fl_Timer.H" +forms_constructort(Fl_Timer, fl_add_timer) +inline void fl_set_timer(Fl_Widget* o, double v) {((Fl_Timer*)o)->value(v);} +inline double fl_get_timer(Fl_Widget* o) {return ((Fl_Timer*)o)->value();} +inline void fl_suspend_timer(Fl_Widget* o) {((Fl_Timer*)o)->suspended(1);} +inline void fl_resume_timer(Fl_Widget* o) {((Fl_Timer*)o)->suspended(0);} +inline void fl_set_timer_countup(Fl_Widget* o,char d) {((Fl_Timer*)o)->direction(d);} +void fl_gettime(long* sec, long* usec); + +// Fl_XYPlot nyi + + +// stuff from DDForms: + +inline int fl_double_click() {return Fl::event_clicks();} +inline void fl_draw() {Fl::flush();} + +#endif /* define __FORMS_H__ */ + +// +// End of "$Id: forms.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl.h new file mode 100644 index 0000000..8b02d49 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl.h @@ -0,0 +1,87 @@ +// +// "$Id: gl.h 4288 2005-04-16 00:13:17Z mike $" +// +// OpenGL header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// You must include this instead of GL/gl.h to get the Microsoft +// APIENTRY stuff included (from ) prior to the OpenGL +// header files. +// +// This file also provides "missing" OpenGL functions, and +// gl_start() and gl_finish() to allow OpenGL to be used in any window +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef FL_gl_H +# define FL_gl_H + +# include "Enumerations.H" // for color names +# ifdef WIN32 +# include +# endif +# ifndef APIENTRY +# if defined(__CYGWIN__) +# define APIENTRY __attribute__ ((__stdcall__)) +# else +# define APIENTRY +# endif +# endif + +# ifdef __APPLE__ +# include +# else +# include +# endif + +FL_EXPORT void gl_start(); +FL_EXPORT void gl_finish(); + +FL_EXPORT void gl_color(Fl_Color); +inline void gl_color(int c) {gl_color((Fl_Color)c);} // back compatability + +FL_EXPORT void gl_rect(int x,int y,int w,int h); +inline void gl_rectf(int x,int y,int w,int h) {glRecti(x,y,x+w,y+h);} + +FL_EXPORT void gl_font(int fontid, int size); +FL_EXPORT int gl_height(); +FL_EXPORT int gl_descent(); +FL_EXPORT double gl_width(const char *); +FL_EXPORT double gl_width(const char *, int n); +FL_EXPORT double gl_width(uchar); + +FL_EXPORT void gl_draw(const char*); +FL_EXPORT void gl_draw(const char*, int n); +FL_EXPORT void gl_draw(const char*, int x, int y); +FL_EXPORT void gl_draw(const char*, float x, float y); +FL_EXPORT void gl_draw(const char*, int n, int x, int y); +FL_EXPORT void gl_draw(const char*, int n, float x, float y); +FL_EXPORT void gl_draw(const char*, int x, int y, int w, int h, Fl_Align); +FL_EXPORT void gl_measure(const char*, int& x, int& y); + +FL_EXPORT void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0); + +#endif // !FL_gl_H + +// +// End of "$Id: gl.h 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl2opengl.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl2opengl.h new file mode 100644 index 0000000..b89614e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl2opengl.h @@ -0,0 +1,35 @@ +/* gl.h + + GL to OpenGL translator. + If you include this, you might be able to port old GL programs. + There are also much better emulators available on the net. + +*/ + +#include +#include "gl_draw.H" + +inline void clear() {glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);} +#define RGBcolor(r,g,b) glColor3ub(r,g,b) +#define bgnline() glBegin(GL_LINE_STRIP) +#define bgnpolygon() glBegin(GL_POLYGON) +#define bgnclosedline() glBegin(GL_LINE_LOOP) +#define endline() glEnd() +#define endpolygon() glEnd() +#define endclosedline() glEnd() +#define v2f(v) glVertex2fv(v) +#define v2s(v) glVertex2sv(v) +#define cmov(x,y,z) glRasterPos3f(x,y,z) +#define charstr(s) gl_draw(s) +#define fmprstr(s) gl_draw(s) +typedef float Matrix[4][4]; +inline void pushmatrix() {glPushMatrix();} +inline void popmatrix() {glPopMatrix();} +inline void multmatrix(Matrix m) {glMultMatrixf((float *)m);} +inline void color(int n) {glIndexi(n);} +inline void rect(int x,int y,int r,int t) {gl_rect(x,y,r-x,t-y);} +inline void rectf(int x,int y,int r,int t) {glRectf(x,y,r+1,t+1);} +inline void recti(int x,int y,int r,int t) {gl_rect(x,y,r-x,t-y);} +inline void rectfi(int x,int y,int r,int t) {glRecti(x,y,r+1,t+1);} +inline void rects(int x,int y,int r,int t) {gl_rect(x,y,r-x,t-y);} +inline void rectfs(int x,int y,int r,int t) {glRects(x,y,r+1,t+1);} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl_draw.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl_draw.H new file mode 100644 index 0000000..09c99d0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/gl_draw.H @@ -0,0 +1,35 @@ +// +// "$Id: gl_draw.H 4288 2005-04-16 00:13:17Z mike $" +// +// OpenGL header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#include "gl.h" + +extern FL_EXPORT void gl_remove_displaylist_fonts(); + + +// +// End of "$Id: gl_draw.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/glut.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/glut.H new file mode 100644 index 0000000..f051695 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/glut.H @@ -0,0 +1,476 @@ +// +// "$Id: glut.H 4288 2005-04-16 00:13:17Z mike $" +// +// GLUT emulation header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// Emulation of GLUT using fltk. + +// GLUT is Copyright (c) Mark J. Kilgard, 1994, 1995, 1996: +// "This program is freely distributable without licensing fees and is +// provided without guarantee or warrantee expressed or implied. This +// program is -not- in the public domain." + +// Although I have copied the GLUT API, none of my code is based on +// any GLUT implementation details and is therefore covered by the LGPL. + +// FLTK does not include the GLUT drawing functions (such as +// glutWireTeapot()) or the stroke fonts but the declarations for the +// drawing functions are included here because otherwise there is no +// way to get them along with this. To use them you will have to +// link in the original GLUT library, put -lglut *after* -lfltk. + +// Commented out lines indicate parts of GLUT that are not emulated. + +#ifndef __glut_h__ +# define __glut_h__ + +# include "gl.h" +//# include + +//////////////////////////////////////////////////////////////// +// GLUT is emulated using this window class and these static variables +// (plus several more static variables hidden in glut.C): + +# include "Fl.H" +# include "Fl_Gl_Window.H" + +class FL_EXPORT Fl_Glut_Window : public Fl_Gl_Window { + void _init(); + int mouse_down; +protected: + void draw(); + void draw_overlay(); + int handle(int); +public: // so the inline functions work + int number; + int menu[3]; + void make_current(); + void (*display)(); + void (*overlaydisplay)(); + void (*reshape)(int w, int h); + void (*keyboard)(uchar, int x, int y); + void (*mouse)(int b, int state, int x, int y); + void (*motion)(int x, int y); + void (*passivemotion)(int x, int y); + void (*entry)(int); + void (*visibility)(int); + void (*special)(int, int x, int y); + Fl_Glut_Window(int w, int h, const char *); + Fl_Glut_Window(int x, int y, int w, int h, const char *); + ~Fl_Glut_Window(); +}; + +extern FL_EXPORT Fl_Glut_Window *glut_window; // the current window +extern FL_EXPORT int glut_menu; // the current menu + +// function pointers that are not per-window: +extern FL_EXPORT void (*glut_idle_function)(); +extern FL_EXPORT void (*glut_menustate_function)(int); +extern FL_EXPORT void (*glut_menustatus_function)(int,int,int); + +//////////////////////////////////////////////////////////////// + +//# define GLUT_API_VERSION This does not match any version of GLUT exactly... + +FL_EXPORT void glutInit(int *argcp, char **argv); // creates first window + +FL_EXPORT void glutInitDisplayMode(unsigned int mode); +// the FL_ symbols have the same value as the GLUT ones: +# define GLUT_RGB FL_RGB +# define GLUT_RGBA FL_RGB +# define GLUT_INDEX FL_INDEX +# define GLUT_SINGLE FL_SINGLE +# define GLUT_DOUBLE FL_DOUBLE +# define GLUT_ACCUM FL_ACCUM +# define GLUT_ALPHA FL_ALPHA +# define GLUT_DEPTH FL_DEPTH +# define GLUT_STENCIL FL_STENCIL +# define GLUT_MULTISAMPLE FL_MULTISAMPLE +# define GLUT_STEREO FL_STEREO +// # define GLUT_LUMINANCE 512 + +FL_EXPORT void glutInitWindowPosition(int x, int y); + +FL_EXPORT void glutInitWindowSize(int w, int h); + +FL_EXPORT void glutMainLoop(); + +FL_EXPORT int glutCreateWindow(char *title); + +FL_EXPORT int glutCreateSubWindow(int win, int x, int y, int width, int height); + +FL_EXPORT void glutDestroyWindow(int win); + +inline void glutPostRedisplay() {glut_window->redraw();} + +FL_EXPORT void glutSwapBuffers(); + +inline int glutGetWindow() {return glut_window->number;} + +FL_EXPORT void glutSetWindow(int win); + +inline void glutSetWindowTitle(char *t) {glut_window->label(t);} + +inline void glutSetIconTitle(char *t) {glut_window->iconlabel(t);} + +inline void glutPositionWindow(int x, int y) {glut_window->position(x,y);} + +inline void glutReshapeWindow(int w, int h) {glut_window->size(w,h);} + +inline void glutPopWindow() {glut_window->show();} + +//inline void glutPushWindow(); + +inline void glutIconifyWindow() {glut_window->iconize();} + +inline void glutShowWindow() {glut_window->show();} + +inline void glutHideWindow() {glut_window->hide();} + +inline void glutFullScreen() {glut_window->fullscreen();} + +inline void glutSetCursor(Fl_Cursor cursor) {glut_window->cursor(cursor);} +// notice that the numeric values are different than glut: +# define GLUT_CURSOR_RIGHT_ARROW ((Fl_Cursor)2) +# define GLUT_CURSOR_LEFT_ARROW ((Fl_Cursor)67) +# define GLUT_CURSOR_INFO FL_CURSOR_HAND +# define GLUT_CURSOR_DESTROY ((Fl_Cursor)45) +# define GLUT_CURSOR_HELP FL_CURSOR_HELP +# define GLUT_CURSOR_CYCLE ((Fl_Cursor)26) +# define GLUT_CURSOR_SPRAY ((Fl_Cursor)63) +# define GLUT_CURSOR_WAIT FL_CURSOR_WAIT +# define GLUT_CURSOR_TEXT FL_CURSOR_INSERT +# define GLUT_CURSOR_CROSSHAIR FL_CURSOR_CROSS +# define GLUT_CURSOR_UP_DOWN FL_CURSOR_NS +# define GLUT_CURSOR_LEFT_RIGHT FL_CURSOR_WE +# define GLUT_CURSOR_TOP_SIDE FL_CURSOR_N +# define GLUT_CURSOR_BOTTOM_SIDE FL_CURSOR_S +# define GLUT_CURSOR_LEFT_SIDE FL_CURSOR_W +# define GLUT_CURSOR_RIGHT_SIDE FL_CURSOR_E +# define GLUT_CURSOR_TOP_LEFT_CORNER FL_CURSOR_NW +# define GLUT_CURSOR_TOP_RIGHT_CORNER FL_CURSOR_NE +# define GLUT_CURSOR_BOTTOM_RIGHT_CORNER FL_CURSOR_SE +# define GLUT_CURSOR_BOTTOM_LEFT_CORNER FL_CURSOR_SW +# define GLUT_CURSOR_INHERIT FL_CURSOR_DEFAULT +# define GLUT_CURSOR_NONE FL_CURSOR_NONE +# define GLUT_CURSOR_FULL_CROSSHAIR FL_CURSOR_CROSS + +//inline void glutWarpPointer(int x, int y); + +inline void glutEstablishOverlay() {glut_window->make_overlay_current();} + +inline void glutRemoveOverlay() {glut_window->hide_overlay();} + +inline void glutUseLayer(GLenum layer) { + layer ? glut_window->make_overlay_current() : glut_window->make_current();} +enum {GLUT_NORMAL, GLUT_OVERLAY}; + +inline void glutPostOverlayRedisplay() {glut_window->redraw_overlay();} + +inline void glutShowOverlay() {glut_window->redraw_overlay();} + +inline void glutHideOverlay() {glut_window->hide_overlay();} + +FL_EXPORT int glutCreateMenu(void (*)(int)); + +FL_EXPORT void glutDestroyMenu(int menu); + +inline int glutGetMenu() {return glut_menu;} + +inline void glutSetMenu(int m) {glut_menu = m;} + +FL_EXPORT void glutAddMenuEntry(char *label, int value); + +FL_EXPORT void glutAddSubMenu(char *label, int submenu); + +FL_EXPORT void glutChangeToMenuEntry(int item, char *label, int value); + +FL_EXPORT void glutChangeToSubMenu(int item, char *label, int submenu); + +FL_EXPORT void glutRemoveMenuItem(int item); + +inline void glutAttachMenu(int b) {glut_window->menu[b] = glut_menu;} + +inline void glutDetachMenu(int b) {glut_window->menu[b] = 0;} + +inline void glutDisplayFunc(void (*f)()) {glut_window->display = f;} + +inline void glutReshapeFunc(void (*f)(int w, int h)) {glut_window->reshape=f;} + +inline void glutKeyboardFunc(void (*f)(uchar key, int x, int y)) { + glut_window->keyboard = f;} + +inline void glutMouseFunc(void (*f)(int b, int state, int x, int y)) { + glut_window->mouse = f;} +# define GLUT_LEFT_BUTTON 0 +# define GLUT_MIDDLE_BUTTON 1 +# define GLUT_RIGHT_BUTTON 2 +# define GLUT_DOWN 0 +# define GLUT_UP 1 + +inline void glutMotionFunc(void (*f)(int x, int y)) {glut_window->motion= f;} + +inline void glutPassiveMotionFunc(void (*f)(int x, int y)) { + glut_window->passivemotion= f;} + +inline void glutEntryFunc(void (*f)(int s)) {glut_window->entry = f;} +enum {GLUT_LEFT, GLUT_ENTERED}; + +inline void glutVisibilityFunc(void (*f)(int s)) {glut_window->visibility=f;} +enum {GLUT_NOT_VISIBLE, GLUT_VISIBLE}; + +inline void glutIdleFunc(void (*f)()) {Fl::set_idle(f);} + +// Warning: this cast may not work on all machines: +inline void glutTimerFunc(unsigned int msec, void (*f)(int), int value) { + Fl::add_timeout(msec*.001, (void (*)(void *))f, (void *)value); +} + +inline void glutMenuStateFunc(void (*f)(int state)) { + glut_menustate_function = f;} + +inline void glutMenuStatusFunc(void (*f)(int status, int x, int y)) { + glut_menustatus_function = f;} +enum {GLUT_MENU_NOT_IN_USE, GLUT_MENU_IN_USE}; + +inline void glutSpecialFunc(void (*f)(int key, int x, int y)) { + glut_window->special = f;} +# define GLUT_KEY_F1 1 +# define GLUT_KEY_F2 2 +# define GLUT_KEY_F3 3 +# define GLUT_KEY_F4 4 +# define GLUT_KEY_F5 5 +# define GLUT_KEY_F6 6 +# define GLUT_KEY_F7 7 +# define GLUT_KEY_F8 8 +# define GLUT_KEY_F9 9 +# define GLUT_KEY_F10 10 +# define GLUT_KEY_F11 11 +# define GLUT_KEY_F12 12 +// WARNING: Different values than GLUT uses: +# define GLUT_KEY_LEFT FL_Left +# define GLUT_KEY_UP FL_Up +# define GLUT_KEY_RIGHT FL_Right +# define GLUT_KEY_DOWN FL_Down +# define GLUT_KEY_PAGE_UP FL_Page_Up +# define GLUT_KEY_PAGE_DOWN FL_Page_Down +# define GLUT_KEY_HOME FL_Home +# define GLUT_KEY_END FL_End +# define GLUT_KEY_INSERT FL_Insert + +//inline void glutSpaceballMotionFunc(void (*)(int x, int y, int z)); + +//inline void glutSpaceballRotateFunc(void (*)(int x, int y, int z)); + +//inline void glutSpaceballButtonFunc(void (*)(int button, int state)); + +//inline void glutButtonBoxFunc(void (*)(int button, int state)); + +//inline void glutDialsFunc(void (*)(int dial, int value)); + +//inline void glutTabletMotionFunc(void (*)(int x, int y)); + +//inline void glutTabletButtonFunc(void (*)(int button, int state, int x, int y)); + +inline void glutOverlayDisplayFunc(void (*f)()) { + glut_window->overlaydisplay = f;} + +//inline void glutWindowStatusFunc(void (*)(int state)); +//enum {GLUT_HIDDEN, GLUT_FULLY_RETAINED, GLUT_PARTIALLY_RETAINED, +// GLUT_FULLY_COVERED}; + +//inline void glutSetColor(int, GLfloat red, GLfloat green, GLfloat blue); + +//inline GLfloat glutGetColor(int ndx, int component); +//#define GLUT_RED 0 +//#define GLUT_GREEN 1 +//#define GLUT_BLUE 2 + +//inline void glutCopyColormap(int win); + +// Warning: values are changed from GLUT! +// Also relies on the GL_ symbols having values greater than 100 +int glutGet(GLenum type); +enum { + GLUT_RETURN_ZERO = 0, + GLUT_WINDOW_X, + GLUT_WINDOW_Y, + GLUT_WINDOW_WIDTH, + GLUT_WINDOW_HEIGHT, + GLUT_WINDOW_PARENT, +//GLUT_WINDOW_NUM_CHILDREN, +//GLUT_WINDOW_CURSOR, + GLUT_SCREEN_WIDTH, + GLUT_SCREEN_HEIGHT, +//GLUT_SCREEN_WIDTH_MM, +//GLUT_SCREEN_HEIGHT_MM, + GLUT_MENU_NUM_ITEMS, + GLUT_DISPLAY_MODE_POSSIBLE, + GLUT_INIT_WINDOW_X, + GLUT_INIT_WINDOW_Y, + GLUT_INIT_WINDOW_WIDTH, + GLUT_INIT_WINDOW_HEIGHT, + GLUT_INIT_DISPLAY_MODE, +//GLUT_ELAPSED_TIME, + GLUT_WINDOW_BUFFER_SIZE +}; + +# define GLUT_WINDOW_STENCIL_SIZE GL_STENCIL_BITS +# define GLUT_WINDOW_DEPTH_SIZE GL_DEPTH_BITS +# define GLUT_WINDOW_RED_SIZE GL_RED_BITS +# define GLUT_WINDOW_GREEN_SIZE GL_GREEN_BITS +# define GLUT_WINDOW_BLUE_SIZE GL_BLUE_BITS +# define GLUT_WINDOW_ALPHA_SIZE GL_ALPHA_BITS +# define GLUT_WINDOW_ACCUM_RED_SIZE GL_ACCUM_RED_BITS +# define GLUT_WINDOW_ACCUM_GREEN_SIZE GL_ACCUM_GREEN_BITS +# define GLUT_WINDOW_ACCUM_BLUE_SIZE GL_ACCUM_BLUE_BITS +# define GLUT_WINDOW_ACCUM_ALPHA_SIZE GL_ACCUM_ALPHA_BITS +# define GLUT_WINDOW_DOUBLEBUFFER GL_DOUBLEBUFFER +# define GLUT_WINDOW_RGBA GL_RGBA +# define GLUT_WINDOW_COLORMAP_SIZE GL_INDEX_BITS +# ifdef GL_SAMPLES_SGIS +# define GLUT_WINDOW_NUM_SAMPLES GL_SAMPLES_SGIS +# else +# define GLUT_WINDOW_NUM_SAMPLES GLUT_RETURN_ZERO +# endif +# define GLUT_WINDOW_STEREO GL_STEREO + +//int glutDeviceGet(GLenum type); +//#define GLUT_HAS_KEYBOARD 600 +//#define GLUT_HAS_MOUSE 601 +//#define GLUT_HAS_SPACEBALL 602 +//#define GLUT_HAS_DIAL_AND_BUTTON_BOX 603 +//#define GLUT_HAS_TABLET 604 +//#define GLUT_NUM_MOUSE_BUTTONS 605 +//#define GLUT_NUM_SPACEBALL_BUTTONS 606 +//#define GLUT_NUM_BUTTON_BOX_BUTTONS 607 +//#define GLUT_NUM_DIALS 608 +//#define GLUT_NUM_TABLET_BUTTONS 609 + +// WARNING: these values are different than GLUT uses: +# define GLUT_ACTIVE_SHIFT FL_SHIFT +# define GLUT_ACTIVE_CTRL FL_CTRL +# define GLUT_ACTIVE_ALT FL_ALT +inline int glutGetModifiers() {return Fl::event_state() & (GLUT_ACTIVE_SHIFT | GLUT_ACTIVE_CTRL | GLUT_ACTIVE_ALT);} + +int glutLayerGet(GLenum); +# define GLUT_OVERLAY_POSSIBLE 800 +//#define GLUT_LAYER_IN_USE 801 +//#define GLUT_HAS_OVERLAY 802 +# define GLUT_TRANSPARENT_INDEX 803 +# define GLUT_NORMAL_DAMAGED 804 +# define GLUT_OVERLAY_DAMAGED 805 + +//inline int glutVideoResizeGet(GLenum param); +//#define GLUT_VIDEO_RESIZE_POSSIBLE 900 +//#define GLUT_VIDEO_RESIZE_IN_USE 901 +//#define GLUT_VIDEO_RESIZE_X_DELTA 902 +//#define GLUT_VIDEO_RESIZE_Y_DELTA 903 +//#define GLUT_VIDEO_RESIZE_WIDTH_DELTA 904 +//#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 905 +//#define GLUT_VIDEO_RESIZE_X 906 +//#define GLUT_VIDEO_RESIZE_Y 907 +//#define GLUT_VIDEO_RESIZE_WIDTH 908 +//#define GLUT_VIDEO_RESIZE_HEIGHT 909 + +//inline void glutSetupVideoResizing(); + +//inline void glutStopVideoResizing(); + +//inline void glutVideoResize(int x, int y, int width, int height); + +//inline void glutVideoPan(int x, int y, int width, int height); + +//////////////////////////////////////////////////////////////// +// Emulated GLUT drawing functions: + +// Font argument must be a void* for compatability, so... +extern FL_EXPORT struct Glut_Bitmap_Font {uchar font; int size;} + glutBitmap9By15, glutBitmap8By13, glutBitmapTimesRoman10, + glutBitmapTimesRoman24, glutBitmapHelvetica10, glutBitmapHelvetica12, + glutBitmapHelvetica18; +# define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15) +# define GLUT_BITMAP_8_BY_13 (&glutBitmap8By13) +# define GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10) +# define GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24) +# define GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10) +# define GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12) +# define GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18) + +FL_EXPORT void glutBitmapCharacter(void *font, int character); +FL_EXPORT int glutBitmapWidth(void *font, int character); + +//////////////////////////////////////////////////////////////// +// GLUT drawing functions. These are NOT emulated but you can +// link in the glut library to get them. This assumes the object +// files in GLUT remain as they currently are so that there are +// not symbol conflicts with the above. + +extern "C" { + +extern int APIENTRY glutExtensionSupported(char *name); + +/* Stroke font constants (use these in GLUT program). */ +# ifdef WIN32 +# define GLUT_STROKE_ROMAN ((void*)0) +# define GLUT_STROKE_MONO_ROMAN ((void*)1) +# else +extern void *glutStrokeRoman; +# define GLUT_STROKE_ROMAN (&glutStrokeRoman) +extern void *glutStrokeMonoRoman; +# define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman) +# endif + +/* GLUT font sub-API */ +extern void APIENTRY glutStrokeCharacter(void *font, int character); +extern int APIENTRY glutStrokeWidth(void *font, int character); + +/* GLUT pre-built models sub-API */ +extern void APIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks); +extern void APIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks); +extern void APIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks); +extern void APIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks); +extern void APIENTRY glutWireCube(GLdouble size); +extern void APIENTRY glutSolidCube(GLdouble size); +extern void APIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings); +extern void APIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings); +extern void APIENTRY glutWireDodecahedron(); +extern void APIENTRY glutSolidDodecahedron(); +extern void APIENTRY glutWireTeapot(GLdouble size); +extern void APIENTRY glutSolidTeapot(GLdouble size); +extern void APIENTRY glutWireOctahedron(); +extern void APIENTRY glutSolidOctahedron(); +extern void APIENTRY glutWireTetrahedron(); +extern void APIENTRY glutSolidTetrahedron(); +extern void APIENTRY glutWireIcosahedron(); +extern void APIENTRY glutSolidIcosahedron(); + +} + +#endif /* !__glut_h__ */ + +// +// End of "$Id: glut.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.H new file mode 100644 index 0000000..11ee29a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.H @@ -0,0 +1,135 @@ +// +// "$Id: mac.H 4288 2005-04-16 00:13:17Z mike $" +// +// Mac header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// Do not directly include this file, instead use . It will +// include this file if "__APPLE__" is defined. This is to encourage +// portability of even the system-specific code... + +#ifndef Fl_X_H +# error "Never use directly; include instead." +#endif // !Fl_X_H + +// Standard MacOS Carbon API includes... +#include + +// Now make some fixes to the headers... +#undef check // Dunno where this comes from... + +// Some random X equivalents +typedef WindowPtr Window; +struct XPoint { int x, y; }; +struct XRectangle {int x, y, width, height;}; +typedef RgnHandle Fl_Region; +void fl_clip_region(Fl_Region); +inline Fl_Region XRectangleRegion(int x, int y, int w, int h) { + Fl_Region R = NewRgn(); + SetRectRgn(R, x, y, x+w, y+h); + return R; +} +inline void XDestroyRegion(Fl_Region r) { + DisposeRgn(r); +} + +# define XDestroyWindow(a,b) DisposeWindow(b) +# define XMapWindow(a,b) ShowWindow(b) +# define XUnmapWindow(a,b) HideWindow(b) + +# include "Fl_Window.H" + +// This object contains all mac-specific stuff about a window: +// WARNING: this object is highly subject to change! +class Fl_X +{ +public: + Window xid; // Mac WindowPtr + GWorldPtr other_xid; // pointer for offscreen bitmaps (doublebuffer) + Fl_Window *w; // FLTK window for + Fl_Region region; + Fl_Region subRegion; // region for this specific subwindow + Fl_X *next; // linked tree to support subwindows + Fl_X *xidChildren, *xidNext; // more subwindow tree + int wait_for_expose; + CursHandle cursor; + static Fl_X* first; + static Fl_X* i(const Fl_Window* w) {return w->i;} + static int fake_X_wm(const Fl_Window*,int&,int&,int&,int&,int&); + static void make(Fl_Window*); + void flush(); + // Quartz additions: + CGContextRef gc; // graphics context (NULL when using QD) + static ATSUTextLayout atsu_layout; // windows share a global font + static ATSUStyle atsu_style; + static void q_fill_context(); // fill a Quartz context with current FLTK state + static void q_clear_clipping(); // remove all clipping from a Quartz context + static void q_release_context(Fl_X *x=0); // free all resources associated with fl_gc + static void q_begin_image(CGRect&, int x, int y, int w, int h); + static void q_end_image(); +}; + +inline Window fl_xid(const Fl_Window*w) +{ + return Fl_X::i(w)->xid; +} + +extern CursHandle fl_default_cursor; + +extern struct Fl_XMap { + RGBColor rgb; + ulong pen; +} *fl_current_xmap; + +extern FL_EXPORT void *fl_display; +extern FL_EXPORT Window fl_window; +extern FL_EXPORT CGContextRef fl_gc; +extern FL_EXPORT Handle fl_system_menu; +extern FL_EXPORT class Fl_Sys_Menu_Bar *fl_sys_menu_bar; + +typedef GWorldPtr Fl_Offscreen; + +extern Fl_Offscreen fl_create_offscreen(int w, int h); +extern void fl_copy_offscreen(int x,int y,int w,int h, Fl_Offscreen gWorld, int srcx,int srcy); +extern void fl_delete_offscreen(Fl_Offscreen gWorld); +extern void fl_begin_offscreen(Fl_Offscreen gWorld); +extern void fl_end_offscreen(); + +typedef GWorldPtr Fl_Bitmask; // Carbon requires a 1-bit GWorld instead of a BitMap + +extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data); +extern FL_EXPORT Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data); +extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm); + +extern void fl_open_display(); + +// Register a function for opening files via the finder... +extern void fl_open_callback(void (*cb)(const char *)); + +extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); + +// +// End of "$Id: mac.H 4288 2005-04-16 00:13:17Z mike $". +// + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.r b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.r new file mode 100644 index 0000000..3d71f2e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/mac.r @@ -0,0 +1,13 @@ +data 'MBAR' (128) { + $"0001 0080" /* ...€ */ +}; + +data 'MENU' (128, "Apple") { + $"0080 0000 0000 0000 0000 FFFF FFFB 0114" /* .€........ÿÿÿû.. */ + $"0A41 626F 7574 2046 4C54 4B00 0000 0001" /* ÂAbout FLTK..... */ + $"2D00 0000 0000" /* -..... */ +}; + +data 'carb' (0) { +}; + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/math.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/math.h new file mode 100644 index 0000000..b20af65 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/math.h @@ -0,0 +1,72 @@ +// +// "$Id: math.h 4288 2005-04-16 00:13:17Z mike $" +// +// Math header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +#ifndef fl_math_h +# define fl_math_h + +// Apple's ProjectBuilder has the nasty habit of including recursively +// down the file tree. To avoid re-including we must +// directly include the systems math file. (Plus, I could not find a +// predefined macro for ProjectBuilder builds, so we have to define it +// in the project) +# if defined(__APPLE__) && defined(__PROJECTBUILDER__) +# include "/usr/include/math.h" +# else +# include +# endif + +# ifdef __EMX__ +# include +# endif + + +# ifndef M_PI +# define M_PI 3.14159265358979323846 +# define M_PI_2 1.57079632679489661923 +# define M_PI_4 0.78539816339744830962 +# define M_1_PI 0.31830988618379067154 +# define M_2_PI 0.63661977236758134308 +# endif // !M_PI + +# ifndef M_SQRT2 +# define M_SQRT2 1.41421356237309504880 +# define M_SQRT1_2 0.70710678118654752440 +# endif // !M_SQRT2 + +# if (defined(WIN32) || defined(CRAY)) && !defined(__MINGW32__) && !defined(__MWERKS__) + +inline double rint(double v) {return floor(v+.5);} +inline double copysign(double a, double b) {return b<0 ? -a : a;} + +# endif // (WIN32 || CRAY) && !__MINGW32__ && !__MWERKS__ + +#endif // !fl_math_h + + +// +// End of "$Id: math.h 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/win32.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/win32.H new file mode 100644 index 0000000..439c181 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/win32.H @@ -0,0 +1,151 @@ +// +// "$Id: win32.H 4569 2005-09-15 07:41:17Z matt $" +// +// WIN32 header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// Do not directly include this file, instead use . It will +// include this file if WIN32 is defined. This is to encourage +// portability of even the system-specific code... + +#ifndef Fl_X_H +# error "Never use directly; include instead." +#endif // !Fl_X_H + +#include +// In some of the distributions, the gcc header files are missing some stuff: +#ifndef LPMINMAXINFO +#define LPMINMAXINFO MINMAXINFO* +#endif +#ifndef VK_LWIN +#define VK_LWIN 0x5B +#define VK_RWIN 0x5C +#define VK_APPS 0x5D +#endif + +// some random X equivalents +typedef HWND Window; +typedef POINT XPoint; +struct XRectangle {int x, y, width, height;}; +typedef HRGN Fl_Region; +FL_EXPORT void fl_clip_region(Fl_Region); +inline Fl_Region XRectangleRegion(int x, int y, int w, int h) { + return CreateRectRgn(x,y,x+w,y+h); +} +inline void XDestroyRegion(Fl_Region r) {DeleteObject(r);} +inline void XClipBox(Fl_Region r,XRectangle* rect) { + RECT win_rect; GetRgnBox(r,&win_rect); + rect->x=win_rect.left; + rect->y=win_rect.top; + rect->width=win_rect.right-win_rect.left; + rect->height=win_rect.bottom-win_rect.top; +} +#define XDestroyWindow(a,b) DestroyWindow(b) +#define XMapWindow(a,b) ShowWindow(b, SW_RESTORE) +#define XUnmapWindow(a,b) ShowWindow(b, SW_HIDE) + +#include "Fl_Window.H" +// this object contains all win32-specific stuff about a window: +// Warning: this object is highly subject to change! +class FL_EXPORT Fl_X { +public: + // member variables - add new variables only at the end of this block + Window xid; + HBITMAP other_xid; // for double-buffered windows + Fl_Window* w; + Fl_Region region; + Fl_X *next; + int wait_for_expose; + HDC private_dc; // used for OpenGL + HCURSOR cursor; + HDC saved_hdc; // saves the handle of the DC currently loaded + // static variables, static functions and member functions + static Fl_X* first; + static Fl_X* i(const Fl_Window* w) {return w->i;} + static int fake_X_wm(const Fl_Window* w,int &X, int &Y, + int &bt,int &bx,int &by); + void setwindow(Fl_Window* wi) {w=wi; wi->i=this;} + void flush() {w->flush();} + void set_minmax(LPMINMAXINFO minmax); + void mapraise(); + static Fl_X* make(Fl_Window*); +}; +extern FL_EXPORT HCURSOR fl_default_cursor; +extern FL_EXPORT UINT fl_wake_msg; +inline Window fl_xid(const Fl_Window*w) {Fl_X *temp = Fl_X::i(w); return temp ? temp->xid : 0;} +FL_EXPORT Fl_Window* fl_find(Window xid); +extern FL_EXPORT char fl_override_redirect; // hack into Fl_Window::make_xid() +extern FL_EXPORT int fl_background_pixel; // hack into Fl_Window::make_xid() + +// most recent fl_color() or fl_rgbcolor() points at one of these: +extern FL_EXPORT struct Fl_XMap { + COLORREF rgb; // this should be the type the RGB() macro returns + HPEN pen; // pen, 0 if none created yet + int brush; // ref to solid brush, 0 if none created yet +} *fl_current_xmap; +inline COLORREF fl_RGB() {return fl_current_xmap->rgb;} +inline HPEN fl_pen() {return fl_current_xmap->pen;} +FL_EXPORT HBRUSH fl_brush(); // allocates a brush if necessary +FL_EXPORT HBRUSH fl_brush_action(int); // now does the real work + +extern FL_EXPORT HINSTANCE fl_display; +extern FL_EXPORT Window fl_window; +extern FL_EXPORT HDC fl_gc; +extern FL_EXPORT HPALETTE fl_palette; // non-zero only on 8-bit displays! +extern FL_EXPORT HDC fl_GetDC(Window); +extern FL_EXPORT MSG fl_msg; +extern FL_EXPORT void fl_release_dc(HWND w, HDC dc); +extern FL_EXPORT void fl_save_dc( HWND w, HDC dc); + +// off-screen pixmaps: create, destroy, draw into, copy to window +typedef HBITMAP Fl_Offscreen; +#define fl_create_offscreen(w, h) CreateCompatibleBitmap(fl_gc, w, h) + +extern FL_EXPORT HDC fl_makeDC(HBITMAP); + +#define fl_begin_offscreen(b) \ + HDC _sgc=fl_gc; Window _sw=fl_window; \ + fl_gc=fl_makeDC(b); int _savedc = SaveDC(fl_gc); fl_window=(HWND)b; fl_push_no_clip() + +#define fl_end_offscreen() \ + fl_pop_clip(); RestoreDC(fl_gc, _savedc); DeleteDC(fl_gc); fl_window=_sw; fl_gc = _sgc + +FL_EXPORT void fl_copy_offscreen(int x,int y,int w,int h,HBITMAP pixmap,int srcx,int srcy); +#define fl_delete_offscreen(bitmap) DeleteObject(bitmap); + +// Bitmap masks +typedef HBITMAP Fl_Bitmask; + +extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data); +extern FL_EXPORT Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data); +extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm); + +// Dummy function to register a function for opening files via the window manager... +inline void fl_open_callback(void (*)(const char *)) {} + +extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); + +// +// End of "$Id: win32.H 4569 2005-09-15 07:41:17Z matt $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/x.H b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/x.H new file mode 100644 index 0000000..91642c2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/FL/x.H @@ -0,0 +1,147 @@ +// +// "$Id: x.H 4288 2005-04-16 00:13:17Z mike $" +// +// X11 header file for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2005 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php +// + +// These are internal fltk symbols that are necessary or useful for +// calling Xlib. You should include this file if (and ONLY if) you +// need to call Xlib directly. These symbols may not exist on non-X +// systems. + +#ifndef Fl_X_H +# define Fl_X_H + +# include "Enumerations.H" + +# ifdef WIN32 +# include "win32.H" +# elif defined(__APPLE__) +# include "mac.H" +# else +# if defined(_ABIN32) || defined(_ABI64) // fix for broken SGI Irix X .h files +# pragma set woff 3322 +# endif +# include +# include +# if defined(_ABIN32) || defined(_ABI64) +# pragma reset woff 3322 +# endif +# include +# include "Fl_Window.H" + +// Mirror X definition of Region to Fl_Region, for portability... +typedef Region Fl_Region; + +FL_EXPORT void fl_open_display(); +FL_EXPORT void fl_open_display(Display*); +FL_EXPORT void fl_close_display(); + +// constant info about the X server connection: +extern FL_EXPORT Display *fl_display; +extern FL_EXPORT Window fl_message_window; +extern FL_EXPORT int fl_screen; +extern FL_EXPORT XVisualInfo *fl_visual; +extern FL_EXPORT Colormap fl_colormap; + +// drawing functions: +extern FL_EXPORT GC fl_gc; +extern FL_EXPORT Window fl_window; +extern FL_EXPORT XFontStruct* fl_xfont; +FL_EXPORT ulong fl_xpixel(Fl_Color i); +FL_EXPORT ulong fl_xpixel(uchar r, uchar g, uchar b); +FL_EXPORT void fl_clip_region(Fl_Region); +FL_EXPORT Fl_Region fl_clip_region(); +FL_EXPORT Fl_Region XRectangleRegion(int x, int y, int w, int h); // in fl_rect.cxx + +// feed events into fltk: +FL_EXPORT int fl_handle(const XEvent&); + +// you can use these in Fl::add_handler() to look at events: +extern FL_EXPORT const XEvent* fl_xevent; +extern FL_EXPORT ulong fl_event_time; + +// off-screen pixmaps: create, destroy, draw into, copy to window: +typedef ulong Fl_Offscreen; +#define fl_create_offscreen(w,h) \ + XCreatePixmap(fl_display, fl_window, w, h, fl_visual->depth) +// begin/end are macros that save the old state in local variables: +# define fl_begin_offscreen(pixmap) \ + Window _sw=fl_window; fl_window=pixmap; fl_push_no_clip() +# define fl_end_offscreen() \ + fl_pop_clip(); fl_window = _sw + +# define fl_copy_offscreen(x,y,w,h,pixmap,srcx,srcy) \ + XCopyArea(fl_display, pixmap, fl_window, fl_gc, srcx, srcy, w, h, x, y) +# define fl_delete_offscreen(pixmap) XFreePixmap(fl_display, pixmap) + +// Bitmap masks +typedef ulong Fl_Bitmask; + +extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data); +extern FL_EXPORT Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data); +extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm); + +// this object contains all X-specific stuff about a window: +// Warning: this object is highly subject to change! It's definition +// is only here so that fl_xid can be declared inline: +class FL_EXPORT Fl_X { +public: + Window xid; + Window other_xid; + Fl_Window *w; + Fl_Region region; + Fl_X *next; + char wait_for_expose; + char backbuffer_bad; // used for XDBE + static Fl_X* first; + static Fl_X* i(const Fl_Window* wi) {return wi->i;} + void setwindow(Fl_Window* wi) {w=wi; wi->i=this;} + void sendxjunk(); + static void make_xid(Fl_Window*,XVisualInfo* =fl_visual, Colormap=fl_colormap); + static Fl_X* set_xid(Fl_Window*, Window); + // kludges to get around protection: + void flush() {w->flush();} + static void x(Fl_Window* wi, int X) {wi->x(X);} + static void y(Fl_Window* wi, int Y) {wi->y(Y);} +}; + +// convert xid <-> Fl_Window: +inline Window fl_xid(const Fl_Window*w) {return Fl_X::i(w)->xid;} +FL_EXPORT Fl_Window* fl_find(Window xid); + +extern FL_EXPORT char fl_override_redirect; // hack into Fl_X::make_xid() +extern FL_EXPORT int fl_background_pixel; // hack into Fl_X::make_xid() + +// Dummy function to register a function for opening files via the window manager... +inline void fl_open_callback(void (*)(const char *)) {} + +extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); + +# endif +#endif + +// +// End of "$Id: x.H 4288 2005-04-16 00:13:17Z mike $". +// diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/fltk.lib b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/fltk.lib new file mode 100644 index 0000000..1a83edd Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/fltk.lib differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltklinux.a b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltklinux.a new file mode 100644 index 0000000..84018ac Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltklinux.a differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltkmacosx.a b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltkmacosx.a new file mode 100644 index 0000000..2a834c6 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/libfltkmacosx.a differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/whats_this.txt b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/whats_this.txt new file mode 100644 index 0000000..52dfad9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/3rdparty/whats_this.txt @@ -0,0 +1,3 @@ +This folder contains a precompiled static version of FLTK, a library used by this irrklang example to display user interface. +FLTK version 1.1.7 has been used for this example, it can be downloaded from http://www.fltk.org. +FLTK is licensed under the LGPL license with some exceptions. \ No newline at end of file diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/Makefile b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/Makefile new file mode 100644 index 0000000..f45c13f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/Makefile @@ -0,0 +1,16 @@ +# makefile for linux +# if you get an error like this: +# /usr/bin/ld: cannot find -lX11 +# then install the libx11-dev lib using something like: +# sudo apt-get install libx11-dev +# and for the 32 bit version, use +# sudo apt-get install libx11-dev:i386 + +CPP = g++ +OPTS = -I"../../include" -I"3rdparty" -L"/usr/lib" -L"3rdparty" -DLINUX -lfltklinux -lX11 ../../bin/linux-gcc/libIrrKlang.so -pthread + +all: + $(CPP) main.cpp window.cxx -m32 -o player $(OPTS) + +clean: + rm player diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.rc b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.rc new file mode 100644 index 0000000..d554a4b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.rc @@ -0,0 +1,84 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + +///////////////////////////////////////////////////////////////////////////// +// German (Austria) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEA) +#ifdef _WIN32 +LANGUAGE LANG_GERMAN, SUBLANG_GERMAN_AUSTRIAN +#pragma code_page(1252) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "ambieraicon.ico" +#endif // German (Austria) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.sln b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.sln new file mode 100644 index 0000000..d6749ba --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MusicPlayer", "MusicPlayer.vcproj", "{93E25172-1451-4F84-A8C8-9E45A3173557}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {93E25172-1451-4F84-A8C8-9E45A3173557}.Debug|Win32.ActiveCfg = Debug|Win32 + {93E25172-1451-4F84-A8C8-9E45A3173557}.Debug|Win32.Build.0 = Debug|Win32 + {93E25172-1451-4F84-A8C8-9E45A3173557}.Release|Win32.ActiveCfg = Release|Win32 + {93E25172-1451-4F84-A8C8-9E45A3173557}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.vcproj b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.vcproj new file mode 100644 index 0000000..8f36ed2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.vcproj @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.xcodeproj/project.pbxproj b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f9f436d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/MusicPlayer.xcodeproj/project.pbxproj @@ -0,0 +1,288 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CDAB100C51F05E003DA087 /* main.cpp */; }; + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CDAB120C51F082003DA087 /* libirrklang.dylib */; }; + 23F197970CDC54B3000CD932 /* main.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23F197940CDC54B3000CD932 /* main.h */; }; + 23F197980CDC54B3000CD932 /* window.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 23F197950CDC54B3000CD932 /* window.cxx */; }; + 23F197990CDC54B3000CD932 /* window.f in Sources */ = {isa = PBXBuildFile; fileRef = 23F197960CDC54B3000CD932 /* window.f */; }; + 23F1979E0CDC54E2000CD932 /* window.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23F1979D0CDC54E2000CD932 /* window.h */; }; + 23F19B020CDC5988000CD932 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23F19B010CDC5988000CD932 /* Carbon.framework */; }; + 23F19B070CDC59CD000CD932 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23F19B060CDC59CD000CD932 /* CoreFoundation.framework */; }; + 23F19B610CDC5F02000CD932 /* libfltkmacosx.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 23F19B600CDC5F02000CD932 /* libfltkmacosx.a */; }; + 23F19B750CDC61D6000CD932 /* mac.r in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23F19B740CDC61D6000CD932 /* mac.r */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + 23F197970CDC54B3000CD932 /* main.h in CopyFiles */, + 23F1979E0CDC54E2000CD932 /* window.h in CopyFiles */, + 23F19B750CDC61D6000CD932 /* mac.r in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 23CDAB100C51F05E003DA087 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; + 23CDAB120C51F082003DA087 /* libirrklang.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libirrklang.dylib; path = "../../bin/macosx-gcc/libirrklang.dylib"; sourceTree = SOURCE_ROOT; }; + 23F197940CDC54B3000CD932 /* main.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = main.h; sourceTree = ""; }; + 23F197950CDC54B3000CD932 /* window.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = window.cxx; sourceTree = ""; }; + 23F197960CDC54B3000CD932 /* window.f */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.fortran; path = window.f; sourceTree = ""; }; + 23F1979D0CDC54E2000CD932 /* window.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = window.h; sourceTree = ""; }; + 23F19B010CDC5988000CD932 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = ""; }; + 23F19B060CDC59CD000CD932 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; }; + 23F19B600CDC5F02000CD932 /* libfltkmacosx.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libfltkmacosx.a; path = 3rdparty/libfltkmacosx.a; sourceTree = ""; }; + 23F19B740CDC61D6000CD932 /* mac.r */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.rez; name = mac.r; path = 3rdparty/FL/mac.r; sourceTree = ""; }; + 8DD76F6C0486A84900D96B5E /* MusicPlayer */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MusicPlayer; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB130C51F082003DA087 /* libirrklang.dylib in Frameworks */, + 23F19B020CDC5988000CD932 /* Carbon.framework in Frameworks */, + 23F19B070CDC59CD000CD932 /* CoreFoundation.framework in Frameworks */, + 23F19B610CDC5F02000CD932 /* libfltkmacosx.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* macosx_xcode */ = { + isa = PBXGroup; + children = ( + 23F19B600CDC5F02000CD932 /* libfltkmacosx.a */, + 23F19B060CDC59CD000CD932 /* CoreFoundation.framework */, + 23F19B010CDC5988000CD932 /* Carbon.framework */, + 23CDAB120C51F082003DA087 /* libirrklang.dylib */, + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = macosx_xcode; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 23F19B740CDC61D6000CD932 /* mac.r */, + 23F1979D0CDC54E2000CD932 /* window.h */, + 23F197940CDC54B3000CD932 /* main.h */, + 23F197950CDC54B3000CD932 /* window.cxx */, + 23F197960CDC54B3000CD932 /* window.f */, + 23CDAB100C51F05E003DA087 /* main.cpp */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* MusicPlayer */, + ); + name = Products; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* macosx_xcode */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + 23CDAAE90C51E99B003DA087 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = macosx_xcode; + productInstallPath = "$(HOME)/bin"; + productName = macosx_xcode; + productReference = 8DD76F6C0486A84900D96B5E /* MusicPlayer */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "MusicPlayer" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* macosx_xcode */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* macosx_xcode */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23CDAAE90C51E99B003DA087 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME)", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME\"\n/Developer/Tools/Rez -t APPL -o \"$TARGET_BUILD_DIR/$PRODUCT_NAME\" 3rdparty/FL/mac.r"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 23CDAB110C51F05E003DA087 /* main.cpp in Sources */, + 23F197980CDC54B3000CD932 /* window.cxx in Sources */, + 23F197990CDC54B3000CD932 /* window.f in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_4)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/3rdparty\""; + LIBRARY_SEARCH_PATHS_QUOTED_4 = "\"$(SRCROOT)/../../../fltk-1.1.7/lib\""; + PRODUCT_NAME = MusicPlayer; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = i386; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_4)", + ); + LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/../../bin/macosx-gcc\""; + LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/3rdparty\""; + LIBRARY_SEARCH_PATHS_QUOTED_4 = "\"$(SRCROOT)/../../../fltk-1.1.7/lib\""; + PRODUCT_NAME = MusicPlayer; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../include; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CONFIGURATION_BUILD_DIR = "../../bin/macosx-gcc"; + GCC_PREPROCESSOR_DEFINITIONS = "MACOSX=1"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../include, + 3rdparty, + ); + LIBRARY_SEARCH_PATHS = 3rdparty; + OBJROOT = "../../bin/macosx-gcc"; + PREBINDING = NO; + PRELINK_LIBS = ""; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "macosx_xcode" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "MusicPlayer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/ambieraicon.ico b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/ambieraicon.ico new file mode 100644 index 0000000..da8542f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/ambieraicon.ico differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.cpp b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.cpp new file mode 100644 index 0000000..4aa526c --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.cpp @@ -0,0 +1,336 @@ +// This program is an example application for the irrKlang audio library. +// It is copyright 2007-2014 by N.Gebhardt, Ambiera and licensed under the LGPL2 license. +// For more information, please see www.ambiera.com/irrklang. + +#include "main.h" +#include "window.h" +#include +#include +#include + +using namespace irrklang; + + +// global variables +ISoundEngine* SoundEngine = 0; +ISound* CurrentPlayingSound = 0; +bool LoopSound = true; +char LastPlayedSoundFile[FL_PATH_MAX]; +char lastDisplayedPlayStatus = -1; +bool PlayListVisible = true; + + +// our main() function, see main.h +IRRKLANG_MUSIC_PLAYER_APPENTRY +{ + // create irrKlang sound device + + SoundEngine = createIrrKlangDevice(); + + if (!SoundEngine) + { + fl_alert("Could not create audio device\n"); + return 0; + } + + // create window + + Fl_Double_Window* wnd = createPlayerWindow(); + + wnd->label("irrKlang Player"); + MusicTitleDisplay->value("nothing selected to play"); + + LoopButton->value(LoopSound ? 1 : 0); + + changeDir((char*)"../../media"); // try to select irrKlang media directory by default + + FileBrowser->filter("{*.mp3|*.ogg|*.wav|*.flac|*.mod|*.s3m|*.it|*.xm}"); + FileBrowser->type(FL_SELECT_BROWSER); + + PlayPositionSlider->type(FL_HOR_NICE_SLIDER); + PlayPositionSlider->bounds(0, 1); + PlayPositionSlider->deactivate(); + + SpeedSlider->type(FL_HOR_NICE_SLIDER); + VolumeSlider->type(FL_HOR_NICE_SLIDER); + PanSlider->type(FL_HOR_NICE_SLIDER); + + FileBrowser->load("."); + + Fl_Tooltip::delay(0.2f); + Fl_Tooltip::size(10); + + + // initialize timer and other stuff + + Fl::add_timeout(updateTimerSpeed, UpdateTimerCallback); + LastPlayedSoundFile[0] = 0x0; + + + // show and run player + + wnd->show(); + int ret = Fl::run(); + + + // that's it, clean up and exit + + if (CurrentPlayingSound) + CurrentPlayingSound->drop(); + CurrentPlayingSound = 0; + + SoundEngine->drop(); + + delete MainWindow; + + return ret; +} + + +void UpdateTimerCallback(void*) +{ + if (CurrentPlayingSound) + { + // update play position + + ik_u32 pos = CurrentPlayingSound->getPlayPosition(); + if (pos == -1) + pos = 0; + + PlayPositionSlider->value(pos * timeDisplayFactor); + } + + // update play button + + char valueToSet = (!CurrentPlayingSound || CurrentPlayingSound->isFinished()) ? 0 : 1; + if (lastDisplayedPlayStatus != valueToSet) + { + lastDisplayedPlayStatus = valueToSet; + PlayButton->value(valueToSet); + PlayButton->redraw(); + } + + // repeat timer + Fl::repeat_timeout(updateTimerSpeed, UpdateTimerCallback); +} + + +void PlayFile(const char* filename) +{ + MusicTitleDisplay->value(filename); + lastDisplayedPlayStatus = -1; + + if (SoundEngine) + { + strcpy(LastPlayedSoundFile, filename); + + // display loading text + MusicTitleDisplay->value("loading..."); + MusicTitleDisplay->redraw(); + + // stop previous sound and remove it from memory + if (CurrentPlayingSound) + CurrentPlayingSound->drop(); + SoundEngine->stopAllSounds(); + + if (strcmp(LastPlayedSoundFile, filename)) + SoundEngine->removeAllSoundSources(); + + // play new sound + CurrentPlayingSound = SoundEngine->play2D(filename, LoopSound, false, true); + if (!CurrentPlayingSound) + { + MusicTitleDisplay->value(""); + MusicTitleDisplay->redraw(); + fl_alert("Could not play sound %s", filename); + return; + } + + // update UI with info about the playing file + ik_u32 len = CurrentPlayingSound->getPlayLength(); + PlayPositionSlider->bounds(0, len * timeDisplayFactor); + PlayPositionSlider->activate(); + + PlayButton->value(1); + PlayButton->redraw(); + + SAudioStreamFormat format = CurrentPlayingSound->getSoundSource()->getAudioFormat(); + + char display[2048]; + sprintf(display, "%s [%dkHz %s %s %sbit]", + fl_filename_name(filename), + format.SampleRate / 1000, + format.ChannelCount > 1 ? "stereo" : "mono", + CurrentPlayingSound->getSoundSource()->getStreamMode() == ::ESM_STREAMING ? "stream" : "buffered", + format.SampleFormat == ::ESF_U8 ? "8" : "16"); + + MusicTitleDisplay->value(display); + MusicTitleDisplay->redraw(); + + // test sound for seeking capability and disable slider if not + if (!CurrentPlayingSound->getSoundSource()->getIsSeekingSupported()) + { + PlayPositionSlider->deactivate(); + PlayPositionSlider->redraw(); + } + + // reset speed and volume slider + SpeedSlider->value(1.0f); + SpeedSlider->redraw(); + VolumeSlider->value(1.0f); + VolumeSlider->redraw(); + PanSlider->value(0); + PanSlider->redraw(); + } +} + + +void OnPlayPressed(Fl_Light_Button*, void*) +{ + // user pressed play button, toggle pause mode of sound + + if (CurrentPlayingSound) + { + bool pause = PlayButton->value() == 0; + CurrentPlayingSound->setIsPaused(pause); + } + else + lastDisplayedPlayStatus = -1; +} + + +void OnBrowserChanged(Fl_File_Browser* browser, void*) +{ + // user selected entry in playlist + + if (!browser) + return; + + int selected = browser->value(); + int cnt = browser->size(); + + if (selected < 0 || selected > cnt) + return; + + const char* tx = browser->text(selected); + if (!tx) + return; + + char name[FL_PATH_MAX]; + fl_filename_absolute(name, tx); + + if (fl_filename_isdir(name)) + { + if (!changeDir((char*)tx)) + { + fl_alert("Could not change directory to %s", tx); + return; + } + + PathDisplay->value(name); + PathDisplay->redraw(); + + FileBrowser->load("."); + FileBrowser->redraw(); + } + else + { + PlayFile(name); + } +} + + +void OnAbout(Fl_Button*, void*) +{ + // user pressed '?' button, show about box + + fl_alert("This program is an example application for the irrKlang audio library.\n"\ + "It is copyright 2007-2010 by N.Gebhardt, Ambiera and licensed under the LGPL2 license.\n"\ + "For more information, please see www.ambiera.com/irrklang.\n\n"\ + "This player currently support the following file formats:\n"\ + "MP3, OGG, WAV, FLAC, MOD, IT, S3M, XM\n"); +} + + +void OnDirectoryButton(Fl_Repeat_Button*, void*) +{ + // user pressed directory button, show disk names + + FileBrowser->load(""); + FileBrowser->redraw(); +} + + +void OnLoopPressed(Fl_Light_Button* button, void*) +{ + // user pressed loop button, switch sound loop mode + + char v = LoopButton->value(); + LoopSound = v != 0; + + if (CurrentPlayingSound) + CurrentPlayingSound->setIsLooped(LoopSound); +} + + +void OnTogglePlayList(Fl_Button*, void*) +{ + // user pressed playlist button, show or hide playlist + + PlayListVisible = !PlayListVisible; + + if (PlayListVisible) + MainWindow->size(419, 281); + else + MainWindow->size(419, 115); +} + + +void OnSliderMoved(Fl_Value_Slider*, void*) +{ + // user moved slider, seek to another play position + + double pos = PlayPositionSlider->value(); + + if (CurrentPlayingSound) + { + ik_u32 pos = (ik_u32)(PlayPositionSlider->value() / timeDisplayFactor); + CurrentPlayingSound->setPlayPosition(pos); + } +} + + +void OnPlaybackSpeedChanged(Fl_Value_Slider*, void*) +{ + // user moved playbackspeed slider + + double pos = SpeedSlider->value(); + + if (CurrentPlayingSound) + { + CurrentPlayingSound->setPlaybackSpeed((ik_f32)pos); + } + +} + + +void OnVolumeSliderChanged(Fl_Value_Slider*, void*) +{ + double pos = VolumeSlider->value(); + + if (CurrentPlayingSound) + { + CurrentPlayingSound->setVolume((ik_f32)pos); + } +} + + +void OnPanSliderChanged(Fl_Value_Slider*, void*) +{ + double pos = PanSlider->value(); + + if (CurrentPlayingSound) + { + CurrentPlayingSound->setPan((ik_f32)pos); + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.h new file mode 100644 index 0000000..c21ae50 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/main.h @@ -0,0 +1,49 @@ +// This program is an example application for the irrKlang audio library. +// It is copyright 2007 by N.Gebhardt, Ambiera and licensed under the LGPL2 license. +// For more information, please see www.ambiera.com/irrklang. + +// include FLTK + +#pragma warning(disable: 4312) +#pragma warning(disable: 4311) +#include +#include +#include +#include +#include +#pragma warning(default: 4312) +#pragma warning(default: 4311) + +// define entry function +// use WinMain in Windows, otherwise main() on all other platforms +#ifndef WIN32 +#define IRRKLANG_MUSIC_PLAYER_APPENTRY int main(int argc, char **argv) +#else +#define IRRKLANG_MUSIC_PLAYER_APPENTRY int __stdcall WinMain(void* hInstance, void* hPrevInstance, void* lpCmdLine, int nCmdShow) +#endif + +// change path function +#ifdef _MSC_VER +#include +#else +#if defined(LINUX) || defined(MACOSX) +#include +#endif +#endif +bool changeDir(char* path) +{ +#ifdef _MSC_VER + return (_chdir(path) == 0); +#else +#if defined(LINUX) || defined(MACOSX) + return (chdir(path) == 0); +#endif +#endif +} + +// forward declarations and constants +void UpdateTimerCallback(void*); + +const double updateTimerSpeed = 1.0 / 20; // x times a second +const double timeDisplayFactor = 1 / 1000.0; + diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/resource.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/resource.h new file mode 100644 index 0000000..19cd4e1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by MusicPlayer.rc +// +#define IDI_ICON1 101 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.cxx b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.cxx new file mode 100644 index 0000000..dc9a7cc --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.cxx @@ -0,0 +1,125 @@ +// generated by Fast Light User Interface Designer (fluid) version 1.0107 + +#include "window.h" +#if 1 +#pragma warning(disable: 4311) +#pragma warning(disable: 4312) +#endif + +Fl_Double_Window *MainWindow=(Fl_Double_Window *)0; + +Fl_Output *MusicTitleDisplay=(Fl_Output *)0; + +Fl_Value_Slider *PlayPositionSlider=(Fl_Value_Slider *)0; + +Fl_Light_Button *PlayButton=(Fl_Light_Button *)0; + +Fl_Light_Button *LoopButton=(Fl_Light_Button *)0; + +Fl_File_Browser *FileBrowser=(Fl_File_Browser *)0; + +Fl_Repeat_Button *DirectoryButton=(Fl_Repeat_Button *)0; + +Fl_Output *PathDisplay=(Fl_Output *)0; + +Fl_Value_Slider *SpeedSlider=(Fl_Value_Slider *)0; + +Fl_Value_Slider *VolumeSlider=(Fl_Value_Slider *)0; + +Fl_Value_Slider *PanSlider=(Fl_Value_Slider *)0; + +Fl_Double_Window* createPlayerWindow() { + Fl_Double_Window* w; + { Fl_Double_Window* o = MainWindow = new Fl_Double_Window(419, 294); + w = o; + o->box(FL_PLASTIC_UP_BOX); + o->color((Fl_Color)48); + o->selection_color((Fl_Color)35); + o->labelsize(8); + o->labelcolor((Fl_Color)198); + { Fl_Output* o = MusicTitleDisplay = new Fl_Output(10, 5, 400, 30); + o->color((Fl_Color)33); + o->labelfont(4); + o->labelsize(11); + o->labelcolor(FL_RED); + o->textfont(1); + o->textcolor(48); + } + { Fl_Value_Slider* o = PlayPositionSlider = new Fl_Value_Slider(10, 33, 400, 20); + o->type(1); + o->labelsize(11); + o->textsize(11); + o->callback((Fl_Callback*)OnSliderMoved); + } + { Fl_Light_Button* o = PlayButton = new Fl_Light_Button(10, 62, 45, 26, "@>"); + o->tooltip("Play/Pause"); + o->labelsize(11); + o->labelcolor((Fl_Color)24); + o->callback((Fl_Callback*)OnPlayPressed); + } + { Fl_Light_Button* o = LoopButton = new Fl_Light_Button(60, 62, 45, 26, "@reload"); + o->tooltip("Loop"); + o->labelsize(11); + o->labelcolor((Fl_Color)24); + o->callback((Fl_Callback*)OnLoopPressed); + } + { Fl_File_Browser* o = FileBrowser = new Fl_File_Browser(10, 115, 400, 150); + o->color((Fl_Color)55); + o->selection_color((Fl_Color)40); + o->labelsize(11); + o->textsize(11); + o->textcolor(32); + o->callback((Fl_Callback*)OnBrowserChanged); + o->when(3); + } + { Fl_Button* o = new Fl_Button(388, 62, 20, 26, "?"); + o->tooltip("About"); + o->labelsize(11); + o->callback((Fl_Callback*)OnAbout); + } + { Fl_Repeat_Button* o = DirectoryButton = new Fl_Repeat_Button(365, 266, 45, 20, "[drive]"); + o->tooltip("Select drive to browse"); + o->labelsize(11); + o->callback((Fl_Callback*)OnDirectoryButton); + } + { Fl_Output* o = PathDisplay = new Fl_Output(10, 267, 350, 20); + o->color((Fl_Color)48); + o->labelsize(11); + o->textsize(11); + o->deactivate(); + } + { Fl_Button* o = new Fl_Button(338, 62, 45, 26, "@+3<->"); + o->tooltip("Show/Hide Playlist"); + o->labelsize(8); + o->labelcolor((Fl_Color)24); + o->callback((Fl_Callback*)OnTogglePlayList); + } + { Fl_Value_Slider* o = SpeedSlider = new Fl_Value_Slider(205, 60, 115, 15, "playback speed:"); + o->type(1); + o->labelsize(11); + o->maximum(5); + o->value(1); + o->textsize(11); + o->callback((Fl_Callback*)OnPlaybackSpeedChanged); + o->align(FL_ALIGN_LEFT); + } + { Fl_Value_Slider* o = VolumeSlider = new Fl_Value_Slider(205, 74, 115, 15, "volume:"); + o->type(1); + o->labelsize(11); + o->value(1); + o->textsize(11); + o->callback((Fl_Callback*)OnVolumeSliderChanged); + o->align(FL_ALIGN_LEFT); + } + { Fl_Value_Slider* o = PanSlider = new Fl_Value_Slider(205, 87, 115, 15, "pan:"); + o->type(1); + o->labelsize(11); + o->minimum(-1); + o->textsize(11); + o->callback((Fl_Callback*)OnPanSliderChanged); + o->align(FL_ALIGN_LEFT); + } + o->end(); + } + return w; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.f b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.f new file mode 100644 index 0000000..fbece23 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.f @@ -0,0 +1,71 @@ +# data file for the Fltk User Interface Designer (fluid) +version 1.0107 +header_name {.h} +code_name {.cxx} +declblock {\#if 1} {open public after {\#endif} +} { + decl {\#pragma warning(disable: 4311)} {} + decl {\#pragma warning(disable: 4312)} {} +} + +Function {createPlayerWindow()} {open +} { + Fl_Window MainWindow {open + xywh {762 248 419 294} type Double box PLASTIC_UP_BOX color 48 selection_color 35 labelsize 8 labelcolor 198 visible + } { + Fl_Output MusicTitleDisplay { + xywh {10 5 400 30} color 33 labelfont 4 labelsize 11 labelcolor 88 textfont 1 textcolor 48 + } + Fl_Value_Slider PlayPositionSlider { + callback OnSliderMoved + xywh {10 33 400 20} type Horizontal labelsize 11 textsize 11 + } + Fl_Light_Button PlayButton { + label {@>} + callback OnPlayPressed + tooltip {Play/Pause} xywh {10 62 45 26} labelsize 11 labelcolor 24 + } + Fl_Light_Button LoopButton { + label {@reload} + callback OnLoopPressed + tooltip Loop xywh {60 62 45 26} labelsize 11 labelcolor 24 + } + Fl_File_Browser FileBrowser { + callback OnBrowserChanged + xywh {10 115 400 150} color 55 selection_color 40 labelsize 11 when 3 textsize 11 textcolor 32 + } + Fl_Button {} { + label {?} + callback OnAbout + tooltip About xywh {388 62 20 26} labelsize 11 + } + Fl_Repeat_Button DirectoryButton { + label {[drive]} + callback OnDirectoryButton + tooltip {Select drive to browse} xywh {365 266 45 20} labelsize 11 + } + Fl_Output PathDisplay { + xywh {10 267 350 20} color 48 labelsize 11 textsize 11 deactivate + } + Fl_Button {} { + label {@+3<->} + callback OnTogglePlayList + tooltip {Show/Hide Playlist} xywh {338 62 45 26} labelsize 8 labelcolor 24 + } + Fl_Value_Slider SpeedSlider { + label {playback speed:} + callback OnPlaybackSpeedChanged + xywh {205 60 115 15} type Horizontal labelsize 11 align 4 maximum 5 value 1 textsize 11 + } + Fl_Value_Slider VolumeSlider { + label {volume:} + callback OnVolumeSliderChanged + xywh {205 74 115 15} type Horizontal labelsize 11 align 4 value 1 textsize 11 + } + Fl_Value_Slider PanSlider { + label {pan:} + callback OnPanSliderChanged selected + xywh {205 87 115 15} type Horizontal labelsize 11 align 4 minimum -1 textsize 11 + } + } +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.h b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.h new file mode 100644 index 0000000..87170ff --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/MusicPlayer/window.h @@ -0,0 +1,37 @@ +// generated by Fast Light User Interface Designer (fluid) version 1.0107 + +#ifndef window_h +#define window_h +#include +#if 1 +#endif +#include +extern Fl_Double_Window *MainWindow; +#include +extern Fl_Output *MusicTitleDisplay; +#include +extern void OnSliderMoved(Fl_Value_Slider*, void*); +extern Fl_Value_Slider *PlayPositionSlider; +#include +extern void OnPlayPressed(Fl_Light_Button*, void*); +extern Fl_Light_Button *PlayButton; +extern void OnLoopPressed(Fl_Light_Button*, void*); +extern Fl_Light_Button *LoopButton; +#include +extern void OnBrowserChanged(Fl_File_Browser*, void*); +extern Fl_File_Browser *FileBrowser; +#include +extern void OnAbout(Fl_Button*, void*); +#include +extern void OnDirectoryButton(Fl_Repeat_Button*, void*); +extern Fl_Repeat_Button *DirectoryButton; +extern Fl_Output *PathDisplay; +extern void OnTogglePlayList(Fl_Button*, void*); +extern void OnPlaybackSpeedChanged(Fl_Value_Slider*, void*); +extern Fl_Value_Slider *SpeedSlider; +extern void OnVolumeSliderChanged(Fl_Value_Slider*, void*); +extern Fl_Value_Slider *VolumeSlider; +extern void OnPanSliderChanged(Fl_Value_Slider*, void*); +extern Fl_Value_Slider *PanSlider; +Fl_Double_Window* createPlayerWindow(); +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/examples/common/conio.h b/SQCSim2021/external/irrKlang-1.6.0/examples/common/conio.h new file mode 100644 index 0000000..169517a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/examples/common/conio.h @@ -0,0 +1,123 @@ + +// additional headers for simple console functions under linux, +// similar to conio.h in windows. +// used for irrKlang linux examples + +#ifndef __IRRKLANG_CONIO_H_INCLUDED__ +#define __IRRKLANG_CONIO_H_INCLUDED__ + +#if !defined(_WIN32) && !defined(_WIN64) && !defined(__MACH__) + +#include +#include +#include +#include +#include + +// sleeps 100 milliseconds +inline void sleepSomeTime() { usleep(100000); } + +// returns if keyboard has been hit +inline int kbhit(void) +{ + termios oldTerm, newTerm; + int fd = 0; + + tcgetattr(fd, &oldTerm); + newTerm = oldTerm; + newTerm.c_lflag = newTerm.c_lflag & (!ICANON); + + newTerm.c_cc[VMIN] = 0; + newTerm.c_cc[VTIME] = 1; + + tcsetattr(fd, TCSANOW, &newTerm); + + int c = getchar(); + + tcsetattr(fd, TCSANOW, &oldTerm); + + if (c != -1) + ungetc(c, stdin); + + return ((c != -1) ? 1 : 0); +} + +// waits for the user to enter a character +inline int getch() +{ + termios oldTerm, newTerm; + + tcgetattr( STDIN_FILENO, &oldTerm ); + newTerm = oldTerm; + newTerm.c_lflag &= ~( ICANON | ECHO ); + + tcsetattr( STDIN_FILENO, TCSANOW, &newTerm ); + + int character = getchar(); + + tcsetattr( STDIN_FILENO, TCSANOW, &oldTerm ); + + return character; +} +//#endif // !defined(_WIN32) && !defined(_WIN64) +#elif defined(__MACH__) +// macOSX implementation + +#include +#include +#include +#include +#include +#include + +class RawTerm // keeps the terminal in raw mode as long as an instance of this class exists +{ + termios old; + +public: + RawTerm() + { + tcgetattr(STDIN_FILENO, &old); + termios newt = old; + + newt.c_iflag &= ~(IGNBRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON | BRKINT | PARMRK); + newt.c_lflag &= ~(ICANON | ISIG | IEXTEN|ECHO | ECHONL); + newt.c_cflag &= ~(CSIZE | PARENB); + newt.c_cflag |= CS8; + newt.c_oflag &= ~OPOST; + + tcsetattr(STDIN_FILENO, 0, &newt); + } + + ~RawTerm() + { + tcsetattr(STDIN_FILENO, 0, &old); + } +}; + + +inline int getch(void) +{ + RawTerm myRawterm; + return getchar(); +} + + +inline int kbhit(void) +{ + RawTerm myRawterm; + + int count = -1; + ioctl(STDIN_FILENO, FIONREAD, &count); + + return count > 0 ? count : 0; +} + +// needed for irrklang +// sleeps 100 milliseconds +inline void sleepSomeTime() { usleep(100000); } + +#endif + +#endif // __IRRKLANG_CONIO_H_INCLUDED__ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundEngineOptions.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundEngineOptions.h new file mode 100644 index 0000000..df65607 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundEngineOptions.h @@ -0,0 +1,78 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __E_IRRKLANG_SOUND_ENGINE_OPTIONS_H_INCLUDED__ +#define __E_IRRKLANG_SOUND_ENGINE_OPTIONS_H_INCLUDED__ + +namespace irrklang +{ + //! An enumeration for all options for starting up the sound engine + /** When using createIrrKlangDevice, use a combination of this these + as 'options' parameter to start up the engine. By default, irrKlang + uses ESEO_DEFAULT_OPTIONS, which is set to the combination + ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER | ESEO_PRINT_DEBUG_INFO_TO_STDOUT. */ + enum E_SOUND_ENGINE_OPTIONS + { + //! If specified (default), it will make irrKlang run in a separate thread. + /** Using this flag, irrKlang will update + all streams, sounds, 3d positions and whatever automaticly. You also don't need to call ISoundEngine::update() + if irrKlang is running multithreaded. However, if you want to run irrKlang in the same thread + as your application (for easier debugging for example), don't set this. But you need to call ISoundEngine::update() + as often as you can (at least about 2-3 times per second) to make irrKlang update everything correctly then. */ + ESEO_MULTI_THREADED = 0x01, + + //! If the window of the application doesn't have the focus, irrKlang will be silent if this has been set. + /** This will only work when irrKlang is using the DirectSound output driver. */ + ESEO_MUTE_IF_NOT_FOCUSED = 0x02, + + //! Automaticly loads external plugins when starting up. + /** Plugins usually are .dll, .so or .dylib + files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which are executed + after the startup of the sound engine and modify it for example to make it possible + to play back mp3 files. Plugins are being loaded from the current working directory + as well as from the position where the .exe using the irrKlang library resides. + It is also possible to load the plugins after the engine has started up using + ISoundEngine::loadPlugins(). */ + ESEO_LOAD_PLUGINS = 0x04, + + //! Uses 3D sound buffers instead of emulating them when playing 3d sounds (default). + /** If this flag is not specified, all buffers will by created + in 2D only and 3D positioning will be emulated in software, making the engine run + faster if hardware 3d audio is slow on the system. */ + ESEO_USE_3D_BUFFERS = 0x08, + + //! Prints debug messages to the debugger window. + /** irrKlang will print debug info and status messages to any windows debugger supporting + OutputDebugString() (like VisualStudio). + This is useful if your application does not capture any console output (see ESEO_PRINT_DEBUG_INFO_TO_STDOUT). */ + ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER = 0x10, + + //! Prints debug messages to stdout (the ConsoleWindow). + /** irrKlang will print debug info and status messages stdout, the console window in Windows. */ + ESEO_PRINT_DEBUG_INFO_TO_STDOUT = 0x20, + + //! Uses linear rolloff for 3D sound. + /** If specified, instead of the default logarithmic one, irrKlang will + use a linear rolloff model which influences the attenuation + of the sounds over distance. The volume is interpolated linearly between the MinDistance + and MaxDistance, making it possible to adjust sounds more easily although this is not + physically correct. + Note that this option may not work when used together with the ESEO_USE_3D_BUFFERS + option when using Direct3D for example, irrKlang will then turn off ESEO_USE_3D_BUFFERS + automaticly to be able to use this option and write out a warning. */ + ESEO_LINEAR_ROLLOFF = 0x40, + + //! Default parameters when starting up the engine. + ESEO_DEFAULT_OPTIONS = ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER | ESEO_PRINT_DEBUG_INFO_TO_STDOUT, + + //! Never used, it only forces the compiler to compile these enumeration values to 32 bit. + /** Don't use this. */ + ESEO_FORCE_32_BIT = 0x7fffffff + }; + +} // end namespace irrklang + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundOutputDrivers.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundOutputDrivers.h new file mode 100644 index 0000000..bc3e0ea --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ESoundOutputDrivers.h @@ -0,0 +1,59 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __E_IRRKLANG_SOUND_OUTPUT_DRIVERS_H_INCLUDED__ +#define __E_IRRKLANG_SOUND_OUTPUT_DRIVERS_H_INCLUDED__ + +namespace irrklang +{ + //! An enumeration for all types of supported sound drivers + /** Values of this enumeration can be used as parameter when calling createIrrKlangDevice(). */ + enum E_SOUND_OUTPUT_DRIVER + { + //! Autodetects the best sound driver for the system + ESOD_AUTO_DETECT = 0, + + //! DirectSound8 sound output driver, windows only. + /** In contrast to ESOD_DIRECT_SOUND, this supports sophisticated sound effects + but may not be available on old windows versions. It behaves very similar + to ESOD_DIRECT_SOUND but also supports DX8 sound effects.*/ + ESOD_DIRECT_SOUND_8, + + //! DirectSound sound output driver, windows only. + /** This uses DirectSound 3 or above, if available. If DX8 sound effects + are needed, use ESOD_DIRECT_SOUND_8 instead. The + ESOD_DIRECT_SOUND driver may be available on more and older windows + versions than ESOD_DIRECT_SOUND_8.*/ + ESOD_DIRECT_SOUND, + + //! WinMM sound output driver, windows only. + /** Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver. */ + ESOD_WIN_MM, + + //! ALSA sound output driver, linux only. + /** When using ESOD_ALSA in createIrrKlangDevice(), it is possible to set the third parameter, + 'deviceID' to the name of specific ALSA pcm device, to the irrKlang force to use this one. + Set it to 'default', or 'plug:hw' or whatever you need it to be. + Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver. */ + ESOD_ALSA, + + //! Core Audio sound output driver, mac os only. + /** Supports the ISoundMixedOutputReceiver interface using setMixedDataOutputReceiver. */ + ESOD_CORE_AUDIO, + + //! Null driver, creating no sound output + ESOD_NULL, + + //! Amount of built-in sound output drivers + ESOD_COUNT, + + //! This enumeration literal is never used, it only forces the compiler to + //! compile these enumeration values to 32 bit. + ESOD_FORCE_32_BIT = 0x7fffffff + }; + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_EStreamModes.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_EStreamModes.h new file mode 100644 index 0000000..62d4a0f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_EStreamModes.h @@ -0,0 +1,31 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __E_IRRKLANG_STREAM_MODES_H_INCLUDED__ +#define __E_IRRKLANG_STREAM_MODES_H_INCLUDED__ + +namespace irrklang +{ + //! An enumeration for all types of supported stream modes + enum E_STREAM_MODE + { + //! Autodetects the best stream mode for a specified audio data. + ESM_AUTO_DETECT = 0, + + //! Streams the audio data when needed. + ESM_STREAMING, + + //! Loads the whole audio data into the memory. + ESM_NO_STREAMING, + + //! This enumeration literal is never used, it only forces the compiler to + //! compile these enumeration values to 32 bit. + ESM_FORCE_32_BIT = 0x7fffffff + }; + +} // end namespace irrklang + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioRecorder.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioRecorder.h new file mode 100644 index 0000000..49b4085 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioRecorder.h @@ -0,0 +1,110 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_AUDIO_RECORDER_H_INCLUDED__ +#define __I_IRRKLANG_AUDIO_RECORDER_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_ISoundSource.h" + + +namespace irrklang +{ + class ICapturedAudioDataReceiver; + + //! Interface to an audio recorder. Create it using the createIrrKlangAudioRecorder() function. + /** It creates sound sources into an ISoundEngine which then can be played there. + See @ref recordingAudio for an example on how to use this. */ + class IAudioRecorder : public virtual IRefCounted + { + public: + + //! Starts recording audio. + /** Clears all possibly previously recorded buffered audio data and starts to record. + When finished recording audio data, call stopRecordingAudio(). + All recorded audio data gets stored into an internal audio buffer, which + can then be accessed for example using addSoundSourceFromRecordedAudio() or + getRecordedAudioData(). For recording audio data not into an internal audio + buffer, use startRecordingCustomHandledAudio(). + \param sampleRate: Sample rate of the recorded audio. + \param sampleFormat: Sample format of the recorded audio. + \param channelCount: Amount of audio channels. + \return Returns true if successfully started recording and false if not.*/ + virtual bool startRecordingBufferedAudio(ik_s32 sampleRate=22000, + ESampleFormat sampleFormat=ESF_S16, + ik_s32 channelCount=1) = 0; + + //! Starts recording audio. + /** Clears all possibly previously recorded buffered audio data and starts to record + audio data, which is delivered to a custom user callback interface. + When finished recording audio data, call stopRecordingAudio(). If instead of + recording the data to the receiver interface recording into a managed buffer + is wished, use startRecordingBufferedAudio() instead. + \param receiver: Interface to be implemented by the user, gets called once for each + captured audio data chunk. + \param sampleRate: Sample rate of the recorded audio. + \param sampleFormat: Sample format of the recorded audio. + \param channelCount: Amount of audio channels. + \return Returns true if successfully started recording and false if not. */ + virtual bool startRecordingCustomHandledAudio(ICapturedAudioDataReceiver* receiver, + ik_s32 sampleRate=22000, + ESampleFormat sampleFormat=ESF_S16, + ik_s32 channelCount=1) = 0; + + //! Stops recording audio. + virtual void stopRecordingAudio() = 0; + + //! Creates a sound source for the recorded audio data. + /** The returned sound source pointer then can be used to play back the recorded audio data + using ISoundEngine::play2D(). This method only will succeed if the audio was recorded using + startRecordingBufferedAudio() and audio recording is currently stopped. + \param soundName Name of the virtual sound file (e.g. "someRecordedAudio"). You can also use this + name when calling play3D() or play2D(). */ + virtual ISoundSource* addSoundSourceFromRecordedAudio(const char* soundName) = 0; + + //! Clears recorded audio data buffer, freeing memory. + /** This method will only succeed if audio recording is currently stopped. */ + virtual void clearRecordedAudioDataBuffer() = 0; + + //! Returns if the recorder is currently recording audio. + virtual bool isRecording() = 0; + + //! Returns the audio format of the recorded audio data. + /** Also contains informations about the length of the recorded audio stream. */ + virtual SAudioStreamFormat getAudioFormat() = 0; + + //! Returns a pointer to the recorded audio data. + /** This method will only succeed if audio recording is currently stopped and + something was recorded previously using startRecordingBufferedAudio(). + The lenght of the buffer can be retrieved using + getAudioFormat().getSampleDataSize(). Note that the pointer is only valid + as long as not clearRecordedAudioDataBuffer() is called or another sample is + recorded.*/ + virtual void* getRecordedAudioData() = 0; + + //! returns the name of the sound driver, like 'ALSA' for the alsa device. + /** Possible returned strings are "NULL", "ALSA", "CoreAudio", "winMM", + "DirectSound" and "DirectSound8". */ + virtual const char* getDriverName() = 0; + }; + + + //! Interface to be implemented by the user if access to the recorded audio data is needed. + /** Is used as parameter in IAudioRecorder::startRecordingCustomHandledAudio. */ + class ICapturedAudioDataReceiver : public IRefCounted + { + public: + + //! Gets called once for each captured audio data chunk. + /** See IAudioRecorder::startRecordingCustomHandledAudio for details. + \param audioData: Pointer to a part of the recorded audio data + \param lengthInBytes: Amount of bytes in the audioData buffer.*/ + virtual void OnReceiveAudioDataStreamChunk(unsigned char* audioData, unsigned long lengthInBytes) = 0; + }; + + +} // end namespace irrklang + + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStream.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStream.h new file mode 100644 index 0000000..97bfbd4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStream.h @@ -0,0 +1,49 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_AUDIO_STREAM_H_INCLUDED__ +#define __I_IRRKLANG_AUDIO_STREAM_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_SAudioStreamFormat.h" + +namespace irrklang +{ + + +//! Reads and decodes audio data into an usable audio stream for the ISoundEngine +class IAudioStream : public IRefCounted +{ +public: + + //! destructor + virtual ~IAudioStream() {}; + + //! returns format of the audio stream + virtual SAudioStreamFormat getFormat() = 0; + + //! sets the position of the audio stream. + /** For example to let the stream be read from the beginning of the file again, + setPosition(0) would be called. This is usually done be the sound engine to + loop a stream after if has reached the end. Return true if sucessful and 0 if not. + \param pos: Position in frames.*/ + virtual bool setPosition(ik_s32 pos) = 0; + + //! returns true if the audio stream is seekable + /* Some file formats like (MODs) don't support seeking */ + virtual bool getIsSeekingSupported() { return true; } + + //! tells the audio stream to read frameCountToRead audio frames into the specified buffer + /** \param target: Target data buffer to the method will write the read frames into. The + specified buffer will be at least getFormat().getFrameSize()*frameCountToRead bytes big. + \param frameCountToRead: amount of frames to be read. + \returns Returns amount of frames really read. Should be frameCountToRead in most cases. */ + virtual ik_s32 readFrames(void* target, ik_s32 frameCountToRead) = 0; +}; + + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStreamLoader.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStreamLoader.h new file mode 100644 index 0000000..dd90ae2 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IAudioStreamLoader.h @@ -0,0 +1,40 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_AUDIO_STREAM_LOADER_H_INCLUDED__ +#define __I_IRRKLANG_AUDIO_STREAM_LOADER_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_IFileReader.h" + +namespace irrklang +{ + +class IAudioStream; + +//! Class which is able to create an audio file stream from a file. +class IAudioStreamLoader : public IRefCounted +{ +public: + + //! destructor + virtual ~IAudioStreamLoader() {}; + + //! Returns true if the file maybe is able to be loaded by this class. + /** This decision should be based only on the file extension (e.g. ".wav"). The given + filename string is guaranteed to be lower case. */ + virtual bool isALoadableFileExtension(const ik_c8* fileName) = 0; + + //! Creates an audio file input stream from a file + /** \return Pointer to the created audio stream. Returns 0 if loading failed. + If you no longer need the stream, you should call IAudioFileStream::drop(). + See IRefCounted::drop() for more information. */ + virtual IAudioStream* createAudioStream(IFileReader* file) = 0; +}; + + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileFactory.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileFactory.h new file mode 100644 index 0000000..4160acb --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileFactory.h @@ -0,0 +1,41 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__ +#define __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__ + +#include "ik_IRefCounted.h" + +namespace irrklang +{ + class IFileReader; + + //! Interface to overwrite file access in irrKlang. + /** Derive your own class from IFileFactory, overwrite the createFileReader() + method and return your own implemented IFileReader to overwrite file access of irrKlang. + Use ISoundEngine::addFileFactory() to let irrKlang know about your class. + Example code can be found in the tutorial 04.OverrideFileAccess. + */ + class IFileFactory : public virtual IRefCounted + { + public: + + virtual ~IFileFactory() {}; + + //! Opens a file for read access. + /** Derive your own class from IFileFactory, overwrite this + method and return your own implemented IFileReader to overwrite file access of irrKlang. + Use ISoundEngine::addFileFactory() to let irrKlang know about your class. + Example code can be found in the tutorial 04.OverrideFileAccess. + \param filename Name of file to open. + \return Returns a pointer to the created file interface. + The returned pointer should be dropped when no longer needed. + See IRefCounted::drop() for more information. Returns 0 if file cannot be opened. */ + virtual IFileReader* createFileReader(const ik_c8* filename) = 0; + }; + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileReader.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileReader.h new file mode 100644 index 0000000..818fe1a --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IFileReader.h @@ -0,0 +1,50 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_READ_FILE_H_INCLUDED__ +#define __I_IRRKLANG_READ_FILE_H_INCLUDED__ + +#include "ik_IRefCounted.h" + +namespace irrklang +{ + + //! Interface providing read acess to a file. + class IFileReader : public virtual IRefCounted + { + public: + + virtual ~IFileReader() {}; + + //! Reads an amount of bytes from the file. + //! \param buffer: Pointer to buffer where to read bytes will be written to. + //! \param sizeToRead: Amount of bytes to read from the file. + //! \return Returns how much bytes were read. + virtual ik_s32 read(void* buffer, ik_u32 sizeToRead) = 0; + + //! Changes position in file, returns true if successful. + //! \param finalPos: Destination position in the file. + //! \param relativeMovement: If set to true, the position in the file is + //! changed relative to current position. Otherwise the position is changed + //! from beginning of file. + //! \return Returns true if successful, otherwise false. + virtual bool seek(ik_s32 finalPos, bool relativeMovement = false) = 0; + + //! Returns size of file. + //! \return Returns the size of the file in bytes. + virtual ik_s32 getSize() = 0; + + //! Returns the current position in the file. + //! \return Returns the current position in the file in bytes. + virtual ik_s32 getPos() = 0; + + //! Returns name of file. + //! \return Returns the file name as zero terminated character string. + virtual const ik_c8* getFileName() = 0; + }; + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IRefCounted.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IRefCounted.h new file mode 100644 index 0000000..f86e8b9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IRefCounted.h @@ -0,0 +1,119 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_IREFERENCE_COUNTED_H_INCLUDED__ +#define __I_IRRKLANG_IREFERENCE_COUNTED_H_INCLUDED__ + +#include "ik_irrKlangTypes.h" + +namespace irrklang +{ + //! Base class of most objects of the irrKlang. + /** This class provides reference counting through the methods grab() and drop(). + It also is able to store a debug string for every instance of an object. + Most objects of irrKlang are derived from IRefCounted, and so they are reference counted. + + When you receive an object in irrKlang (for example an ISound using play2D() or + play3D()), and you no longer need the object, you have + to call drop(). This will destroy the object, if grab() was not called + in another part of you program, because this part still needs the object. + Note, that you only don't need to call drop() for all objects you receive, it + will be explicitely noted in the documentation. + + A simple example: + + If you want to play a sound, you may want to call the method + ISoundEngine::play2D. You call + ISound* mysound = engine->play2D("foobar.mp3", false, false true); + If you no longer need the sound interface, call mysound->drop(). The + sound may still play on after this because the engine still has a reference + to that sound, but you can be sure that it's memory will be released as soon + the sound is no longer used. + + If you want to add a sound source, you may want to call a method + ISoundEngine::addSoundSourceFromFile. You do this like + ISoundSource* mysource = engine->addSoundSourceFromFile("example.jpg"); + You will not have to drop the pointer to the source, because + sound sources are managed by the engine (it will live as long as the sound engine) and + the documentation says so. + */ + class IRefCounted + { + public: + + //! Constructor. + IRefCounted() + : ReferenceCounter(1) + { + } + + //! Destructor. + virtual ~IRefCounted() + { + } + + //! Grabs the object. Increments the reference counter by one. + //! Someone who calls grab() to an object, should later also call + //! drop() to it. If an object never gets as much drop() as grab() + //! calls, it will never be destroyed. + //! The IRefCounted class provides a basic reference counting mechanism + //! with its methods grab() and drop(). Most objects of irrklang + //! are derived from IRefCounted, and so they are reference counted. + //! + //! When you receive an object in irrKlang (for example an ISound using play2D() or + //! play3D()), and you no longer need the object, you have + //! to call drop(). This will destroy the object, if grab() was not called + //! in another part of you program, because this part still needs the object. + //! Note, that you only don't need to call drop() for all objects you receive, it + //! will be explicitely noted in the documentation. + //! + //! A simple example: + //! + //! If you want to play a sound, you may want to call the method + //! ISoundEngine::play2D. You call + //! ISound* mysound = engine->play2D("foobar.mp3", false, false true); + //! If you no longer need the sound interface, call mysound->drop(). The + //! sound may still play on after this because the engine still has a reference + //! to that sound, but you can be sure that it's memory will be released as soon + //! the sound is no longer used. + void grab() { ++ReferenceCounter; } + + //! When you receive an object in irrKlang (for example an ISound using play2D() or + //! play3D()), and you no longer need the object, you have + //! to call drop(). This will destroy the object, if grab() was not called + //! in another part of you program, because this part still needs the object. + //! Note, that you only don't need to call drop() for all objects you receive, it + //! will be explicitely noted in the documentation. + //! + //! A simple example: + //! + //! If you want to play a sound, you may want to call the method + //! ISoundEngine::play2D. You call + //! ISound* mysound = engine->play2D("foobar.mp3", false, false true); + //! If you no longer need the sound interface, call mysound->drop(). The + //! sound may still play on after this because the engine still has a reference + //! to that sound, but you can be sure that it's memory will be released as soon + //! the sound is no longer used. + bool drop() + { + --ReferenceCounter; + + if (!ReferenceCounter) + { + delete this; + return true; + } + + return false; + } + + private: + + ik_s32 ReferenceCounter; + }; + +} // end namespace irr + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISound.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISound.h new file mode 100644 index 0000000..3f267b9 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISound.h @@ -0,0 +1,194 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_H_INCLUDED__ + +#include "ik_IVirtualRefCounted.h" +#include "ik_ISoundEffectControl.h" +#include "ik_vec3d.h" + + +namespace irrklang +{ + class ISoundSource; + class ISoundStopEventReceiver; + + //! Represents a sound which is currently played. + /** The sound can be stopped, its volume or pan changed, effects added/removed + and similar using this interface. + Creating sounds is done using ISoundEngine::play2D() or ISoundEngine::play3D(). + More informations about the source of a sound can be obtained from the ISoundSource + interface. */ + class ISound : public IVirtualRefCounted + { + public: + + //! returns source of the sound which stores the filename and other informations about that sound + /** \return Returns the sound source poitner of this sound. May return 0 if the sound source + has been removed.*/ + virtual ISoundSource* getSoundSource() = 0; + + //! returns if the sound is paused + virtual void setIsPaused( bool paused = true) = 0; + + //! returns if the sound is paused + virtual bool getIsPaused() = 0; + + //! Will stop the sound and free its resources. + /** If you just want to pause the sound, use setIsPaused(). + After calling stop(), isFinished() will usually return true. + Be sure to also call ->drop() once you are done.*/ + virtual void stop() = 0; + + //! returns volume of the sound, a value between 0 (mute) and 1 (full volume). + /** (this volume gets multiplied with the master volume of the sound engine + and other parameters like distance to listener when played as 3d sound) */ + virtual ik_f32 getVolume() = 0; + + //! sets the volume of the sound, a value between 0 (mute) and 1 (full volume). + /** This volume gets multiplied with the master volume of the sound engine + and other parameters like distance to listener when played as 3d sound. */ + virtual void setVolume(ik_f32 volume) = 0; + + //! sets the pan of the sound. Takes a value between -1 and 1, 0 is center. + virtual void setPan(ik_f32 pan) = 0; + + //! returns the pan of the sound. Takes a value between -1 and 1, 0 is center. + virtual ik_f32 getPan() = 0; + + //! returns if the sound has been started to play looped + virtual bool isLooped() = 0; + + //! changes the loop mode of the sound. + /** If the sound is playing looped and it is changed to not-looped, then it + will stop playing after the loop has finished. + If it is not looped and changed to looped, the sound will start repeating to be + played when it reaches its end. + Invoking this method will not have an effect when the sound already has stopped. */ + virtual void setIsLooped(bool looped) = 0; + + //! returns if the sound has finished playing. + /** Don't mix this up with isPaused(). isFinished() returns if the sound has been + finished playing. If it has, is maybe already have been removed from the playing list of the + sound engine and calls to any other of the methods of ISound will not have any result. + If you call stop() to a playing sound will result that this function will return true + when invoked. */ + virtual bool isFinished() = 0; + + //! Sets the minimal distance if this is a 3D sound. + /** Changes the distance at which the 3D sound stops getting louder. This works + like this: As a listener approaches a 3D sound source, the sound gets louder. + Past a certain point, it is not reasonable for the volume to continue to increase. + Either the maximum (zero) has been reached, or the nature of the sound source + imposes a logical limit. This is the minimum distance for the sound source. + Similarly, the maximum distance for a sound source is the distance beyond + which the sound does not get any quieter. + The default minimum distance is 1, the default max distance is a huge number like 1000000000.0f. */ + virtual void setMinDistance(ik_f32 min) = 0; + + //! Returns the minimal distance if this is a 3D sound. + /** See setMinDistance() for details. */ + virtual ik_f32 getMinDistance() = 0; + + //! Sets the maximal distance if this is a 3D sound. + /** Changing this value is usually not necessary. Use setMinDistance() instead. + Don't change this value if you don't know what you are doing: This value causes the sound + to stop attenuating after it reaches the max distance. Most people think that this sets the + volume of the sound to 0 after this distance, but this is not true. Only change the + minimal distance (using for example setMinDistance()) to influence this. + The maximum distance for a sound source is the distance beyond which the sound does not get any quieter. + The default minimum distance is 1, the default max distance is a huge number like 1000000000.0f. */ + virtual void setMaxDistance(ik_f32 max) = 0; + + //! Returns the maximal distance if this is a 3D sound. + /** See setMaxDistance() for details. */ + virtual ik_f32 getMaxDistance() = 0; + + //! sets the position of the sound in 3d space + virtual void setPosition(vec3df position) = 0; + + //! returns the position of the sound in 3d space + virtual vec3df getPosition() = 0; + + //! sets the position of the sound in 3d space, needed for Doppler effects. + /** To use doppler effects use ISound::setVelocity to set a sounds velocity, + ISoundEngine::setListenerPosition() to set the listeners velocity and + ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing + the doppler effects intensity. */ + virtual void setVelocity(vec3df vel) = 0; + + //! returns the velocity of the sound in 3d space, needed for Doppler effects. + /** To use doppler effects use ISound::setVelocity to set a sounds velocity, + ISoundEngine::setListenerPosition() to set the listeners velocity and + ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing + the doppler effects intensity. */ + virtual vec3df getVelocity() = 0; + + //! returns the current play position of the sound in milliseconds. + /** \return Returns -1 if not implemented or possible for this sound for example + because it already has been stopped and freed internally or similar. */ + virtual ik_u32 getPlayPosition() = 0; + + //! sets the current play position of the sound in milliseconds. + /** \param pos Position in milliseconds. Must be between 0 and the value returned + by getPlayPosition(). + \return Returns true successful. False is returned for example if the sound already finished + playing and is stopped or the audio source is not seekable, for example if it + is an internet stream or a a file format not supporting seeking (a .MOD file for example). + A file can be tested if it can bee seeking using ISoundSource::getIsSeekingSupported(). */ + virtual bool setPlayPosition(ik_u32 pos) = 0; + + //! Sets the playback speed (frequency) of the sound. + /** Plays the sound at a higher or lower speed, increasing or decreasing its + frequency which makes it sound lower or higher. + Note that this feature is not available on all sound output drivers (it is on the + DirectSound drivers at least), and it does not work together with the + 'enableSoundEffects' parameter of ISoundEngine::play2D and ISoundEngine::play3D when + using DirectSound. + \param speed Factor of the speed increase or decrease. 2 is twice as fast, + 0.5 is only half as fast. The default is 1.0. + \return Returns true if sucessful, false if not. The current sound driver might not + support changing the playBack speed, or the sound was started with the + 'enableSoundEffects' parameter. */ + virtual bool setPlaybackSpeed(ik_f32 speed = 1.0f) = 0; + + //! Returns the playback speed set by setPlaybackSpeed(). Default: 1.0f. + /** See setPlaybackSpeed() for details */ + virtual ik_f32 getPlaybackSpeed() = 0; + + //! returns the play length of the sound in milliseconds. + /** Returns -1 if not known for this sound for example because its decoder + does not support length reporting or it is a file stream of unknown size. + Note: You can also use ISoundSource::getPlayLength() to get the length of + a sound without actually needing to play it. */ + virtual ik_u32 getPlayLength() = 0; + + //! Returns the sound effect control interface for this sound. + /** Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can + be controlled using this. The interface pointer is only valid as long as the ISound pointer is valid. + If the ISound pointer gets dropped (IVirtualRefCounted::drop()), the ISoundEffects + may not be used any more. + \return Returns a pointer to the sound effects interface if available. The sound + has to be started via ISoundEngine::play2D() or ISoundEngine::play3D(), + with the flag enableSoundEffects=true, otherwise 0 will be returned. Note that + if the output driver does not support sound effects, 0 will be returned as well.*/ + virtual ISoundEffectControl* getSoundEffectControl() = 0; + + //! Sets the sound stop event receiver, an interface which gets called if a sound has finished playing. + /** This event is guaranteed to be called when the sound or sound stream is finished, + either because the sound reached its playback end, its sound source was removed, + ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. + There is an example on how to use events in irrklang at @ref events . + \param receiver Interface to a user implementation of the sound receiver. This interface + should be as long valid as the sound exists or another stop event receiver is set. + Set this to null to set no sound stop event receiver. + \param userData: A iser data pointer, can be null. */ + virtual void setSoundStopEventReceiver(ISoundStopEventReceiver* reciever, void* userData=0) = 0; + }; + +} // end namespace irrklang + + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundDeviceList.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundDeviceList.h new file mode 100644 index 0000000..bda2090 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundDeviceList.h @@ -0,0 +1,41 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_DEVICE_LIST_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_DEVICE_LIST_H_INCLUDED__ + +#include "ik_IRefCounted.h" + +namespace irrklang +{ + +//! A list of sound devices for a sound driver. Use irrklang::createSoundDeviceList() to create this list. +/** The function createIrrKlangDevice() has a parameter 'deviceID' which takes the value returned by +ISoundDeviceList::getDeviceID() and uses that device then. +The list of devices in ISoundDeviceList usually also includes the default device which is the first +entry and has an empty deviceID string ("") and the description "default device". +There is some example code on how to use the ISoundDeviceList in @ref enumeratingDevices.*/ +class ISoundDeviceList : public IRefCounted +{ +public: + + //! Returns amount of enumerated devices in the list. + virtual ik_s32 getDeviceCount() = 0; + + //! Returns the ID of the device. Use this string to identify this device in createIrrKlangDevice(). + /** \param index Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1. + \return Returns a pointer to a string identifying the device. The string will only as long valid + as long as the ISoundDeviceList exists. */ + virtual const char* getDeviceID(ik_s32 index) = 0; + + //! Returns description of the device. + /** \param index Index of the device, a value between 0 and ISoundDeviceList::getDeviceCount()-1. */ + virtual const char* getDeviceDescription(ik_s32 index) = 0; +}; + + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEffectControl.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEffectControl.h new file mode 100644 index 0000000..86ade35 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEffectControl.h @@ -0,0 +1,243 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_EFFECT_CONTROL_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_EFFECT_CONTROL_H_INCLUDED__ + +#include "ik_IVirtualRefCounted.h" +#include "ik_vec3d.h" + + +namespace irrklang +{ + //! Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. + /** Sound effects such as chorus, distorsions, echo, reverb and similar can + be controlled using this. An instance of this interface can be obtained via + ISound::getSoundEffectControl(). The sound containing this interface has to be started via + ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, + otherwise no acccess to this interface will be available. + For the DirectSound driver, these are effects available since DirectSound8. For most + effects, sounds should have a sample rate of 44 khz and should be at least + 150 milli seconds long for optimal quality when using the DirectSound driver. + Note that the interface pointer is only valid as long as + the ISound pointer is valid. If the ISound pointer gets dropped (IVirtualRefCounted::drop()), + the ISoundEffects may not be used any more. */ + class ISoundEffectControl + { + public: + + //! Disables all active sound effects + virtual void disableAllEffects() = 0; + + //! Enables the chorus sound effect or adjusts its values. + /** Chorus is a voice-doubling effect created by echoing the + original sound with a slight delay and slightly modulating the delay of the echo. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f; + \param fDepth Percentage by which the delay time is modulated by the low-frequency oscillator, in hundredths of a percentage point. Minimal Value:0, Maximal Value:100.0f; + \param fFeedback Percentage of output signal to feed back into the effect's input. Minimal Value:-99, Maximal Value:99.0f; + \param fFrequency Frequency of the LFO. Minimal Value:0, Maximal Value:10.0f; + \param sinusWaveForm True for sinus wave form, false for triangle. + \param fDelay Number of milliseconds the input is delayed before it is played back. Minimal Value:0, Maximal Value:20.0f; + \param lPhase Phase differential between left and right LFOs. Possible values: + -180, -90, 0, 90, 180 + \return Returns true if successful. */ + virtual bool enableChorusSoundEffect(ik_f32 fWetDryMix = 50, + ik_f32 fDepth = 10, + ik_f32 fFeedback = 25, + ik_f32 fFrequency = 1.1, + bool sinusWaveForm = true, + ik_f32 fDelay = 16, + ik_s32 lPhase = 90) = 0; + + //! removes the sound effect from the sound + virtual void disableChorusSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isChorusSoundEffectEnabled() = 0; + + //! Enables the Compressor sound effect or adjusts its values. + /** Compressor is a reduction in the fluctuation of a signal above a certain amplitude. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fGain Output gain of signal after Compressor. Minimal Value:-60, Maximal Value:60.0f; + \param fAttack Time before Compressor reaches its full value. Minimal Value:0.01, Maximal Value:500.0f; + \param fRelease Speed at which Compressor is stopped after input drops below fThreshold. Minimal Value:50, Maximal Value:3000.0f; + \param fThreshold Point at which Compressor begins, in decibels. Minimal Value:-60, Maximal Value:0.0f; + \param fRatio Compressor ratio. Minimal Value:1, Maximal Value:100.0f; + \param fPredelay Time after lThreshold is reached before attack phase is started, in milliseconds. Minimal Value:0, Maximal Value:4.0f; + \return Returns true if successful. */ + virtual bool enableCompressorSoundEffect( ik_f32 fGain = 0, + ik_f32 fAttack = 10, + ik_f32 fRelease = 200, + ik_f32 fThreshold = -20, + ik_f32 fRatio = 3, + ik_f32 fPredelay = 4) = 0; + + //! removes the sound effect from the sound + virtual void disableCompressorSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isCompressorSoundEffectEnabled() = 0; + + //! Enables the Distortion sound effect or adjusts its values. + /** Distortion is achieved by adding harmonics to the signal in such a way that, + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + as the level increases, the top of the waveform becomes squared off or clipped. + \param fGain Amount of signal change after distortion. Minimal Value:-60, Maximal Value:0; + \param fEdge Percentage of distortion intensity. Minimal Value:0, Maximal Value:100; + \param fPostEQCenterFrequency Center frequency of harmonic content addition. Minimal Value:100, Maximal Value:8000; + \param fPostEQBandwidth Width of frequency band that determines range of harmonic content addition. Minimal Value:100, Maximal Value:8000; + \param fPreLowpassCutoff Filter cutoff for high-frequency harmonics attenuation. Minimal Value:100, Maximal Value:8000; + \return Returns true if successful. */ + virtual bool enableDistortionSoundEffect(ik_f32 fGain = -18, + ik_f32 fEdge = 15, + ik_f32 fPostEQCenterFrequency = 2400, + ik_f32 fPostEQBandwidth = 2400, + ik_f32 fPreLowpassCutoff = 8000) = 0; + + //! removes the sound effect from the sound + virtual void disableDistortionSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isDistortionSoundEffectEnabled() = 0; + + //! Enables the Echo sound effect or adjusts its values. + /** An echo effect causes an entire sound to be repeated after a fixed delay. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f; + \param fFeedback Percentage of output fed back into input. Minimal Value:0, Maximal Value:100.0f; + \param fLeftDelay Delay for left channel, in milliseconds. Minimal Value:1, Maximal Value:2000.0f; + \param fRightDelay Delay for right channel, in milliseconds. Minimal Value:1, Maximal Value:2000.0f; + \param lPanDelay Value that specifies whether to swap left and right delays with each successive echo. Minimal Value:0, Maximal Value:1; + \return Returns true if successful. */ + virtual bool enableEchoSoundEffect(ik_f32 fWetDryMix = 50, + ik_f32 fFeedback = 50, + ik_f32 fLeftDelay = 500, + ik_f32 fRightDelay = 500, + ik_s32 lPanDelay = 0) = 0; + + //! removes the sound effect from the sound + virtual void disableEchoSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isEchoSoundEffectEnabled() = 0; + + //! Enables the Flanger sound effect or adjusts its values. + /** Flange is an echo effect in which the delay between the original + signal and its echo is very short and varies over time. The result is + sometimes referred to as a sweeping sound. The term flange originated + with the practice of grabbing the flanges of a tape reel to change the speed. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fWetDryMix Ratio of wet (processed) signal to dry (unprocessed) signal. Minimal Value:0, Maximal Value:100.0f; + \param fDepth Percentage by which the delay time is modulated by the low-frequency oscillator, in hundredths of a percentage point. Minimal Value:0, Maximal Value:100.0f; + \param fFeedback Percentage of output signal to feed back into the effect's input. Minimal Value:-99, Maximal Value:99.0f; + \param fFrequency Frequency of the LFO. Minimal Value:0, Maximal Value:10.0f; + \param triangleWaveForm True for triangle wave form, false for square. + \param fDelay Number of milliseconds the input is delayed before it is played back. Minimal Value:0, Maximal Value:20.0f; + \param lPhase Phase differential between left and right LFOs. Possible values: + -180, -90, 0, 90, 180 + \return Returns true if successful. */ + virtual bool enableFlangerSoundEffect(ik_f32 fWetDryMix = 50, + ik_f32 fDepth = 100, + ik_f32 fFeedback = -50, + ik_f32 fFrequency = 0.25f, + bool triangleWaveForm = true, + ik_f32 fDelay = 2, + ik_s32 lPhase = 0) = 0; + + //! removes the sound effect from the sound + virtual void disableFlangerSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isFlangerSoundEffectEnabled() = 0; + + //! Enables the Gargle sound effect or adjusts its values. + /** The gargle effect modulates the amplitude of the signal. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param rateHz Rate of modulation, in Hertz. Minimal Value:1, Maximal Value:1000 + \param sinusWaveForm True for sinus wave form, false for triangle. + \return Returns true if successful. */ + virtual bool enableGargleSoundEffect(ik_s32 rateHz = 20, bool sinusWaveForm = true) = 0; + + //! removes the sound effect from the sound + virtual void disableGargleSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isGargleSoundEffectEnabled() = 0; + + //! Enables the Interactive 3D Level 2 reverb sound effect or adjusts its values. + /** An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param lRoom Attenuation of the room effect, in millibels (mB). Interval: [-10000, 0] Default: -1000 mB + \param lRoomHF Attenuation of the room high-frequency effect. Interval: [-10000, 0] default: 0 mB + \param flRoomRolloffFactor Rolloff factor for the reflected signals. Interval: [0.0, 10.0] default: 0.0 + \param flDecayTime Decay time, in seconds. Interval: [0.1, 20.0] default: 1.49s + \param flDecayHFRatio Ratio of the decay time at high frequencies to the decay time at low frequencies. Interval: [0.1, 2.0] default: 0.83 + \param lReflections Attenuation of early reflections relative to lRoom. Interval: [-10000, 1000] default: -2602 mB + \param flReflectionsDelay Delay time of the first reflection relative to the direct path in seconds. Interval: [0.0, 0.3] default: 0.007 s + \param lReverb Attenuation of late reverberation relative to lRoom, in mB. Interval: [-10000, 2000] default: 200 mB + \param flReverbDelay Time limit between the early reflections and the late reverberation relative to the time of the first reflection. Interval: [0.0, 0.1] default: 0.011 s + \param flDiffusion Echo density in the late reverberation decay in percent. Interval: [0.0, 100.0] default: 100.0 % + \param flDensity Modal density in the late reverberation decay, in percent. Interval: [0.0, 100.0] default: 100.0 % + \param flHFReference Reference high frequency, in hertz. Interval: [20.0, 20000.0] default: 5000.0 Hz + \return Returns true if successful. */ + virtual bool enableI3DL2ReverbSoundEffect(ik_s32 lRoom = -1000, + ik_s32 lRoomHF = -100, + ik_f32 flRoomRolloffFactor = 0, + ik_f32 flDecayTime = 1.49f, + ik_f32 flDecayHFRatio = 0.83f, + ik_s32 lReflections = -2602, + ik_f32 flReflectionsDelay = 0.007f, + ik_s32 lReverb = 200, + ik_f32 flReverbDelay = 0.011f, + ik_f32 flDiffusion = 100.0f, + ik_f32 flDensity = 100.0f, + ik_f32 flHFReference = 5000.0f ) = 0; + + //! removes the sound effect from the sound + virtual void disableI3DL2ReverbSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isI3DL2ReverbSoundEffectEnabled() = 0; + + //! Enables the ParamEq sound effect or adjusts its values. + /** Parametric equalizer amplifies or attenuates signals of a given frequency. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fCenter Center frequency, in hertz, The default value is 8000. Minimal Value:80, Maximal Value:16000.0f + \param fBandwidth Bandwidth, in semitones, The default value is 12. Minimal Value:1.0f, Maximal Value:36.0f + \param fGain Gain, default value is 0. Minimal Value:-15.0f, Maximal Value:15.0f + \return Returns true if successful. */ + virtual bool enableParamEqSoundEffect(ik_f32 fCenter = 8000, + ik_f32 fBandwidth = 12, + ik_f32 fGain = 0) = 0; + + //! removes the sound effect from the sound + virtual void disableParamEqSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isParamEqSoundEffectEnabled() = 0; + + //! Enables the Waves Reverb sound effect or adjusts its values. + /** \param fInGain Input gain of signal, in decibels (dB). Min/Max: [-96.0,0.0] Default: 0.0 dB. + If this sound effect is already enabled, calling this only modifies the parameters of the active effect. + \param fReverbMix Reverb mix, in dB. Min/Max: [-96.0,0.0] Default: 0.0 dB + \param fReverbTime Reverb time, in milliseconds. Min/Max: [0.001,3000.0] Default: 1000.0 ms + \param fHighFreqRTRatio High-frequency reverb time ratio. Min/Max: [0.001,0.999] Default: 0.001 + \return Returns true if successful. */ + virtual bool enableWavesReverbSoundEffect(ik_f32 fInGain = 0, + ik_f32 fReverbMix = 0, + ik_f32 fReverbTime = 1000, + ik_f32 fHighFreqRTRatio = 0.001f) = 0; + + //! removes the sound effect from the sound + virtual void disableWavesReverbSoundEffect() = 0; + + //! returns if the sound effect is active on the sound + virtual bool isWavesReverbSoundEffectEnabled() = 0; + }; + +} // end namespace irrklang + + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEngine.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEngine.h new file mode 100644 index 0000000..fdb25e8 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundEngine.h @@ -0,0 +1,436 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_ENGINE_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_ENGINE_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_vec3d.h" +#include "ik_ISoundSource.h" +#include "ik_ISound.h" +#include "ik_EStreamModes.h" +#include "ik_IFileFactory.h" +#include "ik_ISoundMixedOutputReceiver.h" + + +namespace irrklang +{ + class IAudioStreamLoader; + struct SInternalAudioInterface; + + //! Interface to the sound engine, for playing 3d and 2d sound and music. + /** This is the main interface of irrKlang. You usually would create this using + the createIrrKlangDevice() function. + */ + class ISoundEngine : public virtual irrklang::IRefCounted + { + public: + + //! returns the name of the sound driver, like 'ALSA' for the alsa device + /** Possible returned strings are "NULL", "ALSA", "CoreAudio", "winMM", + "DirectSound" and "DirectSound8". */ + virtual const char* getDriverName() = 0; + + //! loads a sound source (if not loaded already) from a file and plays it. + /** \param sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg". + \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to + ISound have no effect after such a non looped sound has been stopped automaticly. + \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing + parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to + modify some of the sound parameters and then call ISound::setPaused(false); + Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound + object anymore. See 'return' for details. + \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. + \param streamMode Specifies if the file should be streamed or loaded completely into memory for playing. + ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the + engine, this parameter has no effect. + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). + Only enable if necessary. + \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or + 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, + you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this + will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + 'enableSoundEffects' have been set to true, if the sound could not be played.*/ + virtual ISound* play2D(const char* soundFileName, + bool playLooped = false, + bool startPaused = false, + bool track = false, + E_STREAM_MODE streamMode = ESM_AUTO_DETECT, + bool enableSoundEffects = false) = 0; + + //! Plays a sound source as 2D sound with its default settings stored in ISoundSource. + /** An ISoundSource object will be created internally when playing a sound the first time, + or can be added with getSoundSource(). + \param source The sound source, specifiying sound file source and default settings for this file. + Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. + \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to + ISound have no effect after such a non looped sound has been stopped automaticly. + \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing + parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to + modify some of the sound parameters and then call ISound::setPaused(false); + Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound + object anymore. See 'return' for details. + \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). + Only enable if necessary. + \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or + 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, + you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this + will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + 'enableSoundEffects' have been set to true, if the sound could not be played.*/ + virtual ISound* play2D(ISoundSource* source, + bool playLooped = false, + bool startPaused = false, + bool track = false, + bool enableSoundEffects = false) = 0; + + //! Loads a sound source (if not loaded already) from a file and plays it as 3D sound. + /** There is some example code on how to work with 3D sound at @ref sound3d. + \param sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg". + \param pos Position of the 3D sound. + \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to + ISound have no effect after such a non looped sound has been stopped automaticly. + \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing + parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to + modify some of the sound parameters and then call ISound::setPaused(false); + Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound + object anymore. See 'return' for details. + \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. + \param streamMode Specifies if the file should be streamed or loaded completely into memory for playing. + ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the + engine, this parameter has no effect. + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). + Only enable if necessary. + \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or + 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, + you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this + will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + 'enableSoundEffects' have been set to true, if the sound could not be played.*/ + virtual ISound* play3D(const char* soundFileName, vec3df pos, + bool playLooped = false, + bool startPaused = false, + bool track = false, + E_STREAM_MODE streamMode = ESM_AUTO_DETECT, + bool enableSoundEffects = false) = 0; + + //! Plays a sound source as 3D sound with its default settings stored in ISoundSource. + /** An ISoundSource object will be created internally when playing a sound the first time, + or can be added with getSoundSource(). There is some example code on how to work with 3D sound @ref sound3d. + \param source The sound source, specifiying sound file source and default settings for this file. + Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. + \param pos Position of the 3D sound. + \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to + ISound have no effect after such a non looped sound has been stopped automaticly. + \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing + parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to + modify some of the sound parameters and then call ISound::setPaused(false); + Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound + object anymore. See 'return' for details. + \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). + Only enable if necessary. + \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or + 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, + you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this + will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + 'enableSoundEffects' have been set to true, if the sound could not be played.*/ + virtual ISound* play3D(ISoundSource* source, vec3df pos, + bool playLooped = false, + bool startPaused = false, + bool track = false, + bool enableSoundEffects = false) = 0; + + //! Stops all currently playing sounds. + virtual void stopAllSounds() = 0; + + //! Pauses or unpauses all currently playing sounds. + virtual void setAllSoundsPaused( bool bPaused = true ) = 0; + + //! Gets a sound source by sound name. Adds the sound source as file into the sound engine if not loaded already. + /** Please note: For performance reasons most ISoundEngine implementations will + not try to load the sound when calling this method, but only when play() is called + with this sound source as parameter. + \param addIfNotFound if 'true' adds the sound source to the list and returns the interface to it + if it cannot be found in the sound source list. If 'false', returns 0 if the sound + source is not in the list and does not modify the list. Default value: true. + \return Returns the sound source or 0 if not available. + Note: Don't call drop() to this pointer, it will be managed by irrKlang and + exist as long as you don't delete irrKlang or call removeSoundSource(). However, + you are free to call grab() if you want and drop() it then later of course. */ + virtual ISoundSource* getSoundSource(const ik_c8* soundName, bool addIfNotFound=true) = 0; + + //! Returns a sound source by index. + /** \param idx: Index of the loaded sound source, must by smaller than getSoundSourceCount(). + \return Returns the sound source or 0 if not available. + Note: Don't call drop() to this pointer, it will be managed by irrKlang and + exist as long as you don't delete irrKlang or call removeSoundSource(). However, + you are free to call grab() if you want and drop() it then later of course. */ + virtual ISoundSource* getSoundSource(ik_s32 index) = 0; + + //! Returns amount of loaded sound sources. + virtual ik_s32 getSoundSourceCount() = 0; + + //! Adds sound source into the sound engine as file. + /** \param fileName Name of the sound file (e.g. "sounds/something.mp3"). You can also use this + name when calling play3D() or play2D(). + \param mode Streaming mode for this sound source + \param preload If this flag is set to false (which is default) the sound engine will + not try to load the sound file when calling this method, but only when play() is called + with this sound source as parameter. Otherwise the sound will be preloaded. + \return Returns the pointer to the added sound source or 0 if not sucessful because for + example a sound already existed with that name. If not successful, the reason will be printed + into the log. Note: Don't call drop() to this pointer, it will be managed by irrKlang and + exist as long as you don't delete irrKlang or call removeSoundSource(). However, + you are free to call grab() if you want and drop() it then later of course. */ + virtual ISoundSource* addSoundSourceFromFile(const ik_c8* fileName, E_STREAM_MODE mode=ESM_AUTO_DETECT, + bool preload=false) = 0; + + //! Adds a sound source into the sound engine as memory source. + /** Note: This method only accepts a file (.wav, .ogg, etc) which is totally loaded into memory. + If you want to add a sound source from decoded plain PCM data in memory, use addSoundSourceFromPCMData() instead. + \param memory Pointer to the memory to be treated as loaded sound file. + \param sizeInBytes Size of the memory chunk, in bytes. + \param soundName Name of the virtual sound file (e.g. "sounds/something.mp3"). You can also use this + name when calling play3D() or play2D(). Hint: If you include the extension of the original file + like .ogg, .mp3 or .wav at the end of the filename, irrKlang will be able to decide better what + file format it is and might be able to start playback faster. + \param copyMemory If set to true which is default, the memory block is copied + and stored in the engine, after calling addSoundSourceFromMemory() the memory pointer can be deleted + savely. If set to false, the memory is not copied and the user takes the responsibility that + the memory block pointed to remains there as long as the sound engine or at least this sound + source exists. + \return Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already + existed with that name. If not successful, the reason will be printed into the log. + Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't + delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you + want and drop() it then later of course. */ + virtual ISoundSource* addSoundSourceFromMemory(void* memory, ik_s32 sizeInBytes, const ik_c8* soundName, + bool copyMemory=true) = 0; + + + //! Adds a sound source into the sound engine from plain PCM data in memory. + /** \param memory Pointer to the memory to be treated as loaded sound file. + \param sizeInBytes Size of the memory chunk, in bytes. + \param soundName Name of the virtual sound file (e.g. "sounds/something.mp3"). You can also use this + name when calling play3D() or play2D(). + \param copyMemory If set to true which is default, the memory block is copied + and stored in the engine, after calling addSoundSourceFromPCMData() the memory pointer can be deleted + savely. If set to true, the memory is not copied and the user takes the responsibility that + the memory block pointed to remains there as long as the sound engine or at least this sound + source exists. + \return Returns the pointer to the added sound source or 0 if not sucessful because for + example a sound already existed with that name. If not successful, the reason will be printed + into the log. */ + virtual ISoundSource* addSoundSourceFromPCMData(void* memory, ik_s32 sizeInBytes, + const ik_c8* soundName, SAudioStreamFormat format, + bool copyMemory=true) = 0; + + //! Adds a sound source as alias for an existing sound source, but with a different name or optional different default settings. + /** This is useful if you want to play multiple sounds but each sound isn't necessarily one single file. + Also useful if you want to or play the same sound using different names, volumes or min and max 3D distances. + \param baseSource The sound source where this sound source should be based on. This sound + source will use the baseSource as base to access the file and similar, but it will have its + own name and its own default settings. + \param soundName Name of the new sound source to be added. + \return Returns the pointer to the added sound source or 0 if not sucessful because for + example a sound already existed with that name. If not successful, the reason will be printed + into the log.*/ + virtual ISoundSource* addSoundSourceAlias(ISoundSource* baseSource, const ik_c8* soundName) = 0; + + //! Removes a sound source from the engine, freeing the memory it occupies. + /** This will also cause all currently playing sounds of this source to be stopped. + Also note that if the source has been removed successfully, the value returned + by getSoundSourceCount() will have been decreased by one. + Removing sound sources is only necessary if you know you won't use a lot of non-streamed + sounds again. Sound sources of streamed sounds do not cost a lot of memory.*/ + virtual void removeSoundSource(ISoundSource* source) = 0; + + //! Removes a sound source from the engine, freeing the memory it occupies. + /** This will also cause all currently playing sounds of this source to be stopped. + Also note that if the source has been removed successfully, the value returned + by getSoundSourceCount() will have been decreased by one. + Removing sound sources is only necessary if you know you won't use a lot of non-streamed + sounds again. Sound sources of streamed sounds do not cost a lot of memory. */ + virtual void removeSoundSource(const ik_c8* name) = 0; + + //! Removes all sound sources from the engine + /** This will also cause all sounds to be stopped. + Removing sound sources is only necessary if you know you won't use a lot of non-streamed + sounds again. Sound sources of streamed sounds do not cost a lot of memory. */ + virtual void removeAllSoundSources() = 0; + + //! Sets master sound volume. This value is multiplied with all sounds played. + /** \param volume 0 (silent) to 1.0f (full volume) */ + virtual void setSoundVolume(ik_f32 volume) = 0; + + //! Returns master sound volume. + /* A value between 0.0 and 1.0. Default is 1.0. Can be changed using setSoundVolume(). */ + virtual ik_f32 getSoundVolume() = 0; + + //! Sets the current listener 3d position. + /** When playing sounds in 3D, updating the position of the listener every frame should be + done using this function. + \param pos Position of the camera or listener. + \param lookdir Direction vector where the camera or listener is looking into. If you have a + camera position and a target 3d point where it is looking at, this would be cam->getTarget() - cam->getAbsolutePosition(). + \param velPerSecond The velocity per second describes the speed of the listener and + is only needed for doppler effects. + \param upvector Vector pointing 'up', so the engine can decide where is left and right. + This vector is usually (0,1,0).*/ + virtual void setListenerPosition(const vec3df& pos, + const vec3df& lookdir, + const vec3df& velPerSecond = vec3df(0,0,0), + const vec3df& upVector = vec3df(0,1,0)) = 0; + + //! Updates the audio engine. This should be called several times per frame if irrKlang was started in single thread mode. + /** This updates the 3d positions of the sounds as well as their volumes, effects, + streams and other stuff. Call this several times per frame (the more the better) if you + specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. + This method is being called by the scene manager automaticly if you are using one, so + you might want to ignore this. */ + virtual void update() = 0; + + //! Returns if a sound with the specified name is currently playing. + virtual bool isCurrentlyPlaying(const char* soundName) = 0; + + //! Returns if a sound with the specified source is currently playing. + virtual bool isCurrentlyPlaying(ISoundSource* source) = 0; + + //! Stops all sounds of a specific sound source + virtual void stopAllSoundsOfSoundSource(ISoundSource* source) = 0; + + //! Registers a new audio stream loader in the sound engine. + /** Use this to enhance the audio engine to support other or new file formats. + To do this, implement your own IAudioStreamLoader interface and register it + with this method */ + virtual void registerAudioStreamLoader(IAudioStreamLoader* loader) = 0; + + //! Returns if irrKlang is running in the same thread as the application or is using multithreading. + /** This basicly returns the flag set by the user when creating the sound engine.*/ + virtual bool isMultiThreaded() const = 0; + + //! Adds a file factory to the sound engine, making it possible to override file access of the sound engine. + /** Derive your own class from IFileFactory, overwrite the createFileReader() + method and return your own implemented IFileReader to overwrite file access of irrKlang. */ + virtual void addFileFactory(IFileFactory* fileFactory) = 0; + + //! Sets the default minimal distance for 3D sounds. + /** This value influences how loud a sound is heard based on its distance. + See ISound::setMinDistance() for details about what the min distance is. + It is also possible to influence this default value for every sound file + using ISoundSource::setDefaultMinDistance(). + This method only influences the initial distance value of sounds. For changing the + distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance(). + \param minDistance Default minimal distance for 3d sounds. The default value is 1.0f.*/ + virtual void setDefault3DSoundMinDistance(ik_f32 minDistance) = 0; + + //! Returns the default minimal distance for 3D sounds. + /** This value influences how loud a sound is heard based on its distance. + You can change it using setDefault3DSoundMinDistance(). + See ISound::setMinDistance() for details about what the min distance is. + It is also possible to influence this default value for every sound file + using ISoundSource::setDefaultMinDistance(). + \return Default minimal distance for 3d sounds. The default value is 1.0f. */ + virtual ik_f32 getDefault3DSoundMinDistance() = 0; + + //! Sets the default maximal distance for 3D sounds. + /** Changing this value is usually not necessary. Use setDefault3DSoundMinDistance() instead. + Don't change this value if you don't know what you are doing: This value causes the sound + to stop attenuating after it reaches the max distance. Most people think that this sets the + volume of the sound to 0 after this distance, but this is not true. Only change the + minimal distance (using for example setDefault3DSoundMinDistance()) to influence this. + See ISound::setMaxDistance() for details about what the max distance is. + It is also possible to influence this default value for every sound file + using ISoundSource::setDefaultMaxDistance(). + This method only influences the initial distance value of sounds. For changing the + distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance(). + \param maxDistance Default maximal distance for 3d sounds. The default value is 1000000000.0f. */ + virtual void setDefault3DSoundMaxDistance(ik_f32 maxDistance) = 0; + + //! Returns the default maximal distance for 3D sounds. + /** This value influences how loud a sound is heard based on its distance. + You can change it using setDefault3DSoundmaxDistance(), but + changing this value is usually not necessary. This value causes the sound + to stop attenuating after it reaches the max distance. Most people think that this sets the + volume of the sound to 0 after this distance, but this is not true. Only change the + minimal distance (using for example setDefault3DSoundMinDistance()) to influence this. + See ISound::setMaxDistance() for details about what the max distance is. + It is also possible to influence this default value for every sound file + using ISoundSource::setDefaultMaxDistance(). + \return Default maximal distance for 3d sounds. The default value is 1000000000.0f. */ + virtual ik_f32 getDefault3DSoundMaxDistance() = 0; + + //! Sets a rolloff factor which influences the amount of attenuation that is applied to 3D sounds. + /** The rolloff factor can range from 0.0 to 10.0, where 0 is no rolloff. 1.0 is the default + rolloff factor set, the value which we also experience in the real world. A value of 2 would mean + twice the real-world rolloff. */ + virtual void setRolloffFactor(ik_f32 rolloff) = 0; + + //! Sets parameters affecting the doppler effect. + /** \param dopplerFactor is a value between 0 and 10 which multiplies the doppler + effect. Default value is 1.0, which is the real world doppler effect, and 10.0f + would be ten times the real world doppler effect. + \param distanceFactor is the number of meters in a vector unit. The default value + is 1.0. Doppler effects are calculated in meters per second, with this parameter, + this can be changed, all velocities and positions are influenced by this. If + the measurement should be in foot instead of meters, set this value to 0.3048f + for example.*/ + virtual void setDopplerEffectParameters(ik_f32 dopplerFactor=1.0f, ik_f32 distanceFactor=1.0f) = 0; + + //! Loads irrKlang plugins from a custom path. + /** Plugins usually are .dll, .so or .dylib + files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which + make it possible to play back mp3 files. Plugins are being + loaded from the current working directory at startup of the sound engine + if the parameter ESEO_LOAD_PLUGINS is set (which it is by default), but + using this method, it is possible to load plugins from a custom path in addition. + \param path Path to the plugin directory, like "C:\games\somegamegame\irrklangplugins". + \return returns true if sucessful or fals if not, for example because the path could + not be found. */ + virtual bool loadPlugins(const ik_c8* path) = 0; + + //! Returns a pointer to internal sound engine pointers, like the DirectSound interface. + /** Use this with caution. This is only exposed to make it possible for other libraries + such as Video playback packages to extend or use the sound driver irrklang uses. */ + virtual const SInternalAudioInterface& getInternalAudioInterface() = 0; + + //! Sets the OutputMixedDataReceiver, so you can receive the pure mixed output audio data while it is being played. + /** This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. + This works only with software based audio drivers, that is ESOD_WIN_MM, ESOD_ALSA, and ESOD_CORE_AUDIO. + Returns true if sucessful and fals if the current audio driver doesn't support this feature. Set this to null + again once you don't need it anymore. */ + virtual bool setMixedDataOutputReceiver(ISoundMixedOutputReceiver* receiver) = 0; + }; + + + //! structure for returning pointers to the internal audio interface. + /** Use ISoundEngine::getInternalAudioInterface() to get this. */ + struct SInternalAudioInterface + { + //! IDirectSound interface, this is not null when using the ESOD_DIRECT_SOUND audio driver + void* pIDirectSound; + + //! IDirectSound8 interface, this is not null when using the ESOD_DIRECT_SOUND8 audio driver + void* pIDirectSound8; + + //! HWaveout interface, this is not null when using the ESOD_WIN_MM audio driver + void* pWinMM_HWaveOut; + + //! ALSA PCM Handle interface, this is not null when using the ESOD_ALSA audio driver + void* pALSA_SND_PCM; + + //! AudioDeviceID handle, this is not null when using the ESOD_CORE_AUDIO audio driver + ik_u32 pCoreAudioDeciceID; + }; + + + +} // end namespace irrklang + + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundMixedOutputReceiver.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundMixedOutputReceiver.h new file mode 100644 index 0000000..8f6d58e --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundMixedOutputReceiver.h @@ -0,0 +1,46 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_MIXED_OUTPUT_RECEIVER_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_MIXED_OUTPUT_RECEIVER_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_SAudioStreamFormat.h" + + +namespace irrklang +{ + + +//! Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine. +/** This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. + Simply implement your own class derived from ISoundMixedOutputReceiver and use ISoundEngine::setMixedDataOutputReceiver + to let the audio driver know about it. */ +class ISoundMixedOutputReceiver +{ +public: + + //! destructor + virtual ~ISoundMixedOutputReceiver() {}; + + //! Called when a chunk of sound has been mixed and is about to be played. + /** Note: This is called from the playing thread of the sound library, so you need to + make everything you are doing in this method thread safe. Additionally, it would + be a good idea to do nothing complicated in your implementation and return as fast as possible, + otherwise sound output may be stuttering. + \param data representing the sound frames which just have been mixed. Sound data always + consists of two interleaved sound channels at 16bit per frame. + \param byteCount Amount of bytes of the data + \param playbackrate The playback rate at samples per second (usually something like 44000). + This value will not change and always be the same for an instance of an ISoundEngine. */ + virtual void OnAudioDataReady(const void* data, int byteCount, int playbackrate) = 0; + +}; + + +} // end namespace irrklang + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundSource.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundSource.h new file mode 100644 index 0000000..087d295 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundSource.h @@ -0,0 +1,167 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_IRR_SOUND_SOURCE_H_INCLUDED__ +#define __I_IRRKLANG_IRR_SOUND_SOURCE_H_INCLUDED__ + +#include "ik_IVirtualRefCounted.h" +#include "ik_vec3d.h" +#include "ik_EStreamModes.h" +#include "ik_SAudioStreamFormat.h" + + +namespace irrklang +{ + + //! A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. + /** It provides some informations about the sound source like the play lenght and + can have default settings for volume, distances for 3d etc. There is some example code on how + to use Sound sources at @ref soundSources.*/ + class ISoundSource : public IVirtualRefCounted + { + public: + + //! Returns the name of the sound source (usually, this is the file name) + virtual const ik_c8* getName() = 0; + + //! Sets the stream mode which should be used for a sound played from this source. + /** Note that if this is set to ESM_NO_STREAMING, the engine still might decide + to stream the sound if it is too big. The threashold for this can be + adjusted using ISoundSource::setForcedStreamingThreshold(). */ + virtual void setStreamMode(E_STREAM_MODE mode) = 0; + + //! Returns the detected or set type of the sound with wich the sound will be played. + /** Note: If the returned type is ESM_AUTO_DETECT, this mode will change after the + sound has been played the first time. */ + virtual E_STREAM_MODE getStreamMode() = 0; + + //! Returns the play length of the sound in milliseconds. + /** Returns -1 if not known for this sound for example because its decoder + does not support lenght reporting or it is a file stream of unknown size. + Note: If the sound never has been played before, the sound engine will have to open + the file and try to get the play lenght from there, so this call could take a bit depending + on the type of file. */ + virtual ik_u32 getPlayLength() = 0; + + //! Returns informations about the sound source: channel count (mono/stereo), frame count, sample rate, etc. + /** \return Returns the structure filled with 0 or negative values if not known for this sound for example because + because the file could not be opened or similar. + Note: If the sound never has been played before, the sound engine will have to open + the file and try to get the play lenght from there, so this call could take a bit depending + on the type of file. */ + virtual SAudioStreamFormat getAudioFormat() = 0; + + //! Returns if sounds played from this source will support seeking via ISound::setPlayPosition(). + /* If a sound is seekable depends on the file type and the audio format. For example MOD files + cannot be seeked currently. + \return Returns true of the sound source supports setPlayPosition() and false if not. + Note: If the sound never has been played before, the sound engine will have to open + the file and try to get the information from there, so this call could take a bit depending + on the type of file. */ + virtual bool getIsSeekingSupported() = 0; + + //! Sets the default volume for a sound played from this source. + /** The default value of this is 1.0f. + Note that the default volume is being multiplied with the master volume + of ISoundEngine, change this via ISoundEngine::setSoundVolume(). + //! \param volume 0 (silent) to 1.0f (full volume). Default value is 1.0f. */ + virtual void setDefaultVolume(ik_f32 volume=1.0f) = 0; + + //! Returns the default volume for a sound played from this source. + /** You can influence this default volume value using setDefaultVolume(). + Note that the default volume is being multiplied with the master volume + of ISoundEngine, change this via ISoundEngine::setSoundVolume(). + //! \return 0 (silent) to 1.0f (full volume). Default value is 1.0f. */ + virtual ik_f32 getDefaultVolume() = 0; + + //! sets the default minimal distance for 3D sounds played from this source. + /** This value influences how loud a sound is heard based on its distance. + See ISound::setMinDistance() for details about what the min distance is. + This method only influences the initial distance value of sounds. For changing the + distance while the sound is playing, use ISound::setMinDistance() and ISound::setMaxDistance(). + \param minDistance: Default minimal distance for 3D sounds from this source. Set it to a negative + value to let sounds of this source use the engine level default min distance, which + can be set via ISoundEngine::setDefault3DSoundMinDistance(). Default value is -1, causing + the default min distance of the sound engine to take effect. */ + virtual void setDefaultMinDistance(ik_f32 minDistance) = 0; + + //! Returns the default minimal distance for 3D sounds played from this source. + /** This value influences how loud a sound is heard based on its distance. + See ISound::setMinDistance() for details about what the minimal distance is. + \return Default minimal distance for 3d sounds from this source. If setDefaultMinDistance() + was set to a negative value, it will return the default value set in the engine, + using ISoundEngine::setDefault3DSoundMinDistance(). Default value is -1, causing + the default min distance of the sound engine to take effect. */ + virtual ik_f32 getDefaultMinDistance() = 0; + + //! Sets the default maximal distance for 3D sounds played from this source. + /** Changing this value is usually not necessary. Use setDefaultMinDistance() instead. + Don't change this value if you don't know what you are doing: This value causes the sound + to stop attenuating after it reaches the max distance. Most people think that this sets the + volume of the sound to 0 after this distance, but this is not true. Only change the + minimal distance (using for example setDefaultMinDistance()) to influence this. + See ISound::setMaxDistance() for details about what the max distance is. + This method only influences the initial distance value of sounds. For changing the + distance while the sound is played, use ISound::setMinDistance() + and ISound::setMaxDistance(). + \param maxDistance Default maximal distance for 3D sounds from this source. Set it to a negative + value to let sounds of this source use the engine level default max distance, which + can be set via ISoundEngine::setDefault3DSoundMaxDistance(). Default value is -1, causing + the default max distance of the sound engine to take effect. */ + virtual void setDefaultMaxDistance(ik_f32 maxDistance) = 0; + + //! returns the default maxmial distance for 3D sounds played from this source. + /** This value influences how loud a sound is heard based on its distance. + Changing this value is usually not necessary. Use setDefaultMinDistance() instead. + Don't change this value if you don't know what you are doing: This value causes the sound + to stop attenuating after it reaches the max distance. Most people think that this sets the + volume of the sound to 0 after this distance, but this is not true. Only change the + minimal distance (using for example setDefaultMinDistance()) to influence this. + See ISound::setMaxDistance() for details about what the max distance is. + \return Default maximal distance for 3D sounds from this source. If setDefaultMaxDistance() + was set to a negative value, it will return the default value set in the engine, + using ISoundEngine::setDefault3DSoundMaxDistance(). Default value is -1, causing + the default max distance of the sound engine to take effect. */ + virtual ik_f32 getDefaultMaxDistance() = 0; + + //! Forces the sound to be reloaded at next replay. + /** Sounds which are not played as streams are buffered to make it possible to + replay them without much overhead. If the sound file is altered after the sound + has been played the first time, the engine won't play the changed file then. + Calling this method makes the engine reload the file before the file is played + the next time.*/ + virtual void forceReloadAtNextUse() = 0; + + //! Sets the threshold size where irrKlang decides to force streaming a file independent of the user specified setting. + /** When specifying ESM_NO_STREAMING for playing back a sound file, irrKlang will + ignore this setting if the file is bigger than this threshold and stream the file + anyway. Please note that if an audio format loader is not able to return the + size of a sound source and returns -1 as length, this will be ignored as well + and streaming has to be forced. + \param threshold: New threshold. The value is specified in uncompressed bytes and its default value is + about one Megabyte. Set to 0 or a negative value to disable stream forcing. */ + virtual void setForcedStreamingThreshold(ik_s32 thresholdBytes) = 0; + + //! Returns the threshold size where irrKlang decides to force streaming a file independent of the user specified setting. + /** The value is specified in uncompressed bytes and its default value is + about one Megabyte. See setForcedStreamingThreshold() for details. */ + virtual ik_s32 getForcedStreamingThreshold() = 0; + + //! Returns a pointer to the loaded and decoded sample data. + /** \return Returns a pointer to the sample data. The data is provided in decoded PCM data. The + exact format can be retrieved using getAudioFormat(). Use getAudioFormat().getSampleDataSize() + for getting the amount of bytes. The returned pointer will only be valid as long as the sound + source exists. + This function will only return a pointer to the data if the + audio file is not streamed, namely ESM_NO_STREAMING. Otherwise this function will return 0. + Note: If the sound never has been played before, the sound engine will have to open + the file and decode audio data from there, so this call could take a bit depending + on the type of the file.*/ + virtual void* getSampleData() = 0; + }; + +} // end namespace irrklang + + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundStopEventReceiver.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundStopEventReceiver.h new file mode 100644 index 0000000..511a8b0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_ISoundStopEventReceiver.h @@ -0,0 +1,72 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_SOUND_STOP_EVENT_RECEIVER_H_INCLUDED__ +#define __I_IRRKLANG_SOUND_STOP_EVENT_RECEIVER_H_INCLUDED__ + +#include "ik_IRefCounted.h" +#include "ik_SAudioStreamFormat.h" + + +namespace irrklang +{ + + +//! An enumeration listing all reasons for a fired sound stop event +enum E_STOP_EVENT_CAUSE +{ + //! The sound stop event was fired because the sound finished playing + ESEC_SOUND_FINISHED_PLAYING = 0, + + //! The sound stop event was fired because the sound was stopped by the user, calling ISound::stop(). + ESEC_SOUND_STOPPED_BY_USER, + + //! The sound stop event was fired because the source of the sound was removed, for example + //! because irrKlang was shut down or the user called ISoundEngine::removeSoundSource(). + ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL, + + //! This enumeration literal is never used, it only forces the compiler to + //! compile these enumeration values to 32 bit. + ESEC_FORCE_32_BIT = 0x7fffffff +}; + + +//! Interface to be implemented by the user, which recieves sound stop events. +/** The interface has only one method to be implemented by the user: OnSoundStopped(). +Implement this interface and set it via ISound::setSoundStopEventReceiver(). +The sound stop event is guaranteed to be called when a sound or sound stream is finished, +either because the sound reached its playback end, its sound source was removed, +ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. */ +class ISoundStopEventReceiver +{ +public: + + //! destructor + virtual ~ISoundStopEventReceiver() {}; + + //! Called when a sound has stopped playing. + /** This is the only method to be implemented by the user. + The sound stop event is guaranteed to be called when a sound or sound stream is finished, + either because the sound reached its playback end, its sound source was removed, + ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. + Please note: Sound events will occur in a different thread when the engine runs in + multi threaded mode (default). In single threaded mode, the event will happen while + the user thread is calling ISoundEngine::update(). + \param sound: Sound which has been stopped. + \param reason: The reason why the sound stop event was fired. Usually, this will be ESEC_SOUND_FINISHED_PLAYING. + When the sound was aborded by calling ISound::stop() or ISoundEngine::stopAllSounds();, this would be + ESEC_SOUND_STOPPED_BY_USER. If irrKlang was deleted or the sound source was removed, the value is + ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL. + \param userData: userData pointer set by the user when registering the interface + via ISound::setSoundStopEventReceiver(). */ + virtual void OnSoundStopped(ISound* sound, E_STOP_EVENT_CAUSE reason, void* userData) = 0; + +}; + + +} // end namespace irrklang + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_IVirtualRefCounted.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IVirtualRefCounted.h new file mode 100644 index 0000000..86b589f --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_IVirtualRefCounted.h @@ -0,0 +1,48 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __I_IRRKLANG_VIRTUAL_UNKNOWN_H_INCLUDED__ +#define __I_IRRKLANG_VIRTUAL_UNKNOWN_H_INCLUDED__ + +#include "ik_irrKlangTypes.h" + + +namespace irrklang +{ + + //! Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted. + /** See IRefCounted for the basics of this class. + The difference to IRefCounted is that the class has to implement reference counting + for itself. + */ + class IVirtualRefCounted + { + public: + + //! Destructor. + virtual ~IVirtualRefCounted() + { + } + + //! Grabs the object. Increments the reference counter by one. + /** To be implemented by the derived class. If you don't want to + implement this, use the class IRefCounted instead. See IRefCounted::grab() for details + of this method. */ + virtual void grab() = 0; + + //! Drops the object. Decrements the reference counter by one. + /** To be implemented by the derived class. If you don't want to + implement this, use the class IRefCounted instead. See IRefCounted::grab() for details + of this method. */ + virtual bool drop() = 0; + }; + + + +} // end namespace irrklang + + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_SAudioStreamFormat.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_SAudioStreamFormat.h new file mode 100644 index 0000000..cc6d343 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_SAudioStreamFormat.h @@ -0,0 +1,71 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __S_IRRKLANG_AUDIO_STREAM_FORMAT_H_INCLUDED__ +#define __S_IRRKLANG_AUDIO_STREAM_FORMAT_H_INCLUDED__ + +#include "ik_IRefCounted.h" + + +namespace irrklang +{ + + //! audio sample data format enumeration for supported formats + enum ESampleFormat + { + //! one unsigned byte (0;255) + ESF_U8, + + //! 16 bit, signed (-32k;32k) + ESF_S16 + }; + + + //! structure describing an audio stream format with helper functions + struct SAudioStreamFormat + { + //! channels, 1 for mono, 2 for stereo + ik_s32 ChannelCount; + + //! amount of frames in the sample data or stream. + /** If the stream has an unknown lenght, this is -1 */ + ik_s32 FrameCount; + + //! samples per second + ik_s32 SampleRate; + + //! format of the sample data + ESampleFormat SampleFormat; + + //! returns the size of a sample of the data described by the stream data in bytes + inline ik_s32 getSampleSize() const + { + return (SampleFormat == ESF_U8) ? 1 : 2; + } + + //! returns the frame size of the stream data in bytes + inline ik_s32 getFrameSize() const + { + return ChannelCount * getSampleSize(); + } + + //! returns the size of the sample data in bytes + /* Returns an invalid negative value when the stream has an unknown lenght */ + inline ik_s32 getSampleDataSize() const + { + return getFrameSize() * FrameCount; + } + + //! returns amount of bytes per second + inline ik_s32 getBytesPerSecond() const + { + return getFrameSize() * SampleRate; + } + }; + + +} // end namespace irrklang + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_irrKlangTypes.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_irrKlangTypes.h new file mode 100644 index 0000000..e2b1560 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_irrKlangTypes.h @@ -0,0 +1,96 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __IRRKLANG_TYPES_H_INCLUDED__ +#define __IRRKLANG_TYPES_H_INCLUDED__ + + +namespace irrklang +{ + + //! 8 bit unsigned variable. + /** This is a typedef for unsigned char, it ensures portability of the engine. */ + typedef unsigned char ik_u8; + + //! 8 bit signed variable. + /** This is a typedef for signed char, it ensures portability of the engine. */ + typedef signed char ik_s8; + + //! 8 bit character variable. + /** This is a typedef for char, it ensures portability of the engine. */ + typedef char ik_c8; + + + + //! 16 bit unsigned variable. + /** This is a typedef for unsigned short, it ensures portability of the engine. */ + typedef unsigned short ik_u16; + + //! 16 bit signed variable. + /** This is a typedef for signed short, it ensures portability of the engine. */ + typedef signed short ik_s16; + + + + //! 32 bit unsigned variable. + /** This is a typedef for unsigned int, it ensures portability of the engine. */ + typedef unsigned int ik_u32; + + //! 32 bit signed variable. + /** This is a typedef for signed int, it ensures portability of the engine. */ + typedef signed int ik_s32; + + + + //! 32 bit floating point variable. + /** This is a typedef for float, it ensures portability of the engine. */ + typedef float ik_f32; + + //! 64 bit floating point variable. + /** This is a typedef for double, it ensures portability of the engine. */ + typedef double ik_f64; + + + + // some constants + + const ik_f32 IK_ROUNDING_ERROR_32 = 0.000001f; + const ik_f64 IK_PI64 = 3.1415926535897932384626433832795028841971693993751; + const ik_f32 IK_PI32 = 3.14159265359f; + const ik_f32 IK_RADTODEG = 180.0f / IK_PI32; + const ik_f32 IK_DEGTORAD = IK_PI32 / 180.0f; + const ik_f64 IK_RADTODEG64 = 180.0 / IK_PI64; + const ik_f64 IK_DEGTORAD64 = IK_PI64 / 180.0; + + //! returns if a float equals the other one, taking floating + //! point rounding errors into account + inline bool equalsfloat(const ik_f32 a, const ik_f32 b, const ik_f32 tolerance = IK_ROUNDING_ERROR_32) + { + return (a + tolerance > b) && (a - tolerance < b); + } + +} // end irrklang namespace + +// ensure wchar_t type is existing for unicode support +#include + +// define the wchar_t type if not already built in. +#ifdef _MSC_VER // microsoft compiler + #ifndef _WCHAR_T_DEFINED + //! A 16 bit wide character type. + /** + Defines the wchar_t-type. + In VS6, its not possible to tell + the standard compiler to treat wchar_t as a built-in type, and + sometimes we just don't want to include the huge stdlib.h or wchar.h, + so we'll use this. + */ + typedef unsigned short wchar_t; + #define _WCHAR_T_DEFINED + #endif // wchar is not defined +#endif // microsoft compiler + + +#endif // __IRR_TYPES_H_INCLUDED__ + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/ik_vec3d.h b/SQCSim2021/external/irrKlang-1.6.0/include/ik_vec3d.h new file mode 100644 index 0000000..ce56669 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/ik_vec3d.h @@ -0,0 +1,261 @@ +// Copyright (C) 2002-2018 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __IRR_IRRKLANG_VEC_3D_H_INCLUDED__ +#define __IRR_IRRKLANG_VEC_3D_H_INCLUDED__ + +#include +#include "ik_irrKlangTypes.h" + + +namespace irrklang +{ + + //! a 3d vector template class for representing vectors and points in 3d + template + class vec3d + { + public: + + vec3d(): X(0), Y(0), Z(0) {}; + vec3d(T nx, T ny, T nz) : X(nx), Y(ny), Z(nz) {}; + vec3d(const vec3d& other) :X(other.X), Y(other.Y), Z(other.Z) {}; + + //! constructor creating an irrklang vec3d from an irrlicht vector. + #ifdef __IRR_POINT_3D_H_INCLUDED__ + template + vec3d(const B& other) :X(other.X), Y(other.Y), Z(other.Z) {}; + #endif // __IRR_POINT_3D_H_INCLUDED__ + + // operators + + vec3d operator-() const { return vec3d(-X, -Y, -Z); } + + vec3d& operator=(const vec3d& other) { X = other.X; Y = other.Y; Z = other.Z; return *this; } + + vec3d operator+(const vec3d& other) const { return vec3d(X + other.X, Y + other.Y, Z + other.Z); } + vec3d& operator+=(const vec3d& other) { X+=other.X; Y+=other.Y; Z+=other.Z; return *this; } + + vec3d operator-(const vec3d& other) const { return vec3d(X - other.X, Y - other.Y, Z - other.Z); } + vec3d& operator-=(const vec3d& other) { X-=other.X; Y-=other.Y; Z-=other.Z; return *this; } + + vec3d operator*(const vec3d& other) const { return vec3d(X * other.X, Y * other.Y, Z * other.Z); } + vec3d& operator*=(const vec3d& other) { X*=other.X; Y*=other.Y; Z*=other.Z; return *this; } + vec3d operator*(const T v) const { return vec3d(X * v, Y * v, Z * v); } + vec3d& operator*=(const T v) { X*=v; Y*=v; Z*=v; return *this; } + + vec3d operator/(const vec3d& other) const { return vec3d(X / other.X, Y / other.Y, Z / other.Z); } + vec3d& operator/=(const vec3d& other) { X/=other.X; Y/=other.Y; Z/=other.Z; return *this; } + vec3d operator/(const T v) const { T i=(T)1.0/v; return vec3d(X * i, Y * i, Z * i); } + vec3d& operator/=(const T v) { T i=(T)1.0/v; X*=i; Y*=i; Z*=i; return *this; } + + bool operator<=(const vec3d&other) const { return X<=other.X && Y<=other.Y && Z<=other.Z;}; + bool operator>=(const vec3d&other) const { return X>=other.X && Y>=other.Y && Z>=other.Z;}; + + bool operator==(const vec3d& other) const { return other.X==X && other.Y==Y && other.Z==Z; } + bool operator!=(const vec3d& other) const { return other.X!=X || other.Y!=Y || other.Z!=Z; } + + // functions + + //! returns if this vector equalsfloat the other one, taking floating point rounding errors into account + bool equals(const vec3d& other) + { + return equalsfloat(X, other.X) && + equalsfloat(Y, other.Y) && + equalsfloat(Z, other.Z); + } + + void set(const T nx, const T ny, const T nz) {X=nx; Y=ny; Z=nz; } + void set(const vec3d& p) { X=p.X; Y=p.Y; Z=p.Z;} + + //! Returns length of the vector. + ik_f64 getLength() const { return sqrt(X*X + Y*Y + Z*Z); } + + //! Returns squared length of the vector. + /** This is useful because it is much faster then + getLength(). */ + ik_f64 getLengthSQ() const { return X*X + Y*Y + Z*Z; } + + //! Returns the dot product with another vector. + T dotProduct(const vec3d& other) const + { + return X*other.X + Y*other.Y + Z*other.Z; + } + + //! Returns distance from an other point. + /** Here, the vector is interpreted as point in 3 dimensional space. */ + ik_f64 getDistanceFrom(const vec3d& other) const + { + ik_f64 vx = X - other.X; ik_f64 vy = Y - other.Y; ik_f64 vz = Z - other.Z; + return sqrt(vx*vx + vy*vy + vz*vz); + } + + //! Returns squared distance from an other point. + /** Here, the vector is interpreted as point in 3 dimensional space. */ + ik_f32 getDistanceFromSQ(const vec3d& other) const + { + ik_f32 vx = X - other.X; ik_f32 vy = Y - other.Y; ik_f32 vz = Z - other.Z; + return (vx*vx + vy*vy + vz*vz); + } + + //! Calculates the cross product with another vector + vec3d crossProduct(const vec3d& p) const + { + return vec3d(Y * p.Z - Z * p.Y, Z * p.X - X * p.Z, X * p.Y - Y * p.X); + } + + //! Returns if this vector interpreted as a point is on a line between two other points. + /** It is assumed that the point is on the line. */ + bool isBetweenPoints(const vec3d& begin, const vec3d& end) const + { + ik_f32 f = (ik_f32)(end - begin).getLengthSQ(); + return (ik_f32)getDistanceFromSQ(begin) < f && + (ik_f32)getDistanceFromSQ(end) < f; + } + + //! Normalizes the vector. + vec3d& normalize() + { + T l = (T)getLength(); + if (l == 0) + return *this; + + l = (T)1.0 / l; + X *= l; + Y *= l; + Z *= l; + return *this; + } + + //! Sets the lenght of the vector to a new value + void setLength(T newlength) + { + normalize(); + *this *= newlength; + } + + //! Inverts the vector. + void invert() + { + X *= -1.0f; + Y *= -1.0f; + Z *= -1.0f; + } + + //! Rotates the vector by a specified number of degrees around the Y + //! axis and the specified center. + //! \param degrees: Number of degrees to rotate around the Y axis. + //! \param center: The center of the rotation. + void rotateXZBy(ik_f64 degrees, const vec3d& center) + { + degrees *= IK_DEGTORAD64; + T cs = (T)cos(degrees); + T sn = (T)sin(degrees); + X -= center.X; + Z -= center.Z; + set(X*cs - Z*sn, Y, X*sn + Z*cs); + X += center.X; + Z += center.Z; + } + + //! Rotates the vector by a specified number of degrees around the Z + //! axis and the specified center. + //! \param degrees: Number of degrees to rotate around the Z axis. + //! \param center: The center of the rotation. + void rotateXYBy(ik_f64 degrees, const vec3d& center) + { + degrees *= IK_DEGTORAD64; + T cs = (T)cos(degrees); + T sn = (T)sin(degrees); + X -= center.X; + Y -= center.Y; + set(X*cs - Y*sn, X*sn + Y*cs, Z); + X += center.X; + Y += center.Y; + } + + //! Rotates the vector by a specified number of degrees around the X + //! axis and the specified center. + //! \param degrees: Number of degrees to rotate around the X axis. + //! \param center: The center of the rotation. + void rotateYZBy(ik_f64 degrees, const vec3d& center) + { + degrees *= IK_DEGTORAD64; + T cs = (T)cos(degrees); + T sn = (T)sin(degrees); + Z -= center.Z; + Y -= center.Y; + set(X, Y*cs - Z*sn, Y*sn + Z*cs); + Z += center.Z; + Y += center.Y; + } + + //! Returns interpolated vector. + /** \param other: other vector to interpolate between + \param d: value between 0.0f and 1.0f. */ + vec3d getInterpolated(const vec3d& other, ik_f32 d) const + { + ik_f32 inv = 1.0f - d; + return vec3d(other.X*inv + X*d, + other.Y*inv + Y*d, + other.Z*inv + Z*d); + } + + //! Gets the Y and Z rotations of a vector. + /** Thanks to Arras on the Irrlicht forums to add this method. + \return A vector representing the rotation in degrees of + this vector. The Z component of the vector will always be 0. */ + vec3d getHorizontalAngle() + { + vec3d angle; + + angle.Y = (T)atan2(X, Z); + angle.Y *= (ik_f32)IK_RADTODEG; + + if (angle.Y < 0.0f) angle.Y += 360.0f; + if (angle.Y >= 360.0f) angle.Y -= 360.0f; + + ik_f32 z1 = (T)sqrt(X*X + Z*Z); + + angle.X = (T)atan2(z1, Y); + angle.X *= (ik_f32)IK_RADTODEG; + angle.X -= 90.0f; + + if (angle.X < 0.0f) angle.X += 360.0f; + if (angle.X >= 360) angle.X -= 360.0f; + + return angle; + } + + //! Fills an array of 4 values with the vector data (usually floats). + /** Useful for setting in shader constants for example. The fourth value + will always be 0. */ + void getAs4Values(T* array) + { + array[0] = X; + array[1] = Y; + array[2] = Z; + array[3] = 0; + } + + + // member variables + + T X, Y, Z; + }; + + + //! Typedef for a ik_f32 3d vector, a vector using floats for X, Y and Z + typedef vec3d vec3df; + + //! Typedef for an integer 3d vector, a vector using ints for X, Y and Z + typedef vec3d vec3di; + + template vec3d operator*(const S scalar, const vec3d& vector) { return vector*scalar; } + +} // end namespace irrklang + + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/include/irrKlang.h b/SQCSim2021/external/irrKlang-1.6.0/include/irrKlang.h new file mode 100644 index 0000000..33f9ea0 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/include/irrKlang.h @@ -0,0 +1,1040 @@ +/* irrKlang.h -- interface of the 'irrKlang' library + + Copyright (C) 2002-2018 Nikolaus Gebhardt + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. +*/ + +#ifndef __IRR_KLANG_H_INCLUDED__ +#define __IRR_KLANG_H_INCLUDED__ + +#include "ik_irrKlangTypes.h" +#include "ik_vec3d.h" + +#include "ik_IRefCounted.h" +#include "ik_IVirtualRefCounted.h" + +#include "ik_ESoundOutputDrivers.h" +#include "ik_ESoundEngineOptions.h" +#include "ik_EStreamModes.h" +#include "ik_SAudioStreamFormat.h" +#include "ik_ISoundEngine.h" +#include "ik_ISoundSource.h" +#include "ik_ISound.h" +#include "ik_IAudioStream.h" +#include "ik_IAudioStreamLoader.h" +#include "ik_ISoundEffectControl.h" +#include "ik_ISoundStopEventReceiver.h" +#include "ik_IFileFactory.h" +#include "ik_IFileReader.h" +#include "ik_ISoundDeviceList.h" +#include "ik_IAudioRecorder.h" +#include "ik_ISoundMixedOutputReceiver.h" + +//! irrKlang Version +#define IRR_KLANG_VERSION "1.6.0" + +/*! \mainpage irrKlang 1.6.0 API documentation + * + *
+ + * \section contents Contents + * General:
+ * @ref intro
+ * @ref features
+ * @ref links
+ * @ref tipsandtricks
+ *
+ * Programming irrKlang:
+ * @ref concept
+ * @ref playingSounds
+ * @ref changingSounds
+ * @ref soundSources
+ * @ref sound3d
+ * @ref removingSounds
+ * @ref events
+ * @ref memoryPlayback
+ * @ref effects
+ * @ref fileOverriding
+ * @ref audioDecoders
+ * @ref plugins
+ * @ref staticLib
+ * @ref enumeratingDevices
+ * @ref recordingAudio
+ * @ref unicode
+ *
+ * Short full examples:
+ * @ref quickstartexample
+ * @ref quickstartexample2
+ *
+ *
+ * + * \section intro Introduction + * + * Welcome to the irrKlang API documentation. This page should give you a short overview + * over irrKlang, the high level audio library. + * In this documentation files you'll find any information you'll need to develop applications with + * irrKlang using C++. If you are looking for a tutorial on how to start, you'll + * find some on the homepage of irrKlang at + *
http://www.ambiera.com/irrklang + * or inside the SDK in the directory \examples. + * + * The irrKlang library is intended to be an easy-to-use 3d and 2d sound engine, so + * this documentation is an important part of it. If you have any questions or + * suggestions, please take a look into the ambiera.com forum or just send a mail. + * + *
+ *
+ * + * + * \section features Features of irrKlang + * + * irrKlang is a high level 2D and 3D + * cross platform sound engine and audio library. + * It has a very simply object orientated interface and was designed to be used + * in games, scientific simulations, architectural visualizations and similar. + * irrKlang plays several file formats such as + *
    + *
  • RIFF WAVE (*.wav)
  • + *
  • Ogg Vorbis (*.ogg)
  • + *
  • MPEG-1 Audio Layer 3 (*.mp3)
  • + *
  • Free Lossless Audio Codec (*.flac)
  • + *
  • Amiga Modules (*.mod)
  • + *
  • Impulse Tracker (*.it)
  • + *
  • Scream Tracker 3 (*.s3d)
  • + *
  • Fast Tracker 2 (*.xm)
  • + *
+ * It is also able to run on different operating systems and use several output drivers: + *
    + *
  • Windows 98, ME, NT 4, 2000, XP, Vista, Windows 7, Windows 8
  • + *
      + *
    • DirectSound
    • + *
    • DirectSound8
    • + *
    • WinMM
    • + *
    + *
  • Linux / *nix
  • + *
      + *
    • ALSA
    • + *
    + *
  • MacOSX (x86 and PPC)
  • + *
      + *
    • CoreAudio
    • + *
    + *
+ *
+ *
+ *
+ * + * + * + * \section links Links into the API documentation + * + * irrklang::ISoundEngine: The main class of irrKlang.
+ * Class list: List of all classes with descriptions.
+ * Class members: Good place to find forgotten features.
+ *
+ *
+ *
+ * + * + * + * \section tipsandtricks Tips and Tricks + * + * This section lists a few tips you might consider when implementing the sound part of your application + * using irrKlang: + * + *
    + *
  • If you can choose which audio file format is the primary one for your application, + * use .OGG files, instead of for example .MP3 files. irrKlang uses a lot less memory + * and CPU power when playing .OGGs.
  • + *
  • To keep your application simple, each time you play a sound, you can use for example + * play2D("filename.mp3") and let irrKlang handle the rest. There is no need to implement + * a preloading/caching/file management system for the audio playback. irrKlang will handle + * all this by itself and will never load a file twice.
  • + *
  • irrKlang is crashing in your application? This should not happen, irrKlang is pretty stable, + * and in most cases, this is a problem in your code: In a lot of cases the reason is simply + * a wrong call to irrklang::IRefCounted::drop(). Be sure you are doing it correctly. (If you are unsure, + * tempoarily remove all calls to irrklang::IRefCounted::drop() and see if this helps.)
  • + *
+ * + *
+ *
+ *
+ *
+ * + * + * + * \section concept Starting up the Engine + * + * irrKlang is designed so that it is very easy to achieve everything, its interface should + * be very simple to use. The @ref quickstartexample shows how to play and mp3 file, and there + * is another example, @ref quickstartexample2, showing some few more details.
+ * To start up the sound engine, you simply need to call createIrrKlangDevice(). To shut it down, + * call IRefCounted::drop(): + * + * \code + * #include + * + * // ... + * + * // start up the engine + * irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice(); + * + * // ... + * + * // after finished, + * // close the engine again, similar as calling 'delete' + * engine->drop(); + * \endcode + * + * The createIrrKlangDevice() function also accepts several parameters, so that you can + * specify which sound driver should be used, if plugins should be used, if irrKlang + * should run in multithreaded mode, and similar. + *
+ *
+ *
+ *
+ * + * + * + * \section playingSounds Playing Sounds + * + * Once you have irrKlang running (like in @ref concept), you can start playing sounds: + * + * \code + * engine->play2D("someSoundFile.wav"); + * \endcode + * + * This works with all supported file types. You can replace "someSoundFile.wav" with + * "someSoundFile.mp3", or "someSoundFile.ogg", for example.
+ * To play a sound looped, set the second parameter to 'true': + * + * \code + * engine->play2D("myMusic.mp3", true); + * \endcode + * + * To stop this looping sound again, use engine->\link irrklang::ISoundEngine::stopAllSounds stopAllSounds()\endlink to stop all sounds, or + * irrklang::ISound::stop() if you only want to stop that single sound. @ref changingSounds + * shows how to get to that ISound interface. + *
+ *
+ *
+ *
+ * + * + * \section changingSounds Influencing Sounds during Playback + * To influence parameters of the sound such as pan, volume or playback speed during runtime, + * to get the play position or stop playback of single playing sounds, + * you can use the irrklang::ISound interface. + * irrklang::ISoundEngine::play2D (but also play3D) returns + * a pointer to this interface when its third ('startPaused') or fourth ('track') parameter + * was set to true: + * + * \code + * irrklang::ISound* snd = engine->play2D("myMusic.mp3", true, false, true); + * + * // ... + * + * if (snd) + * snd->setVolume(someNewValue); + * + * // ... + * + * if (snd) + * { + * snd->drop(); // don't forget to release the pointer once it is no longer needed by you + * snd = 0; + * } + * \endcode + * + * The irrklang::ISound interface can also be used to test if the sound has been finished, + * set event receivers, pause and unpause sounds and similar. + *
+ *
+ *
+ *
+ * + * + * \section soundSources Using Sound Sources + * + * To be more flexible playing back sounds, irrKlang uses the concept of sound sources. + * A sound source can be simply the name of a sound file, such as "sound.wav". It is possible + * to add "sound.wav" as sound source to irrKlang, and play it using the sound source pointer: + * + * \code + * irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); + * + * engine->play2D(shootSound); + * + * // note: you don't need to drop() the shootSound if you don't use it anymore + * \endcode + * + * The advantage of using irrklang::ISoundSource is that it is possible to set + * default values for this source, such + * as volume or distances if it should be used as 3D sound: + * + * \code + * irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); + * + * shootSound->setDefaultVolume(0.5f); + * + * // shootSound will now be played with half its sound volume by default: + * engine->play2D(shootSound); + * \endcode + * + * It is also possible to have multiple settings for the same sound file: + * + * \code + * irrklang::ISoundSource* shootSound = engine->addSoundSourceFromFile("shoot.wav"); + * irrklang::ISoundSource* shootSound2 = engine->addSoundSourceAlias(shootSound, "silentShoot"); + * + * shootSound2->setDefaultVolume(0.1f); + * + * // shootSound will now be played with 100% of its sound volume by default, + * // shootSound2 will now be played 10% of its sound volume by default. It is + * // also possible to play it using engine->play("silentShoot"), now. + * \endcode + * + * Using addSoundSourceFromMemory(), it is also possible to play sounds back directly from memory, + * without files. + * Of course, it is not necessary to use sound sources. Using irrklang::ISound, it is + * possible to change the settings of all sounds, too. But using sound sources, it is + * not necessary to do this every time a sound is played. + *
+ *
+ *
+ *
+ * + * + * + * \section sound3d 3D Sound + * + * There is nothing difficult in playing sounds in 3D using irrKlang: Instead of using + * irrklang::ISoundEngine::play2D(), just use irrklang::ISoundEngine::play3D(), which + * takes a 3D position as additional parameter: + * + * \code + * irrklang::vec3df position(23,70,90); + * engine->play3D("yourSound.wav", position); + * \endcode + * + * But to make it sound realistic, you need to set a minimal sound + * distance: If your sound is caused by a bee, it will usually have a smaller + * sound radius than for example a jet engine. You can set default values using sound sources + * (see @ref soundSources) or set these values after you have started the sound paused: + * + * \code + * irrklang::vec3df position(23,70,90); + * + * // start the sound paused: + * irrklang::ISound* snd = engine->play3D("yourSound.wav", position, false, true); + * + * if (snd) + * { + * snd->setMinDistance(30.0f); // a loud sound + * snd->setIsPaused(false); // unpause the sound + * } + * \endcode + * + * There is also the possibility to change the maxDistance, but it is only necessary to change this + * in very rare cicumstances. + * If the sound moves, it is also a good idea to update its position from time to time: + * + * \code + * if (snd) + * snd->setPosition(newPosition); + * \endcode + * + * And don't forget to drop() the sound after you don't need it anymore. If you do, it's + * nothing severe because irrKlang will still clean up the sounds resources after it has + * finished, but you still would waste some few bytes of memory: + * + * \code + * if (snd) + * { + * snd->drop(); + * snd = 0; + * } + * \endcode + * + * To update the position of yourself, the listener of the 3D sounds, use this from + * time to time: + * + * \code + * irrklang::vec3df position(0,0,0); // position of the listener + * irrklang::vec3df lookDirection(10,0,10); // the direction the listener looks into + * irrklang::vec3df velPerSecond(0,0,0); // only relevant for doppler effects + * irrklang::vec3df upVector(0,1,0); // where 'up' is in your 3D scene + * + * engine->setListenerPosition(position, lookDirection, velPerSecond, upVector); + * \endcode + * + *
+ *
+ *
+ *
+ * + * + * \section removingSounds Removing Sounds + * + * irrKlang manages the memory usage of sounds by itself, so usually, you don't have + * to care about memory management. But if you know you need to reduce the + * amount of used memory at a certain point in your program, you can do this: + * + * \code + * engine->removeAllSoundSources(); + * \endcode + * + * This will remove all sounds and also cause all sounds to be stopped. To remove single + * sounds from the engine, use: + * + * \code + * engine->removeSoundSource(pointerToSomeSoundSource); + * // or: + * engine->removeSoundSource("nameOfASoundFile.wav"); + * \endcode + * + * Note: Only removing buffered sounds will reduce the amount of memory used by irrKlang, streamed + * sounds don't occupy a lot of memory when they are not played. + *
+ *
+ *
+ *
+ * + * + * + * \section events Using Sound Events + * + * In order to wait for a sound to be finished, it is simply possible to + * poll irrklang::ISound::isFinished(). Another way would be to constantly use + * irrklang::ISoundEngine::isCurrentlyPlaying to test wether a sound with that name or source + * is currently playing. But of course, an event based approach is a lot nicer. That's why irrKlang + * supports sound events.
+ * The key to sound events is the method + * \link irrklang::ISound::setSoundStopEventReceiver setSoundStopEventReceiver \endlink + * of the irrklang::ISound interface + * (See @ref changingSounds on how to get the ISound interface): + * + * \code + * irrklang::ISound* snd = engine->play2D("speech.mp3", false, false, true); + * if (snd) + * snd->setSoundStopEventReceiver(yourEventReceiver, 0); + * \endcode + * + * The optional second parameter of setSoundStopEventReceiver is a user pointer, set it to whatever you like. + * 'yourEventReceiver' must be an implementation of the irrklang::ISoundStopEventReceiver interface.
+ * A whole implementation could look like this: + * + * \code + * class MySoundEndReceiver : public irrklang::ISoundStopEventReceiver + * { + * public: + * virtual void OnSoundStopped (irrklang::ISound* sound, irrklang::E_STOP_EVENT_CAUSE reason, void* userData) + * { + * // called when the sound has ended playing + * printf("sound has ended"); + * } + * } + * + * // ... + * + * MySoundEndReceiver* myReceiver = new MySoundEndReceiver(); + * irrklang::ISound* snd = engine->play2D("speech.mp3", false, false, true); + * if (snd) + * snd->setSoundStopEventReceiver(myReceiver); + * + * myReceiver->drop(); // similar to delete + * \endcode + * + * The irrklang::ISoundStopEventReceiver::OnSoundStopped() method is guaranteed to be called when a sound or sound stream has stopped, + * either because the sound reached its playback end, its sound source was removed, + * ISoundEngine::stopAllSounds() has been called or the whole engine was deleted. + *
+ *
+ *
+ *
+ * + * + * + * \section memoryPlayback Memory Playback + * + * Using irrKlang, it is easily possible to play sounds directly from memory instead out of + * files. There is an example project showing this: In the SDK, in /examples/03.MemoryPlayback. + * But in short, it simply works by adding the memory as sound source (See @ref soundSources for + * details about sound sources): + * + * \code + * engine->addSoundSourceFromMemory(pointerToMemory, memorySize, "nameforthesound.wav"); + * + * // play sound now + * engine->play2D("nameforthesound.wav"); + * \endcode + * + * Or using a sound source pointer: + * + * \code + * irrklang::ISoundSource* snd = + * engine->addSoundSourceFromMemory(pointerToMemory, memorySize, "nameforthesound.wav"); + * + * // play sound now + * engine->play2D(snd); + * \endcode + * + * Note: It is also possible to overwrite the file access directly, don't use this Memory Playback + * feature for this. See @ref fileOverriding for details. + *
+ *
+ *
+ *
+ * + * + * + * \section effects Sound Effects + * + * irrKlang supports the effects Chorus, Compressor, Distortion, Echo, Flanger + * Gargle, 3DL2Reverb, ParamEq and WavesReverb, when using the sound driver + * irrklang::ESOD_DIRECT_SOUND_8, which selected by default when using Windows.
+ * + * Using the irrklang::ISound interface, you can optain the irrklang::ISoundEffectControl + * interface if the sound device supports sound effects and the last parameter ('enableSoundEffects') + * was set to true when calling play2D(): + * + * \code + * irrklang::ISound* snd = engine->play2D("sound.wav", true, false, true, ESM_AUTO_DETECT, true); + * + * if (snd) + * { + * irrklang::ISoundEffectControl* fx = snd->getSoundEffectControl(); + * if (fx) + * { + * // enable the echo sound effect for this sound + * fx->enableEchoSoundEffect(); + * } + * } + * + * snd->drop(); + * \endcode + * + * This enabled the echo sound effect for this sound. The method also supports a lot of + * parameters, and can be called multiple times to change those parameters over time if wished. + * There are a lot of other sound effects, see irrklang::ISoundEffectControl for details. + *
+ *
+ *
+ *
+ * + * + * + * \section fileOverriding Overriding File Access + * + * It is possible to let irrKlang use your own file access functions. + * This is useful if you want to read sounds from other sources than + * just files, for example from custom internet streams or + * an own encypted archive format. There is an example in the SDK in + * examples/04.OverrideFileAccess which shows this as well.
+ * + * The only thing to do for this is to implement your own irrklang::IFileFactory, + * and set it in irrKlang using irrklang::ISoundEngine::addFileFactory(): + * + * \code + * // a class implementing the IFileFactory interface to override irrklang file access + * class CMyFileFactory : public irrklang::IFileFactory + * { + * public: + * + * // Opens a file for read access. Simply return 0 if file not found. + * virtual irrklang::IFileReader* createFileReader(const ik_c8* filename) + * { + * // return your own irrklang::IFileReader implementation here, for example like that: + * return new CMyReadFile(filename); + * } + * }; + * + * // ... + * + * CMyFileFactory* myFactory = new CMyFileFactory(); + * engine->addFileFactory(myFactory); + * myFactory->drop(); + * \endcode + * + * For a full example implementation, just take a look into the SDK in examples/04.OverrideFileAccess. + *
+ *
+ *
+ *
+ * + * + * + * \section audioDecoders Adding Audio Decoders + * + * To add support for new file formats, it is possible to add new audio decoders + * to irrKlang. + * The only thing to do for this is to implement your own irrklang::IAudioStreamLoader, + * and irrklang::IAudioStream, and set it in irrKlang using + * irrklang::ISoundEngine::registerAudioStreamLoader(): + * + * \code + * class NewAudioStreamLoader : public irrklang::IAudioStreamLoader + * { + * // ... returns NewAudioDecoder and the used file name suffices. + * }; + * + * class NewAudioDecoder : public irrklang::IAudioStream + * { + * public: + * // ... decodes the new file format + * }; + * + * // ... + * + * NewAudioDecoder* loader = new NewAudioDecoder(); + * engine->registerAudioStreamLoader(loader); + * loader->drop(); + * \endcode + * + * There is an example audio decoder and loader with full source in plugins/ikpMP3, which + * adds MP3 audio decoding capabilities to irrKlang. + *
+ *
+ *
+ *
+ * + * + * + * \section plugins Creating irrKlang Plugins + * + * irrKlang plugins are ikp*.dll (Windows), ikp*.so (Unix) or ikp*.dylib (MacOS) + * files which are loaded by irrKlang at startup when the + * irrklang::ESEO_LOAD_PLUGINS was set (which is default) or + * irrklang::ISoundEngine::loadPlugins() was called.
+ * + * The plugin only needs to contain the following function which will be called by irrKlang: + * + * \code + * #ifdef WIN32 + * // Windows version + * __declspec(dllexport) void __stdcall irrKlangPluginInit(ISoundEngine* engine, const char* version) + * #else + * // Linux and Mac OS version + * void irrKlangPluginInit(ISoundEngine* engine, const char* version) + * #endif + * { + * // your implementation here + * } + * \endcode + * + * In there, it is for example possible to extend irrKlang with new audio decoders, + * see @ref audioDecoders for details.
+ * + * There is an example plugin with full source in plugins/ikpMP3, which + * adds MP3 audio decoding capabilities to irrKlang. + *
+ *
+ *
+ *
+ * + * + * + * \section staticLib Using irrKlang as static Lib + * + * If you don't want to use the irrKlang.DLL file and link irrKlang statically, you can do this + * by simply linking to the irrKlang.lib in the bin/win32-visualstudio_lib folder. This folder + * will only available in the pro versions of irrKlang, which you get when purchasing an irrKlang + * license. + * + * To use irrKlang in this way, just define IRRKLANG_STATIC before including irrklang.h, like this: + * + * \code + * #define IRRKLANG_STATIC + * #include + * \endcode + * + * Of course, IRRKLANG_STATIC can also simply be defined in the project/compiler settings instead of + * in the source file. + *
+ *
+ *
+ *
+ * + * + * + * \section enumeratingDevices Enumerating sound devices + * + * irrKlang uses the default sound device when playing sound when started without parameters. But if you want + * irrKlang to playback sound on one specific sound device, you may want to enumerate the available + * sound devices on your system and select one of them. Use irrklang::createSoundDeviceList() for this. + * This example code shows how to print a list of all available sound devices on the current system and lets + * the user choose one of them: + * + * \code + * int main(int argc, const char** argv) + * { + * // enumerate devices + * + * irrklang::ISoundDeviceList* deviceList = createSoundDeviceList(); + * + * // ask user for a sound device + * + * printf("Devices available:\n\n"); + * + * for (int i=0; igetDeviceCount(); ++i) + * printf("%d: %s\n", i, deviceList->getDeviceDescription(i)); + * + * printf("\nselect a device using the number (or press any key to use default):\n\n"); + * int deviceNumber = getch() - '0'; + * + * // create device with the selected driver + * + * const char* deviceID = deviceList->getDeviceID(deviceNumber); + * + * ISoundEngine* engine = createIrrKlangDevice(irrklang::ESOD_AUTO_DETECT, + * irrklang::ESEO_DEFAULT_OPTIONS, + * deviceID); + * + * deviceList->drop(); // delete device list + * + * // ... use engine now + * } + * \endcode + * + * In this way, it is also possible to play back sound using two devices at the same time: Simply + * create two irrKlang devices with each a different deviceID.
+ * Note: createSoundDeviceList() takes a driver type parameter (such as irrklang::ESOD_DIRECT_SOUND8), which you + * have to set to the same value as the first parameter you want to use with createIrrKlangDevice(), if it is + * other than irrklang::ESOD_AUTO_DETECT. + *
+ *
+ *
+ *
+ * + * + * + * \section recordingAudio Recording Audio + * + * irrKlang is able to record audio from sound capturing devices such as microphones (currently only + * supported in windows). Use the irrklang::IAudioRecorder interface to do this. The following example shows how + * to record some audio and play it back again using the engine: + * + * \code + * int main(int argc, const char** argv) + * { + * irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice(); + * irrklang::IAudioRecorder* recorder = irrklang::createIrrKlangAudioRecorder(engine); + * + * if (!engine || !recorder) + * { + * printf("Could not create audio engine or audio recoder\n"); + * return 1; + * } + * + * printf("\nPress any key to start recording audio...\n"); + * getch(); + * + * // record some audio + * + * recorder->startRecordingBufferedAudio(); + * + * printf("\nRECORDING. Press any key to stop...\n"); + * getch(); + * + * recorder->stopRecordingAudio(); + * + * printf("\nRecording done, recorded %dms of audio.\n", + * recorder->getAudioFormat().FrameCount * 1000 / recorder->getAudioFormat().SampleRate ); + * printf("Press any key to play back recorded audio...\n"); + * getch(); + * + * // play the recorded audio + * recorder->addSoundSourceFromRecordedAudio("myRecordedVoice"); + * engine->play2D("myRecordedVoice", true); + * + * // wait until user presses a key + * printf("\nPress any key to quit..."); + * getch(); + * + * recorder->drop(); + * engine->drop(); // delete engine + * + * return 0; + * } + * \endcode + * + * In order to select a specific audio capturing device for recording, it is necessary to enumerate + * the available devices. Simply replace the first to lines of code of the example above with code + * like this to list all devices and select one: + * + * \code + * // enumerate recording devices and ask user to select one + * + * irrklang::ISoundDeviceList* deviceList = irrklang::createAudioRecorderDeviceList(); + * + * printf("Devices available:\n\n"); + * + * for (int i=0; igetDeviceCount(); ++i) + * printf("%d: %s\n", i, deviceList->getDeviceDescription(i)); + * + * printf("\nselect a device using the number (or press any key to use default):\n\n"); + * int deviceNumber = getch() - '0'; + * + * // create recording device with the selected driver + * + * const char* deviceID = deviceList->getDeviceID(deviceNumber); + * irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice(); + * irrklang::IAudioRecorder* recorder = + * irrklang::createIrrKlangAudioRecorder(engine, irrklang::ESOD_AUTO_DETECT, deviceID); + * + * \endcode + * + *
+ *
+ *
+ *
+ * + * + * \section unicode Unicode support + * + * irrKlang supports unicode on all operating systems. Internally, it uses UTF8, and all functions accepting strings + * and file names take UTF8 strings. If you are running irrKlang on Windows, and are using the UNICODE define or using + * wchar_t* strings directly, you can do this as well. Use the irrKlang provided function makeUTF8fromUTF16string() to + * convert your wchar_t* string to a char* string. + * + * This example shows how: + * + * \code + * const wchar_t* yourFilename = L"SomeUnicodeFilename.wav"; // assuming this is the file name you get from some of your functions + * + * const int nBufferSize = 2048; // large enough, but best would be wcslen(yourFilename)*3. + * char strBuffer[nBufferSize]; + * irrklang::makeUTF8fromUTF16string(yourFilename, strBuffer, nBufferSize); + * + * // now the converted file name is in strBuffer. We can play it for example now: + * engine->play2D(strBuffer); + * \endcode + * + * Of course, you can use any other unicode converion function for this. makeUTF8fromUTF16string() is only provided + * for convenience. + *
+ *
+ *
+ *
+ * + * + * + * + * + * \section quickstartexample Quick Start Example + * + * To simply start the engine and play a mp3 file, use code like this: + * + * \code + * #include + * #include + * #pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + * + * int main(int argc, const char** argv) + * { + * irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice(); + * if (!engine) return 1; // could not start engine + * + * engine->play2D("someMusic.mp3", true); // play some mp3 file, looped + * + * std::cin.get(); // wait until user presses a key + * + * engine->drop(); // delete engine + * return 0; + * } + * \endcode + * + * A mp3 file is being played until the user presses enter in this example. + * As you can see, irrKlang uses namespaces, all of + * the classes are located in the namespace irrklang. If you don't want to write + * this in front of every class and function you are using, simply write + * + * \code + * using namespace irrklang; + * \endcode + * in front of your code, as also shown in the next example. + *
+ *
+ *
+ *
+ * + * + * + * \section quickstartexample2 Quick Start Example 2 + * + * The following is a simple interactive application, starting up the sound engine and + * playing some streaming .ogg music file and a .wav sound effect every time the user + * presses a key. + * + * \code + * #include + * #include + * using namespace irrklang; + * + * #pragma comment(lib, "irrKlang.lib") // link with irrKlang.dll + * + * + * int main(int argc, const char** argv) + * { + * // start the sound engine with default parameters + * ISoundEngine* engine = createIrrKlangDevice(); + * + * if (!engine) + * return 0; // error starting up the engine + * + * // play some sound stream, looped + * engine->play2D("../../media/helltroopers.ogg", true); + * + * std::cout << "\nHello World!\n"; + * + * char i = 0; + * + * while(i != 'q') + * { + * std::cout << "Press any key to play some sound, press 'q' to quit.\n"; + * + * // play a single sound + * engine->play2D("../../media/bell.wav"); + * + * std::cin >> i; // wait for user to press some key + * } + * + * engine->drop(); // delete engine + * return 0; + * } + * + * \endcode + */ + +#if defined(IRRKLANG_STATIC) + #define IRRKLANG_API +#else + #if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER)) + #ifdef IRRKLANG_EXPORTS + #define IRRKLANG_API __declspec(dllexport) + #else + #define IRRKLANG_API __declspec(dllimport) + #endif // IRRKLANG_EXPORT + #else + #define IRRKLANG_API __attribute__((visibility("default"))) + #endif // defined(WIN32) || defined(WIN64) +#endif // IRRKLANG_STATIC + +#if defined(_STDCALL_SUPPORTED) +#define IRRKLANGCALLCONV __stdcall // Declare the calling convention. +#else +#define IRRKLANGCALLCONV +#endif // STDCALL_SUPPORTED + +//! Everything in the irrKlang Sound Engine can be found in this namespace. +namespace irrklang +{ + //! Creates an irrKlang device. The irrKlang device is the root object for using the sound engine. + /** \param driver The sound output driver to be used for sound output. Use irrklang::ESOD_AUTO_DETECT + to let irrKlang decide which driver will be best. + \param options A combination of irrklang::E_SOUND_ENGINE_OPTIONS literals. Default value is + irrklang::ESEO_DEFAULT_OPTIONS. + \param deviceID Some additional optional deviceID for the audio driver. If not needed, simple + set this to 0. + This can be used for example to set a specific ALSA output pcm device for output + ("default" or "hw", for example). For most driver types, available deviceIDs can be + enumerated using createSoundDeviceList(). + See @ref enumeratingDevices for an example or ISoundDeviceList or details. + \param sdk_version_do_not_use Don't use or change this parameter. Always set it to + IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks. + \return Returns pointer to the created irrKlang device or null if the + device could not be created. If you don't need the device, use ISoundEngine::drop() to + delete it. See IRefCounted::drop() for details. + */ + IRRKLANG_API ISoundEngine* IRRKLANGCALLCONV createIrrKlangDevice( + E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, + int options = ESEO_DEFAULT_OPTIONS, + const char* deviceID = 0, + const char* sdk_version_do_not_use = IRR_KLANG_VERSION); + + + //! Creates a list of available sound devices for the driver type. + /** The device IDs in this list can be used as parameter to createIrrKlangDevice() to + make irrKlang use a special sound device. See @ref enumeratingDevices for an example on how + to use this. + \param driver The sound output driver of which the list is generated. Set it irrklang::ESOD_AUTO_DETECT + to let this function use the same device as createIrrKlangDevice() would choose. + \param sdk_version_do_not_use Don't use or change this parameter. Always set it to + IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks. + \return Returns a pointer to the list of enumerated sound devices for the selected sound driver. + The device IDs in this list can be used as parameter to createIrrKlangDevice() to + make irrKlang use a special sound device. + After you don't need the list anymore, call ISoundDeviceList::drop() in order to free its memory. */ + IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createSoundDeviceList( + E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, + const char* sdk_version_do_not_use = IRR_KLANG_VERSION); + + + //! Creates an irrKlang audio recording device. The IAudioRecorder is the root object for recording audio. + /** If you want to play back recorded audio as well, create the ISoundEngine first using + createIrrKlangDevice() and then the IAudioRecorder using createIrrKlangAudioRecorder(), where + you set the ISoundEngine as first parameter. See @ref recordingAudio for an example on how to use this. + Note: audio recording is a very new feature a still beta in irrKlang. It currently only works in Windows + and with DirectSound (subject to change). + \param irrKlangDeviceForPlayback A pointer to the already existing sound device used for playback + of audio. Sound sources recorded with the IAudioRecorder will be added into that device so that + they can be played back there. + \param driver The sound output driver to be used for recording audio. Use irrklang::ESOD_AUTO_DETECT + to let irrKlang decide which driver will be best. + \param deviceID Some additional optional deviceID for the audio driver. If not needed, simple + set this to 0. Use createAudioRecorderDeviceList() to get a list of all deviceIDs. + \param sdk_version_do_not_use Don't use or change this parameter. Always set it to + IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks. + \return Returns pointer to the created irrKlang device or null if the + device could not be created. If you don't need the device, use ISoundEngine::drop() to + delete it. See IRefCounted::drop() for details. + */ + IRRKLANG_API IAudioRecorder* IRRKLANGCALLCONV createIrrKlangAudioRecorder( + ISoundEngine* irrKlangDeviceForPlayback, + E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, + const char* deviceID = 0, + const char* sdk_version_do_not_use = IRR_KLANG_VERSION); + + //! Creates a list of available recording devices for the driver type. + /** The device IDs in this list can be used as parameter to createIrrKlangAudioRecorder() to + make irrKlang use a special recording device. + \param driver The sound output driver of which the list is generated. Set it irrklang::ESOD_AUTO_DETECT + to let this function use the same device as createIrrKlangDevice() would choose. + \param sdk_version_do_not_use Don't use or change this parameter. Always set it to + IRRKLANG_SDK_VERSION, which is done by default. This is needed for sdk version checks. + \return Returns a pointer to the list of enumerated recording devices for the selected sound driver. + The device IDs in this list can be used as parameter to createIrrKlangAudioRecorder() to + make irrKlang use a special sound device. + After you don't need the list anymore, call ISoundDeviceList::drop() in order to free its memory. */ + IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createAudioRecorderDeviceList( + E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, + const char* sdk_version_do_not_use = IRR_KLANG_VERSION); + + + //! Converts a wchar_t string to an utf8 string, useful when using Windows in unicode mode. + /** irrKlang works with unicode file names, and accepts char* strings as parameters for names and filenames. + If you are running irrKlang in Windows, and working with wchar_t* pointers instead of char* ones, + you can use this function to create a char* (UTF8) representation of your wchar_t* (UTF16) string. + Works for filenames and other strings. + \param pInputString zero terminated input string. + \param pOutputBuffer the buffer where the converted string is written to. Be sure that this buffer + has a big enough size. A good size would be three times the string length of your input buffer, like + wcslen(yourInputBuffer)*3. Because each wchar_t can be represented by up to 3 chars. + \param outputBufferSize size of your output buffer. + \return Returns true if successful, and false if not. If 'false' is returned, maybe your buffer was too small. */ + IRRKLANG_API bool IRRKLANGCALLCONV makeUTF8fromUTF16string( + const wchar_t* pInputString, char* pOutputBuffer, int outputBufferSize); + + +} // end namespace irrklang + + +/*! \file irrKlang.h + \brief Main header file of the irrKlang sound library, the only file needed to include. +*/ + +#endif + diff --git a/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.a b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.a new file mode 100644 index 0000000..8f1c08f Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.a differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.def b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.def new file mode 100644 index 0000000..54a8fea --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-gcc/libirrKlang.def @@ -0,0 +1,5 @@ +EXPORTS + _ZN8irrklang20createIrrKlangDeviceENS_21E_SOUND_OUTPUT_DRIVEREiPKcS2_ @1 + _ZN8irrklang21createSoundDeviceListENS_21E_SOUND_OUTPUT_DRIVEREPKc @2 + _ZN8irrklang27createIrrKlangAudioRecorderEPNS_12ISoundEngineENS_21E_SOUND_OUTPUT_DRIVEREPKcS4_ @3 + _ZN8irrklang29createAudioRecorderDeviceListENS_21E_SOUND_OUTPUT_DRIVEREPKc @4 diff --git a/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.exp b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.exp new file mode 100644 index 0000000..32f73ac Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.exp differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.lib b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.lib new file mode 100644 index 0000000..aea3031 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/lib/Win32-visualStudio/irrKlang.lib differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/MF-3DAYS.S3M b/SQCSim2021/external/irrKlang-1.6.0/media/MF-3DAYS.S3M new file mode 100644 index 0000000..6c31700 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/MF-3DAYS.S3M differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/MF-PANTS.MOD b/SQCSim2021/external/irrKlang-1.6.0/media/MF-PANTS.MOD new file mode 100644 index 0000000..b33bc10 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/MF-PANTS.MOD differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/MF-W-90.XM b/SQCSim2021/external/irrKlang-1.6.0/media/MF-W-90.XM new file mode 100644 index 0000000..e1f374b Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/MF-W-90.XM differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/bell.wav b/SQCSim2021/external/irrKlang-1.6.0/media/bell.wav new file mode 100644 index 0000000..71c73cf Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/bell.wav differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/explosion.wav b/SQCSim2021/external/irrKlang-1.6.0/media/explosion.wav new file mode 100644 index 0000000..c1f4995 Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/explosion.wav differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/getout.ogg b/SQCSim2021/external/irrKlang-1.6.0/media/getout.ogg new file mode 100644 index 0000000..f39d78b Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/getout.ogg differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/license.txt b/SQCSim2021/external/irrKlang-1.6.0/media/license.txt new file mode 100644 index 0000000..a83a20b --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/media/license.txt @@ -0,0 +1,155 @@ +The music files are out-takes of the following tracks: + +helltroopers.ogg +helltroopers.mp3 - Hell Troopers Main Title (c) 1999 Nikolaus Gebhardt + +ophelia.ogg +ophelia.mp3 - ophelias symphony, by Tomas PhUsIoN 2006 + see http://ccmixter.org/media/files/phusion/6442 + license: Creative Commons Attribution 2.5 (see below) + +getout.ogg +getout.mp3 - never get out, by tone_group 2007 + license: Creative Commons Attribution 2.5 (see below) + http://ccmixter.org/media/files/seb_grenning/8920 + license: Creative Commons Attribution 2.5 (see below) + +MF-3DAYS.S3M +MF-PANTS.MOD +MF-W-90.XM - Fred Scalliet also known as MAGIC FRED + http://www.commoncontent.org/catalog/audio/music/3083/ + http://fred.dsimprove.be/index2.php?menu=122 + license: Attribution-NonCommercial-ShareAlike 2.0 (see below) + and: http://fred.dsimprove.be/license.htm + + +================================================================================================== +Creative Commons + + +Attribution 2.5 +CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions +"Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. +"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. +"Licensor" means the individual or entity that offers the Work under the terms of this License. +"Original Author" means the individual or entity who created the Work. +"Work" means the copyrightable work of authorship offered under the terms of this License. +"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: +to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; +to create and reproduce Derivative Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. + +For the avoidance of doubt, where the work is a musical composition: +Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. +Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). +Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: +You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested. +If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination +This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. +Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous +Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. +Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. +If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. +No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. +This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + +Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + +Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. + +Creative Commons may be contacted at http://creativecommons.org/. +« Back to Commons Deed + + +================================================================================================== +Creative Commons + + +Attribution-NonCommercial-ShareAlike 2.0 +CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions +"Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. +"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. +"Licensor" means the individual or entity that offers the Work under the terms of this License. +"Original Author" means the individual or entity who created the Work. +"Work" means the copyrightable work of authorship offered under the terms of this License. +"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. +"License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, Noncommercial, ShareAlike. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: +to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; +to create and reproduce Derivative Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works; + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Sections 4(e) and 4(f). + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: +You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested. +You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-NonCommercial-ShareAlike 2.0 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. +You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works. +If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and give the Original Author credit reasonable to the medium or means You are utilizing by conveying the name (or pseudonym if applicable) of the Original Author if supplied; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +For the avoidance of doubt, where the Work is a musical composition: +Performance Royalties Under Blanket Licenses. Licensor reserves the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work if that performance is primarily intended for or directed toward commercial advantage or private monetary compensation. +Mechanical Rights and Statutory Royalties. Licensor reserves the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions), if Your distribution of such cover version is primarily intended for or directed toward commercial advantage or private monetary compensation. +Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor reserves the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions), if Your public digital performance is primarily intended for or directed toward commercial advantage or private monetary compensation. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination +This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. +Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous +Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. +Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. +If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. +No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. +This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + +Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + +Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. + +Creative Commons may be contacted at http://creativecommons.org/. diff --git a/SQCSim2021/external/irrKlang-1.6.0/media/ophelia.mp3 b/SQCSim2021/external/irrKlang-1.6.0/media/ophelia.mp3 new file mode 100644 index 0000000..854effb Binary files /dev/null and b/SQCSim2021/external/irrKlang-1.6.0/media/ophelia.mp3 differ diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.cpp b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.cpp new file mode 100644 index 0000000..448eac6 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.cpp @@ -0,0 +1,42 @@ +// Copyright (C) 2002-2007 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#include "CIrrKlangAudioStreamLoaderMP3.h" +#include "CIrrKlangAudioStreamMP3.h" +#include + + +namespace irrklang +{ + + +CIrrKlangAudioStreamLoaderMP3::CIrrKlangAudioStreamLoaderMP3() +{ +} + + +//! Returns true if the file maybe is able to be loaded by this class. +bool CIrrKlangAudioStreamLoaderMP3::isALoadableFileExtension(const ik_c8* fileName) +{ + return strstr(fileName, ".mp3") != 0; +} + + +//! Creates an audio file input stream from a file +IAudioStream* CIrrKlangAudioStreamLoaderMP3::createAudioStream(irrklang::IFileReader* file) +{ + CIrrKlangAudioStreamMP3* stream = new CIrrKlangAudioStreamMP3(file); + + if (stream && !stream->isOK()) + { + stream->drop(); + stream = 0; + } + + return stream; +} + + +} // end namespace irrklang + diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.h new file mode 100644 index 0000000..6c9ac77 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamLoaderMP3.h @@ -0,0 +1,32 @@ +// Copyright (C) 2002-2007 Nikolaus Gebhardt +// This file is part of the "irrKlang" library. +// For conditions of distribution and use, see copyright notice in irrKlang.h + +#ifndef __C_IRRKLANG_AUDIO_STREAM_LOADER_MP3_H_INCLUDED__ +#define __C_IRRKLANG_AUDIO_STREAM_LOADER_MP3_H_INCLUDED__ + +#include + +namespace irrklang +{ + //! Class which is able to create an audio file stream from a file. + class CIrrKlangAudioStreamLoaderMP3 : public IAudioStreamLoader + { + public: + + CIrrKlangAudioStreamLoaderMP3(); + + //! Returns true if the file maybe is able to be loaded by this class. + /** This decision should be based only on the file extension (e.g. ".wav") */ + virtual bool isALoadableFileExtension(const ik_c8* fileName); + + //! Creates an audio file input stream from a file + /** \return Pointer to the created audio stream. Returns 0 if loading failed. + If you no longer need the stream, you should call IAudioFileStream::drop(). + See IRefCounted::drop() for more information. */ + virtual IAudioStream* createAudioStream(irrklang::IFileReader* file); + }; + +} // end namespace irrklang + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.cpp b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.cpp new file mode 100644 index 0000000..0deed57 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.cpp @@ -0,0 +1,397 @@ +// Copyright (C) 2002-2007 Nikolaus Gebhardt +// Part of the code for this plugin for irrKlang is based on: +// MP3 input for Audiere by Matt Campbell , based on +// libavcodec from ffmpeg (http://ffmpeg.sourceforge.net/). +// See license.txt for license details of this plugin. + +#include "CIrrKlangAudioStreamMP3.h" +#include +#include // free, malloc and realloc +#include + +namespace irrklang +{ + +CIrrKlangAudioStreamMP3::CIrrKlangAudioStreamMP3(IFileReader* file) +: File(file), TheMPAuDecContext(0), InputPosition(0), InputLength(0), + DecodeBuffer(0), FirstFrameRead(false), EndOfFileReached(0), + FileBegin(0), Position(0) +{ + if (File) + { + File->grab(); + + TheMPAuDecContext = new MPAuDecContext(); + + if (!TheMPAuDecContext || mpaudec_init(TheMPAuDecContext) < 0) + { + File->drop(); + File = 0; + delete TheMPAuDecContext; + TheMPAuDecContext = 0; + return; + } + + // init, get format + + DecodeBuffer = new ik_u8[MPAUDEC_MAX_AUDIO_FRAME_SIZE]; + + if (File->getSize()>0) + { + // seekable file, now parse file to get size + // (needed to make it possible for the engine to loop a stream correctly) + + skipID3IfNecessary(); + + TheMPAuDecContext->parse_only = 1; + Format.FrameCount = 0; + + while(!EndOfFileReached) + { + if (!decodeFrame()) + break; + + Format.FrameCount += TheMPAuDecContext->frame_size; + + if (!EndOfFileReached /*&& File->isSeekable()*/ ) + { + // to be able to seek in the stream, store offsets and sizes + + SFramePositionData data; + data.size = TheMPAuDecContext->frame_size; + data.offset = File->getPos() - (InputLength - InputPosition) - TheMPAuDecContext->coded_frame_size; + + FramePositionData.push_back(data); + } + } + + TheMPAuDecContext->parse_only = 0; + setPosition(0); + } + else + decodeFrame(); // decode first frame to read audio format + + if (!TheMPAuDecContext->channels || + !TheMPAuDecContext->sample_rate ) + { + File->drop(); + File = 0; + delete TheMPAuDecContext; + TheMPAuDecContext = 0; + return; + } + } +} + +CIrrKlangAudioStreamMP3::~CIrrKlangAudioStreamMP3() +{ + if (File) + File->drop(); + + if (TheMPAuDecContext) + { + mpaudec_clear(TheMPAuDecContext); + delete TheMPAuDecContext; + } + + delete [] DecodeBuffer; +} + + + +//! returns format of the audio stream +SAudioStreamFormat CIrrKlangAudioStreamMP3::getFormat() +{ + return Format; +} + + +//! tells the audio stream to read n audio frames into the specified buffer +ik_s32 CIrrKlangAudioStreamMP3::readFrames(void* target, ik_s32 frameCountToRead) +{ + const int frameSize = Format.getFrameSize(); + + int framesRead = 0; + ik_u8* out = (ik_u8*)target; + + while (framesRead < frameCountToRead) + { + // no more samples? ask the MP3 for more + if (DecodedQueue.getSize() < frameSize) + { + if (!decodeFrame() || EndOfFileReached) + return framesRead; + + // if the buffer is still empty, we are done + if (DecodedQueue.getSize() < frameSize) + return framesRead; + } + + const int framesLeft = frameCountToRead - framesRead; + const int dequeSize = DecodedQueue.getSize() / frameSize; + const int framesToRead = framesLeft < dequeSize ? framesLeft : dequeSize; + + DecodedQueue.read(out, framesToRead * frameSize); + + out += framesToRead * frameSize; + framesRead += framesToRead; + Position += framesToRead; + } + + return framesRead; +} + + + +bool CIrrKlangAudioStreamMP3::decodeFrame() +{ + int outputSize = 0; + + while (!outputSize) + { + if (InputPosition == InputLength) + { + InputPosition = 0; + InputLength = File->read(InputBuffer, IKP_MP3_INPUT_BUFFER_SIZE); + + if (InputLength == 0) + { + EndOfFileReached = true; + return true; + } + } + + int rv = mpaudec_decode_frame( TheMPAuDecContext, (ik_s16*)DecodeBuffer, + &outputSize, + (ik_u8*)InputBuffer + InputPosition, + InputLength - InputPosition); + + if (rv < 0) + return false; + + InputPosition += rv; + } // end while + + if (!FirstFrameRead) + { + Format.ChannelCount = TheMPAuDecContext->channels; + Format.SampleRate = TheMPAuDecContext->sample_rate; + Format.SampleFormat = ESF_S16; + Format.FrameCount = -1; // unknown lenght + + FirstFrameRead = true; + } + else + if (TheMPAuDecContext->channels != Format.ChannelCount || + TheMPAuDecContext->sample_rate != Format.SampleRate) + { + // Can't handle format changes mid-stream. + return false; + } + + if (!TheMPAuDecContext->parse_only) + { + if (outputSize < 0) + { + // Couldn't decode this frame. Too bad, already lost it. + // This should only happen when seeking. + + outputSize = TheMPAuDecContext->frame_size; + memset(DecodeBuffer, 0, outputSize * Format.getFrameSize()); + } + + DecodedQueue.write(DecodeBuffer, outputSize); + } + + return true; +} + + + +//! sets the position of the audio stream. +/** For example to let the stream be read from the beginning of the file again, +setPosition(0) would be called. This is usually done be the sound engine to +loop a stream after if has reached the end. Return true if sucessful and 0 if not. */ +bool CIrrKlangAudioStreamMP3::setPosition(ik_s32 pos) +{ + if (!File || !TheMPAuDecContext) + return false; + + if (pos == 0) + { + // usually done for looping, just reset to start + + File->seek(FileBegin); // skip possible ID3 header + + EndOfFileReached = false; + + DecodedQueue.clear(); + + MPAuDecContext oldContext = *TheMPAuDecContext; + + mpaudec_clear(TheMPAuDecContext); + mpaudec_init(TheMPAuDecContext); + + TheMPAuDecContext->bit_rate = oldContext.bit_rate; + TheMPAuDecContext->channels = oldContext.channels; + TheMPAuDecContext->frame_size = oldContext.frame_size; + TheMPAuDecContext->sample_rate = oldContext.sample_rate; + + InputPosition = 0; + InputLength = 0; + Position = 0; + CurrentFramePosition = 0; + + return true; + } + else + { + // user wants to seek in the stream, so do this here + + int scan_position = 0; + int target_frame = 0; + int frame_count = (int)FramePositionData.size(); + + while (target_frame < frame_count) + { + int frame_size = FramePositionData[target_frame].size; + + if (pos <= scan_position + frame_size) + break; + else + { + scan_position += frame_size; + target_frame++; + } + } + + + const int MAX_FRAME_DEPENDENCY = 10; + target_frame = std::max(0, target_frame - MAX_FRAME_DEPENDENCY); + setPosition(0); + + File->seek(FramePositionData[target_frame].offset, false); + + int i; + for (i = 0; i < target_frame; i++) + { + if (i>=(int)FramePositionData.size()) + { + // internal error + setPosition(0); + return false; + } + + Position += FramePositionData[i].size; + } + + if (!decodeFrame() || EndOfFileReached) + { + setPosition(0); + return false; + } + + int frames_to_consume = pos - Position; // PCM frames now + if (frames_to_consume > 0) + { + ik_u8 *buf = new ik_u8[frames_to_consume * Format.getFrameSize()]; + readFrames(buf, frames_to_consume); + delete[] buf; + } + + return true; + } + + return false; +} + + +CIrrKlangAudioStreamMP3::QueueBuffer::QueueBuffer() +{ + Capacity = 256; + Size = 0; + + Buffer = (ik_u8*)malloc(Capacity); +} + + +CIrrKlangAudioStreamMP3::QueueBuffer::~QueueBuffer() +{ + free(Buffer); +} + +int CIrrKlangAudioStreamMP3::QueueBuffer::getSize() +{ + return Size; +} + +void CIrrKlangAudioStreamMP3::QueueBuffer::write(const void* buffer, int size) +{ + bool needRealloc = false; + + while (size + Size > Capacity) + { + Capacity *= 2; + needRealloc = true; + } + + if (needRealloc) + { + Buffer = (ik_u8*)realloc(Buffer, Capacity); + } + + memcpy(Buffer + Size, buffer, size); + Size += size; +} + + +int CIrrKlangAudioStreamMP3::QueueBuffer::read(void* buffer, int size) +{ + int toRead = size < Size ? size : Size; + + memcpy(buffer, Buffer, toRead); + memmove(Buffer, Buffer + toRead, Size - toRead); + + Size -= toRead; + return toRead; +} + + +void CIrrKlangAudioStreamMP3::QueueBuffer::clear() +{ + Size = 0; +} + + +void CIrrKlangAudioStreamMP3::skipID3IfNecessary() +{ + char header[10]; + int read = File->read(&header, 10); + + if (read == 10 && + header[0] == 'I' && header[1] == 'D' && header[2] == '3') + { + int versionMajor = header[3]; + int versionMinor = header[4]; + int flags = header[5]; + + // IDv2 size looks like the following: ID3v2 size 4 * %0xxxxxxx. + // Sick, but that's how it works. + + int size = 0; + size = (header[6] & 0x7f) << (3*7); + size |= (header[7] & 0x7f) << (2*7); + size |= (header[8] & 0x7f) << (1*7); + size |= (header[9] & 0x7f) ; + + size += 10; // header size + + FileBegin = size; + File->seek(FileBegin); + } + else + File->seek(0); +} + + +} // end namespace irrklang diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.h new file mode 100644 index 0000000..c9b3aae --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/CIrrKlangAudioStreamMP3.h @@ -0,0 +1,106 @@ +// Copyright (C) 2002-2007 Nikolaus Gebhardt +// Part of the code for this plugin for irrKlang is based on: +// MP3 input for Audiere by Matt Campbell , based on +// libavcodec from ffmpeg (http://ffmpeg.sourceforge.net/). +// See license.txt for license details of this plugin. + +#ifndef __C_IRRKLANG_AUDIO_STREAM_MP3_H_INCLUDED__ +#define __C_IRRKLANG_AUDIO_STREAM_MP3_H_INCLUDED__ + +#include +#include +#include +#include "decoder/mpaudec.h" + +namespace irrklang +{ + const int IKP_MP3_INPUT_BUFFER_SIZE = 4096; + + //! Reads and decodes audio data into an usable audio stream for the ISoundEngine + /** To extend irrKlang with new audio format decoders, the only thing needed to do + is implementing the IAudioStream interface. All the code available in this class is only for + mp3 decoding and may make this class look a bit more complicated then it actually is. */ + class CIrrKlangAudioStreamMP3 : public IAudioStream + { + public: + + CIrrKlangAudioStreamMP3(IFileReader* file); + ~CIrrKlangAudioStreamMP3(); + + //! returns format of the audio stream + virtual SAudioStreamFormat getFormat(); + + //! tells the audio stream to read n audio frames into the specified buffer + /** \param target: Target data buffer to the method will write the read frames into. The + specified buffer will be getFormat().getFrameSize()*frameCount big. + \param frameCount: amount of frames to be read. + \returns Returns amount of frames really read. Should be frameCountToRead in most cases. */ + virtual ik_s32 readFrames(void* target, ik_s32 frameCountToRead); + + //! sets the position of the audio stream. + /** For example to let the stream be read from the beginning of the file again, + setPosition(0) would be called. This is usually done be the sound engine to + loop a stream after if has reached the end. Return true if sucessful and 0 if not. */ + virtual bool setPosition(ik_s32 pos); + + // just for the CIrrKlangAudioStreamLoaderMP3 to let him know if loading worked + bool isOK() { return File != 0; } + + protected: + + ik_s32 readFrameForMP3(void* target, ik_s32 frameCountToRead, bool parseOnly=false); + bool decodeFrame(); + void skipID3IfNecessary(); + + irrklang::IFileReader* File; + SAudioStreamFormat Format; + + // mpaudec specific + MPAuDecContext* TheMPAuDecContext; + + ik_u8 InputBuffer[IKP_MP3_INPUT_BUFFER_SIZE]; + + int InputPosition; + int InputLength; + int Position; + ik_u8* DecodeBuffer; + ik_s32 FileBegin; + ik_u32 CurrentFramePosition; + + bool FirstFrameRead; + bool EndOfFileReached; + + // helper class for managing the streaming decoded audio data + class QueueBuffer + { + public: + + QueueBuffer(); + ~QueueBuffer(); + + int getSize(); + void write(const void* buffer, int size); + int read(void* buffer, int size); + void clear(); + + private: + + ik_u8* Buffer; + int Capacity; + int Size; + }; + + struct SFramePositionData + { + int offset; + int size; + }; + + std::vector FramePositionData; + QueueBuffer DecodedQueue; + }; + + +} // end namespace irrklang + +#endif diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/bits.c b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/bits.c new file mode 100644 index 0000000..d7657e4 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/bits.c @@ -0,0 +1,273 @@ +/* + * Common bit i/o utils + * Copyright (c) 2000, 2001 Fabrice Bellard. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Modified by Matt Campbell for the stand-alone + * mpaudec library. Based on common.c from libavcodec. + */ + +#include "internal.h" + +/** + * init GetBitContext. + * @param buffer bitstream buffer + * @param bit_size the size of the buffer in bits + */ +void init_get_bits(GetBitContext *s, + const uint8_t *buffer, int bit_size) +{ + s->buffer= buffer; + s->size_in_bits= bit_size; + s->index=0; +} + +unsigned int show_bits(const GetBitContext *s, int n) +{ + int i; + unsigned int result = 0; + assert(s->size_in_bits - s->index >= n); + for (i = s->index; i < s->index + n; i++) { + int byte_index = i / 8; + unsigned int right_shift = 7 - (i % 8); + uint8_t byte = s->buffer[byte_index]; + uint8_t bit; + result <<= 1; + if (right_shift == 0) + bit = byte & 0x1; + else + bit = (byte >> right_shift) & 0x1; + result |= (unsigned int)bit; + } + return result; +} + +void skip_bits(GetBitContext *s, int n) +{ + s->index += n; +} + +unsigned int get_bits(GetBitContext *s, int n) +{ + unsigned int result = show_bits(s, n); + skip_bits(s, n); + return result; +} + +int get_bits_count(const GetBitContext *s) +{ + return s->index; +} + +/* VLC decoding */ + +/*#define DEBUG_VLC*/ + +#define GET_DATA(v, table, i, wrap, size) \ +{\ + const uint8_t *ptr = (const uint8_t *)table + i * wrap;\ + switch(size) {\ + case 1:\ + v = *(const uint8_t *)ptr;\ + break;\ + case 2:\ + v = *(const uint16_t *)ptr;\ + break;\ + default:\ + v = *(const uint32_t *)ptr;\ + break;\ + }\ +} + + +static int alloc_table(VLC *vlc, int size) +{ + int index; + index = vlc->table_size; + vlc->table_size += size; + if (vlc->table_size > vlc->table_allocated) { + vlc->table_allocated += (1 << vlc->bits); + vlc->table = realloc(vlc->table, + sizeof(VLC_TYPE) * 2 * vlc->table_allocated); + if (!vlc->table) + return -1; + } + return index; +} + +static int build_table(VLC *vlc, int table_nb_bits, + int nb_codes, + const void *bits, int bits_wrap, int bits_size, + const void *codes, int codes_wrap, int codes_size, + uint32_t code_prefix, int n_prefix) +{ + int i, j, k, n, table_size, table_index, nb, n1, index; + uint32_t code; + VLC_TYPE (*table)[2]; + + table_size = 1 << table_nb_bits; + table_index = alloc_table(vlc, table_size); +#ifdef DEBUG_VLC + printf("new table index=%d size=%d code_prefix=%x n=%d\n", + table_index, table_size, code_prefix, n_prefix); +#endif + if (table_index < 0) + return -1; + table = &vlc->table[table_index]; + + for(i=0;i 0 && (code >> n) == code_prefix) { + if (n <= table_nb_bits) { + /* no need to add another table */ + j = (code << (table_nb_bits - n)) & (table_size - 1); + nb = 1 << (table_nb_bits - n); + for(k=0;k> n) & ((1 << table_nb_bits) - 1); +#ifdef DEBUG_VLC + printf("%4x: n=%d (subtable)\n", + j, n); +#endif + /* compute table size */ + n1 = -table[j][1]; /*bits*/ + if (n > n1) + n1 = n; + table[j][1] = -n1; /*bits*/ + } + } + } + + /* second pass : fill auxillary tables recursively */ + for(i=0;i table_nb_bits) { + n = table_nb_bits; + table[i][1] = -n; /*bits*/ + } + index = build_table(vlc, n, nb_codes, + bits, bits_wrap, bits_size, + codes, codes_wrap, codes_size, + (code_prefix << table_nb_bits) | i, + n_prefix + table_nb_bits); + if (index < 0) + return -1; + /* note: realloc has been done, so reload tables */ + table = &vlc->table[table_index]; + table[i][0] = index; /*code*/ + } + } + return table_index; +} + + +/* Build VLC decoding tables suitable for use with get_vlc(). + + 'nb_bits' set thee decoding table size (2^nb_bits) entries. The + bigger it is, the faster is the decoding. But it should not be too + big to save memory and L1 cache. '9' is a good compromise. + + 'nb_codes' : number of vlcs codes + + 'bits' : table which gives the size (in bits) of each vlc code. + + 'codes' : table which gives the bit pattern of of each vlc code. + + 'xxx_wrap' : give the number of bytes between each entry of the + 'bits' or 'codes' tables. + + 'xxx_size' : gives the number of bytes of each entry of the 'bits' + or 'codes' tables. + + 'wrap' and 'size' allows to use any memory configuration and types + (byte/word/long) to store the 'bits' and 'codes' tables. +*/ +int init_vlc(VLC *vlc, int nb_bits, int nb_codes, + const void *bits, int bits_wrap, int bits_size, + const void *codes, int codes_wrap, int codes_size) +{ + vlc->bits = nb_bits; + vlc->table = NULL; + vlc->table_allocated = 0; + vlc->table_size = 0; +#ifdef DEBUG_VLC + printf("build table nb_codes=%d\n", nb_codes); +#endif + + if (build_table(vlc, nb_bits, nb_codes, + bits, bits_wrap, bits_size, + codes, codes_wrap, codes_size, + 0, 0) < 0) { + free(vlc->table); + return -1; + } + return 0; +} + + +void free_vlc(VLC *vlc) +{ + free(vlc->table); +} + +int get_vlc(GetBitContext *s, const VLC *vlc) +{ + int code = 0; + int depth = 0, max_depth = 3; + int n, index, bits = vlc->bits; + + do { + index = show_bits(s, bits) + code; + code = vlc->table[index][0]; + n = vlc->table[index][1]; + depth++; + + if (n < 0 && depth < max_depth) { + skip_bits(s, bits); + bits = -n; + } + } while (n < 0 && depth < max_depth); + + skip_bits(s, n); + return code; +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/internal.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/internal.h new file mode 100644 index 0000000..5588137 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/internal.h @@ -0,0 +1,86 @@ +/* Based on common.h from libavcodec. Modified extensively by Matt Campbell + for the stand-alone mpaudec library. */ + +#ifndef INTERNAL_H +#define INTERNAL_H + +#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) +# define CONFIG_WIN32 +#endif + +#include +#include +#include +#include +#include +#include +#include "mpaudec.h" + +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + +#ifdef CONFIG_WIN32 + +/* windows */ + +typedef unsigned short uint16_t; +typedef signed short int16_t; +typedef unsigned char uint8_t; +typedef unsigned int uint32_t; +typedef unsigned __int64 uint64_t; +typedef signed char int8_t; +typedef signed int int32_t; +typedef signed __int64 int64_t; + +# ifdef _DEBUG +# define DEBUG +# endif + +/* CONFIG_WIN32 end */ +#else + +/* unix */ + +#include + +#endif /* !CONFIG_WIN32 */ + +/* debug stuff */ + +#if !defined(DEBUG) && !defined(NDEBUG) +# define NDEBUG +#endif +#include + +/* bit input */ + +typedef struct GetBitContext { + const uint8_t *buffer; + int index; + int size_in_bits; +} GetBitContext; + +int get_bits_count(const GetBitContext *s); + +#define VLC_TYPE int16_t + +typedef struct VLC { + int bits; + VLC_TYPE (*table)[2]; + int table_size, table_allocated; +} VLC; + +unsigned int get_bits(GetBitContext *s, int n); +unsigned int show_bits(const GetBitContext *s, int n); +void skip_bits(GetBitContext *s, int n); +void init_get_bits(GetBitContext *s, + const uint8_t *buffer, int buffer_size); + +int init_vlc(VLC *vlc, int nb_bits, int nb_codes, + const void *bits, int bits_wrap, int bits_size, + const void *codes, int codes_wrap, int codes_size); +void free_vlc(VLC *vlc); +int get_vlc(GetBitContext *s, const VLC *vlc); + +#endif /* INTERNAL_H */ diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.c b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.c new file mode 100644 index 0000000..a07289d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.c @@ -0,0 +1,2477 @@ +/* + * MPEG Audio decoder + * Copyright (c) 2001, 2002 Fabrice Bellard. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Modified heavily by Matt Campbell for the + * stand-alone mpaudec library. Based on mpegaudiodec.c from libavcodec. + */ + +/*#define DEBUG*/ +#include "internal.h" +#include "mpegaudio.h" + +#ifdef _MSC_VER +#pragma warning(disable : 4244) +#endif + +/* + * TODO: + * - in low precision mode, use more 16 bit multiplies in synth filter + * - test lsf / mpeg25 extensively. + */ + +/* define USE_HIGHPRECISION to have a bit exact (but slower) mpeg + audio decoder */ +#define USE_HIGHPRECISION + +#ifdef USE_HIGHPRECISION +#define FRAC_BITS 23 /* fractional bits for sb_samples and dct */ +#define WFRAC_BITS 16 /* fractional bits for window */ +#else +#define FRAC_BITS 15 /* fractional bits for sb_samples and dct */ +#define WFRAC_BITS 14 /* fractional bits for window */ +#endif + +#define FRAC_ONE (1 << FRAC_BITS) + +#define MULL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS) +#define MUL64(a,b) ((int64_t)(a) * (int64_t)(b)) +#define FIX(a) ((int)((a) * FRAC_ONE)) +/* WARNING: only correct for posititive numbers */ +#define FIXR(a) ((int)((a) * FRAC_ONE + 0.5)) +#define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS) + +#if FRAC_BITS <= 15 +typedef int16_t MPA_INT; +#else +typedef int32_t MPA_INT; +#endif + +/****************/ + +#define HEADER_SIZE 4 +#define BACKSTEP_SIZE 512 + +typedef struct MPADecodeContext { + uint8_t inbuf1[2][MPA_MAX_CODED_FRAME_SIZE + BACKSTEP_SIZE]; /* input buffer */ + int inbuf_index; + uint8_t *inbuf_ptr, *inbuf; + int frame_size; + int free_format_frame_size; /* frame size in case of free format + (zero if currently unknown) */ + /* next header (used in free format parsing) */ + int error_protection; + int layer; + int sample_rate; + int sample_rate_index; /* between 0 and 8 */ + int bit_rate; + int old_frame_size; + GetBitContext gb; + int nb_channels; + int mode; + int mode_ext; + int lsf; + MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2]; + int synth_buf_offset[MPA_MAX_CHANNELS]; + int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]; + int32_t mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */ +#ifdef DEBUG + int frame_count; +#endif +} MPADecodeContext; + +/* layer 3 "granule" */ +typedef struct GranuleDef { + uint8_t scfsi; + int part2_3_length; + int big_values; + int global_gain; + int scalefac_compress; + uint8_t block_type; + uint8_t switch_point; + int table_select[3]; + int subblock_gain[3]; + uint8_t scalefac_scale; + uint8_t count1table_select; + int region_size[3]; /* number of huffman codes in each region */ + int preflag; + int short_start, long_end; /* long/short band indexes */ + uint8_t scale_factors[40]; + int32_t sb_hybrid[SBLIMIT * 18]; /* 576 samples */ +} GranuleDef; + +#define MODE_EXT_MS_STEREO 2 +#define MODE_EXT_I_STEREO 1 + +/* layer 3 huffman tables */ +typedef struct HuffTable { + int xsize; + const uint8_t *bits; + const uint16_t *codes; +} HuffTable; + +#include "mpaudectab.h" + +/* vlc structure for decoding layer 3 huffman tables */ +static VLC huff_vlc[16]; +static uint8_t *huff_code_table[16]; +static VLC huff_quad_vlc[2]; +/* computed from band_size_long */ +static uint16_t band_index_long[9][23]; +/* XXX: free when all decoders are closed */ +#define TABLE_4_3_SIZE (8191 + 16) +static int8_t table_4_3_exp[TABLE_4_3_SIZE]; +#if FRAC_BITS <= 15 +static uint16_t table_4_3_value[TABLE_4_3_SIZE]; +#else +static uint32_t table_4_3_value[TABLE_4_3_SIZE]; +#endif +/* intensity stereo coef table */ +static int32_t is_table[2][16]; +static int32_t is_table_lsf[2][2][16]; +static int32_t csa_table[8][2]; +static int32_t mdct_win[8][36]; + +/* lower 2 bits: modulo 3, higher bits: shift */ +static uint16_t scale_factor_modshift[64]; +/* [i][j]: 2^(-j/3) * FRAC_ONE * 2^(i+2) / (2^(i+2) - 1) */ +static int32_t scale_factor_mult[15][3]; +/* mult table for layer 2 group quantization */ + +#define SCALE_GEN(v) \ +{ FIXR(1.0 * (v)), FIXR(0.7937005259 * (v)), FIXR(0.6299605249 * (v)) } + +static int32_t scale_factor_mult2[3][3] = { + SCALE_GEN(4.0 / 3.0), /* 3 steps */ + SCALE_GEN(4.0 / 5.0), /* 5 steps */ + SCALE_GEN(4.0 / 9.0), /* 9 steps */ +}; + +/* 2^(n/4) */ +static uint32_t scale_factor_mult3[4] = { + FIXR(1.0), + FIXR(1.18920711500272106671), + FIXR(1.41421356237309504880), + FIXR(1.68179283050742908605), +}; + +static MPA_INT window[512]; + +/* layer 1 unscaling */ +/* n = number of bits of the mantissa minus 1 */ +static int l1_unscale(int n, int mant, int scale_factor) +{ + int shift, mod; + int64_t val; + + shift = scale_factor_modshift[scale_factor]; + mod = shift & 3; + shift >>= 2; + val = MUL64(mant + (-1 << n) + 1, scale_factor_mult[n-1][mod]); + shift += n; + /* NOTE: at this point, 1 <= shift >= 21 + 15 */ + return (int)((val + ((int64_t)(1) << (shift - 1))) >> shift); +} + +static int l2_unscale_group(int steps, int mant, int scale_factor) +{ + int shift, mod, val; + + shift = scale_factor_modshift[scale_factor]; + mod = shift & 3; + shift >>= 2; + + val = (mant - (steps >> 1)) * scale_factor_mult2[steps >> 2][mod]; + /* NOTE: at this point, 0 <= shift <= 21 */ + if (shift > 0) + val = (val + (1 << (shift - 1))) >> shift; + return val; +} + +/* compute value^(4/3) * 2^(exponent/4). It normalized to FRAC_BITS */ +static int l3_unscale(int value, int exponent) +{ +#if FRAC_BITS <= 15 + unsigned int m; +#else + uint64_t m; +#endif + int e; + + e = table_4_3_exp[value]; + e += (exponent >> 2); + e = FRAC_BITS - e; +#if FRAC_BITS <= 15 + if (e > 31) + e = 31; +#endif + m = table_4_3_value[value]; +#if FRAC_BITS <= 15 + m = (m * scale_factor_mult3[exponent & 3]); + m = (m + (1 << (e-1))) >> e; + return m; +#else + m = MUL64(m, scale_factor_mult3[exponent & 3]); + m = (m + ((uint64_t)(1) << (e-1))) >> e; + return (int)m; +#endif +} + +/* all integer n^(4/3) computation code */ +#define DEV_ORDER 13 + +#define POW_FRAC_BITS 24 +#define POW_FRAC_ONE (1 << POW_FRAC_BITS) +#define POW_FIX(a) ((int)((a) * POW_FRAC_ONE)) +#define POW_MULL(a,b) (((int64_t)(a) * (int64_t)(b)) >> POW_FRAC_BITS) + +static int dev_4_3_coefs[DEV_ORDER]; + +static int pow_mult3[3] = { + POW_FIX(1.0), + POW_FIX(1.25992104989487316476), + POW_FIX(1.58740105196819947474), +}; + +static void int_pow_init(void) +{ + int i, a; + + a = POW_FIX(1.0); + for(i=0;i= 0; j--) + a1 = POW_MULL(a, dev_4_3_coefs[j] + a1); + a = (1 << POW_FRAC_BITS) + a1; + /* exponent compute (exact) */ + e = e * 4; + er = e % 3; + eq = e / 3; + a = POW_MULL(a, pow_mult3[er]); + while (a >= 2 * POW_FRAC_ONE) { + a = a >> 1; + eq++; + } + /* convert to float */ + while (a < POW_FRAC_ONE) { + a = a << 1; + eq--; + } + /* now POW_FRAC_ONE <= a < 2 * POW_FRAC_ONE */ +#if POW_FRAC_BITS > FRAC_BITS + a = (a + (1 << (POW_FRAC_BITS - FRAC_BITS - 1))) >> (POW_FRAC_BITS - FRAC_BITS); + /* correct overflow */ + if (a >= 2 * (1 << FRAC_BITS)) { + a = a >> 1; + eq++; + } +#endif + *exp_ptr = eq; + return a; +} + +int mpaudec_init(MPAuDecContext * mpctx) +{ + MPADecodeContext *s; + static int init=0; + int i, j, k; + assert(mpctx != NULL); + memset(mpctx, 0, sizeof(MPAuDecContext)); + mpctx->priv_data = calloc(1, sizeof(MPADecodeContext)); + if (mpctx->priv_data == NULL) + return -1; + s = mpctx->priv_data; + + if (!init && !mpctx->parse_only) { + /* scale factors table for layer 1/2 */ + for(i=0;i<64;i++) { + int shift, mod; + /* 1.0 (i = 3) is normalized to 2 ^ FRAC_BITS */ + shift = (i / 3); + mod = i % 3; + scale_factor_modshift[i] = mod | (shift << 2); + } + + /* scale factor multiply for layer 1 */ + for(i=0;i<15;i++) { + int n, norm; + n = i + 2; + norm = (((int64_t)(1) << n) * FRAC_ONE) / ((1 << n) - 1); + scale_factor_mult[i][0] = MULL(FIXR(1.0 * 2.0), norm); + scale_factor_mult[i][1] = MULL(FIXR(0.7937005259 * 2.0), norm); + scale_factor_mult[i][2] = MULL(FIXR(0.6299605249 * 2.0), norm); +#ifdef DEBUG + printf("%d: norm=%x s=%x %x %x\n", + i, norm, + scale_factor_mult[i][0], + scale_factor_mult[i][1], + scale_factor_mult[i][2]); +#endif + } + + /* window */ + /* max = 18760, max sum over all 16 coefs : 44736 */ + for(i=0;i<257;i++) { + int v; + v = mpa_enwindow[i]; +#if WFRAC_BITS < 16 + v = (v + (1 << (16 - WFRAC_BITS - 1))) >> (16 - WFRAC_BITS); +#endif + window[i] = v; + if ((i & 63) != 0) + v = -v; + if (i != 0) + window[512 - i] = v; + } + + /* huffman decode tables */ + huff_code_table[0] = NULL; + for(i=1;i<16;i++) { + const HuffTable *h = &mpa_huff_tables[i]; + int xsize, x, y; + unsigned int n; + uint8_t *code_table; + + xsize = h->xsize; + n = xsize * xsize; + /* XXX: fail test */ + init_vlc(&huff_vlc[i], 8, n, + h->bits, 1, 1, h->codes, 2, 2); + + code_table = calloc(n, 1); + j = 0; + for(x=0;x> 1); + f = pow(2.0, e / 4.0); + k = i & 1; + is_table_lsf[j][k ^ 1][i] = FIXR(f); + is_table_lsf[j][k][i] = FIXR(1.0); +#ifdef DEBUG + printf("is_table_lsf %d %d: %x %x\n", + i, j, is_table_lsf[j][0][i], is_table_lsf[j][1][i]); +#endif + } + } + + for(i=0;i<8;i++) { + float ci, cs, ca; + ci = ci_table[i]; + cs = 1.0 / sqrt(1.0 + ci * ci); + ca = cs * ci; + csa_table[i][0] = FIX(cs); + csa_table[i][1] = FIX(ca); + } + + /* compute mdct windows */ + for(i=0;i<36;i++) { + int v; + v = FIXR(sin(M_PI * (i + 0.5) / 36.0)); + mdct_win[0][i] = v; + mdct_win[1][i] = v; + mdct_win[3][i] = v; + } + for(i=0;i<6;i++) { + mdct_win[1][18 + i] = FIXR(1.0); + mdct_win[1][24 + i] = FIXR(sin(M_PI * ((i + 6) + 0.5) / 12.0)); + mdct_win[1][30 + i] = FIXR(0.0); + + mdct_win[3][i] = FIXR(0.0); + mdct_win[3][6 + i] = FIXR(sin(M_PI * (i + 0.5) / 12.0)); + mdct_win[3][12 + i] = FIXR(1.0); + } + + for(i=0;i<12;i++) + mdct_win[2][i] = FIXR(sin(M_PI * (i + 0.5) / 12.0)); + + /* NOTE: we do frequency inversion adter the MDCT by changing + the sign of the right window coefs */ + for(j=0;j<4;j++) { + for(i=0;i<36;i+=2) { + mdct_win[j + 4][i] = mdct_win[j][i]; + mdct_win[j + 4][i + 1] = -mdct_win[j][i + 1]; + } + } + +#if defined(DEBUG) + for(j=0;j<8;j++) { + printf("win%d=\n", j); + for(i=0;i<36;i++) + printf("%f, ", (double)mdct_win[j][i] / FRAC_ONE); + printf("\n"); + } +#endif + init = 1; + } + + s->inbuf_index = 0; + s->inbuf = &s->inbuf1[s->inbuf_index][BACKSTEP_SIZE]; + s->inbuf_ptr = s->inbuf; +#ifdef DEBUG + s->frame_count = 0; +#endif + return 0; +} + +/* tab[i][j] = 1.0 / (2.0 * cos(pi*(2*k+1) / 2^(6 - j))) */ + +/* cos(i*pi/64) */ + +#define COS0_0 FIXR(0.50060299823519630134) +#define COS0_1 FIXR(0.50547095989754365998) +#define COS0_2 FIXR(0.51544730992262454697) +#define COS0_3 FIXR(0.53104259108978417447) +#define COS0_4 FIXR(0.55310389603444452782) +#define COS0_5 FIXR(0.58293496820613387367) +#define COS0_6 FIXR(0.62250412303566481615) +#define COS0_7 FIXR(0.67480834145500574602) +#define COS0_8 FIXR(0.74453627100229844977) +#define COS0_9 FIXR(0.83934964541552703873) +#define COS0_10 FIXR(0.97256823786196069369) +#define COS0_11 FIXR(1.16943993343288495515) +#define COS0_12 FIXR(1.48416461631416627724) +#define COS0_13 FIXR(2.05778100995341155085) +#define COS0_14 FIXR(3.40760841846871878570) +#define COS0_15 FIXR(10.19000812354805681150) + +#define COS1_0 FIXR(0.50241928618815570551) +#define COS1_1 FIXR(0.52249861493968888062) +#define COS1_2 FIXR(0.56694403481635770368) +#define COS1_3 FIXR(0.64682178335999012954) +#define COS1_4 FIXR(0.78815462345125022473) +#define COS1_5 FIXR(1.06067768599034747134) +#define COS1_6 FIXR(1.72244709823833392782) +#define COS1_7 FIXR(5.10114861868916385802) + +#define COS2_0 FIXR(0.50979557910415916894) +#define COS2_1 FIXR(0.60134488693504528054) +#define COS2_2 FIXR(0.89997622313641570463) +#define COS2_3 FIXR(2.56291544774150617881) + +#define COS3_0 FIXR(0.54119610014619698439) +#define COS3_1 FIXR(1.30656296487637652785) + +#define COS4_0 FIXR(0.70710678118654752439) + +/* butterfly operator */ +#define BF(a, b, c)\ +{\ + tmp0 = tab[a] + tab[b];\ + tmp1 = tab[a] - tab[b];\ + tab[a] = tmp0;\ + tab[b] = MULL(tmp1, c);\ +} + +#define BF1(a, b, c, d)\ +{\ + BF(a, b, COS4_0);\ + BF(c, d, -COS4_0);\ + tab[c] += tab[d];\ +} + +#define BF2(a, b, c, d)\ +{\ + BF(a, b, COS4_0);\ + BF(c, d, -COS4_0);\ + tab[c] += tab[d];\ + tab[a] += tab[c];\ + tab[c] += tab[b];\ + tab[b] += tab[d];\ +} + +#define ADD(a, b) tab[a] += tab[b] + +/* DCT32 without 1/sqrt(2) coef zero scaling. */ +static void dct32(int32_t *out, int32_t *tab) +{ + int tmp0, tmp1; + + /* pass 1 */ + BF(0, 31, COS0_0); + BF(1, 30, COS0_1); + BF(2, 29, COS0_2); + BF(3, 28, COS0_3); + BF(4, 27, COS0_4); + BF(5, 26, COS0_5); + BF(6, 25, COS0_6); + BF(7, 24, COS0_7); + BF(8, 23, COS0_8); + BF(9, 22, COS0_9); + BF(10, 21, COS0_10); + BF(11, 20, COS0_11); + BF(12, 19, COS0_12); + BF(13, 18, COS0_13); + BF(14, 17, COS0_14); + BF(15, 16, COS0_15); + + /* pass 2 */ + BF(0, 15, COS1_0); + BF(1, 14, COS1_1); + BF(2, 13, COS1_2); + BF(3, 12, COS1_3); + BF(4, 11, COS1_4); + BF(5, 10, COS1_5); + BF(6, 9, COS1_6); + BF(7, 8, COS1_7); + + BF(16, 31, -COS1_0); + BF(17, 30, -COS1_1); + BF(18, 29, -COS1_2); + BF(19, 28, -COS1_3); + BF(20, 27, -COS1_4); + BF(21, 26, -COS1_5); + BF(22, 25, -COS1_6); + BF(23, 24, -COS1_7); + + /* pass 3 */ + BF(0, 7, COS2_0); + BF(1, 6, COS2_1); + BF(2, 5, COS2_2); + BF(3, 4, COS2_3); + + BF(8, 15, -COS2_0); + BF(9, 14, -COS2_1); + BF(10, 13, -COS2_2); + BF(11, 12, -COS2_3); + + BF(16, 23, COS2_0); + BF(17, 22, COS2_1); + BF(18, 21, COS2_2); + BF(19, 20, COS2_3); + + BF(24, 31, -COS2_0); + BF(25, 30, -COS2_1); + BF(26, 29, -COS2_2); + BF(27, 28, -COS2_3); + + /* pass 4 */ + BF(0, 3, COS3_0); + BF(1, 2, COS3_1); + + BF(4, 7, -COS3_0); + BF(5, 6, -COS3_1); + + BF(8, 11, COS3_0); + BF(9, 10, COS3_1); + + BF(12, 15, -COS3_0); + BF(13, 14, -COS3_1); + + BF(16, 19, COS3_0); + BF(17, 18, COS3_1); + + BF(20, 23, -COS3_0); + BF(21, 22, -COS3_1); + + BF(24, 27, COS3_0); + BF(25, 26, COS3_1); + + BF(28, 31, -COS3_0); + BF(29, 30, -COS3_1); + + /* pass 5 */ + BF1(0, 1, 2, 3); + BF2(4, 5, 6, 7); + BF1(8, 9, 10, 11); + BF2(12, 13, 14, 15); + BF1(16, 17, 18, 19); + BF2(20, 21, 22, 23); + BF1(24, 25, 26, 27); + BF2(28, 29, 30, 31); + + /* pass 6 */ + + ADD( 8, 12); + ADD(12, 10); + ADD(10, 14); + ADD(14, 9); + ADD( 9, 13); + ADD(13, 11); + ADD(11, 15); + + out[ 0] = tab[0]; + out[16] = tab[1]; + out[ 8] = tab[2]; + out[24] = tab[3]; + out[ 4] = tab[4]; + out[20] = tab[5]; + out[12] = tab[6]; + out[28] = tab[7]; + out[ 2] = tab[8]; + out[18] = tab[9]; + out[10] = tab[10]; + out[26] = tab[11]; + out[ 6] = tab[12]; + out[22] = tab[13]; + out[14] = tab[14]; + out[30] = tab[15]; + + ADD(24, 28); + ADD(28, 26); + ADD(26, 30); + ADD(30, 25); + ADD(25, 29); + ADD(29, 27); + ADD(27, 31); + + out[ 1] = tab[16] + tab[24]; + out[17] = tab[17] + tab[25]; + out[ 9] = tab[18] + tab[26]; + out[25] = tab[19] + tab[27]; + out[ 5] = tab[20] + tab[28]; + out[21] = tab[21] + tab[29]; + out[13] = tab[22] + tab[30]; + out[29] = tab[23] + tab[31]; + out[ 3] = tab[24] + tab[20]; + out[19] = tab[25] + tab[21]; + out[11] = tab[26] + tab[22]; + out[27] = tab[27] + tab[23]; + out[ 7] = tab[28] + tab[18]; + out[23] = tab[29] + tab[19]; + out[15] = tab[30] + tab[17]; + out[31] = tab[31]; +} + +#define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15) + +#if FRAC_BITS <= 15 + +static int round_sample(int sum) +{ + int sum1; + sum1 = (sum + (1 << (OUT_SHIFT - 1))) >> OUT_SHIFT; + if (sum1 < -32768) + sum1 = -32768; + else if (sum1 > 32767) + sum1 = 32767; + return sum1; +} + +/* signed 16x16 -> 32 multiply add accumulate */ +#define MACS(rt, ra, rb) rt += (ra) * (rb) + +/* signed 16x16 -> 32 multiply */ +#define MULS(ra, rb) ((ra) * (rb)) + +#else + +static int round_sample(int64_t sum) +{ + int sum1; + sum1 = (int)((sum + ((int64_t)(1) << (OUT_SHIFT - 1))) >> OUT_SHIFT); + if (sum1 < -32768) + sum1 = -32768; + else if (sum1 > 32767) + sum1 = 32767; + return sum1; +} + +#define MULS(ra, rb) MUL64(ra, rb) + +#endif + +#define SUM8(sum, op, w, p) \ +{ \ + sum op MULS((w)[0 * 64], p[0 * 64]);\ + sum op MULS((w)[1 * 64], p[1 * 64]);\ + sum op MULS((w)[2 * 64], p[2 * 64]);\ + sum op MULS((w)[3 * 64], p[3 * 64]);\ + sum op MULS((w)[4 * 64], p[4 * 64]);\ + sum op MULS((w)[5 * 64], p[5 * 64]);\ + sum op MULS((w)[6 * 64], p[6 * 64]);\ + sum op MULS((w)[7 * 64], p[7 * 64]);\ +} + +#define SUM8P2(sum1, op1, sum2, op2, w1, w2, p) \ +{ \ + int tmp;\ + tmp = p[0 * 64];\ + sum1 op1 MULS((w1)[0 * 64], tmp);\ + sum2 op2 MULS((w2)[0 * 64], tmp);\ + tmp = p[1 * 64];\ + sum1 op1 MULS((w1)[1 * 64], tmp);\ + sum2 op2 MULS((w2)[1 * 64], tmp);\ + tmp = p[2 * 64];\ + sum1 op1 MULS((w1)[2 * 64], tmp);\ + sum2 op2 MULS((w2)[2 * 64], tmp);\ + tmp = p[3 * 64];\ + sum1 op1 MULS((w1)[3 * 64], tmp);\ + sum2 op2 MULS((w2)[3 * 64], tmp);\ + tmp = p[4 * 64];\ + sum1 op1 MULS((w1)[4 * 64], tmp);\ + sum2 op2 MULS((w2)[4 * 64], tmp);\ + tmp = p[5 * 64];\ + sum1 op1 MULS((w1)[5 * 64], tmp);\ + sum2 op2 MULS((w2)[5 * 64], tmp);\ + tmp = p[6 * 64];\ + sum1 op1 MULS((w1)[6 * 64], tmp);\ + sum2 op2 MULS((w2)[6 * 64], tmp);\ + tmp = p[7 * 64];\ + sum1 op1 MULS((w1)[7 * 64], tmp);\ + sum2 op2 MULS((w2)[7 * 64], tmp);\ +} + + +/* 32 sub band synthesis filter. Input: 32 sub band samples, Output: + 32 samples. */ +/* XXX: optimize by avoiding ring buffer usage */ +static void synth_filter(MPADecodeContext *s1, + int ch, int16_t *samples, int incr, + int32_t sb_samples[SBLIMIT]) +{ + int32_t tmp[32]; + MPA_INT *synth_buf; + const MPA_INT *w, *w2, *p; + int j, offset, v; + int16_t *samples2; +#if FRAC_BITS <= 15 + int32_t sum, sum2; +#else + int64_t sum, sum2; +#endif + + dct32(tmp, sb_samples); + + offset = s1->synth_buf_offset[ch]; + synth_buf = s1->synth_buf[ch] + offset; + + for(j=0;j<32;j++) { + v = tmp[j]; +#if FRAC_BITS <= 15 + /* NOTE: can cause a loss in precision if very high amplitude + sound */ + if (v > 32767) + v = 32767; + else if (v < -32768) + v = -32768; +#endif + synth_buf[j] = v; + } + /* copy to avoid wrap */ + memcpy(synth_buf + 512, synth_buf, 32 * sizeof(MPA_INT)); + + samples2 = samples + 31 * incr; + w = window; + w2 = window + 31; + + sum = 0; + p = synth_buf + 16; + SUM8(sum, +=, w, p); + p = synth_buf + 48; + SUM8(sum, -=, w + 32, p); + *samples = round_sample(sum); + samples += incr; + w++; + + /* we calculate two samples at the same time to avoid one memory + access per two sample */ + for(j=1;j<16;j++) { + sum = 0; + sum2 = 0; + p = synth_buf + 16 + j; + SUM8P2(sum, +=, sum2, -=, w, w2, p); + p = synth_buf + 48 - j; + SUM8P2(sum, -=, sum2, -=, w + 32, w2 + 32, p); + + *samples = round_sample(sum); + samples += incr; + *samples2 = round_sample(sum2); + samples2 -= incr; + w++; + w2--; + } + + p = synth_buf + 32; + sum = 0; + SUM8(sum, -=, w + 32, p); + *samples = round_sample(sum); + + offset = (offset - 32) & 511; + s1->synth_buf_offset[ch] = offset; +} + +/* cos(pi*i/24) */ +#define C1 FIXR(0.99144486137381041114) +#define C3 FIXR(0.92387953251128675612) +#define C5 FIXR(0.79335334029123516458) +#define C7 FIXR(0.60876142900872063941) +#define C9 FIXR(0.38268343236508977173) +#define C11 FIXR(0.13052619222005159154) + +/* 12 points IMDCT. We compute it "by hand" by factorizing obvious + cases. */ +static void imdct12(int *out, int *in) +{ + int tmp; + int64_t in1_3, in1_9, in4_3, in4_9; + + in1_3 = MUL64(in[1], C3); + in1_9 = MUL64(in[1], C9); + in4_3 = MUL64(in[4], C3); + in4_9 = MUL64(in[4], C9); + + tmp = FRAC_RND(MUL64(in[0], C7) - in1_3 - MUL64(in[2], C11) + + MUL64(in[3], C1) - in4_9 - MUL64(in[5], C5)); + out[0] = tmp; + out[5] = -tmp; + tmp = FRAC_RND(MUL64(in[0] - in[3], C9) - in1_3 + + MUL64(in[2] + in[5], C3) - in4_9); + out[1] = tmp; + out[4] = -tmp; + tmp = FRAC_RND(MUL64(in[0], C11) - in1_9 + MUL64(in[2], C7) - + MUL64(in[3], C5) + in4_3 - MUL64(in[5], C1)); + out[2] = tmp; + out[3] = -tmp; + tmp = FRAC_RND(MUL64(-in[0], C5) + in1_9 + MUL64(in[2], C1) + + MUL64(in[3], C11) - in4_3 - MUL64(in[5], C7)); + out[6] = tmp; + out[11] = tmp; + tmp = FRAC_RND(MUL64(-in[0] + in[3], C3) - in1_9 + + MUL64(in[2] + in[5], C9) + in4_3); + out[7] = tmp; + out[10] = tmp; + tmp = FRAC_RND(-MUL64(in[0], C1) - in1_3 - MUL64(in[2], C5) - + MUL64(in[3], C7) - in4_9 - MUL64(in[5], C11)); + out[8] = tmp; + out[9] = tmp; +} + +#undef C1 +#undef C3 +#undef C5 +#undef C7 +#undef C9 +#undef C11 + +/* cos(pi*i/18) */ +#define C1 FIXR(0.98480775301220805936) +#define C2 FIXR(0.93969262078590838405) +#define C3 FIXR(0.86602540378443864676) +#define C4 FIXR(0.76604444311897803520) +#define C5 FIXR(0.64278760968653932632) +#define C6 FIXR(0.5) +#define C7 FIXR(0.34202014332566873304) +#define C8 FIXR(0.17364817766693034885) + +/* 0.5 / cos(pi*(2*i+1)/36) */ +static const int icos36[9] = { + FIXR(0.50190991877167369479), + FIXR(0.51763809020504152469), + FIXR(0.55168895948124587824), + FIXR(0.61038729438072803416), + FIXR(0.70710678118654752439), + FIXR(0.87172339781054900991), + FIXR(1.18310079157624925896), + FIXR(1.93185165257813657349), + FIXR(5.73685662283492756461), +}; + +static const int icos72[18] = { + /* 0.5 / cos(pi*(2*i+19)/72) */ + FIXR(0.74009361646113053152), + FIXR(0.82133981585229078570), + FIXR(0.93057949835178895673), + FIXR(1.08284028510010010928), + FIXR(1.30656296487637652785), + FIXR(1.66275476171152078719), + FIXR(2.31011315767264929558), + FIXR(3.83064878777019433457), + FIXR(11.46279281302667383546), + + /* 0.5 / cos(pi*(2*(i + 18) +19)/72) */ + FIXR(-0.67817085245462840086), + FIXR(-0.63023620700513223342), + FIXR(-0.59284452371708034528), + FIXR(-0.56369097343317117734), + FIXR(-0.54119610014619698439), + FIXR(-0.52426456257040533932), + FIXR(-0.51213975715725461845), + FIXR(-0.50431448029007636036), + FIXR(-0.50047634258165998492), +}; + +/* using Lee like decomposition followed by hand coded 9 points DCT */ +static void imdct36(int *out, int *in) +{ + int i, j, t0, t1, t2, t3, s0, s1, s2, s3; + int tmp[18], *tmp1, *in1; + int64_t in3_3, in6_6; + + for(i=17;i>=1;i--) + in[i] += in[i-1]; + for(i=17;i>=3;i-=2) + in[i] += in[i-2]; + + for(j=0;j<2;j++) { + tmp1 = tmp + j; + in1 = in + j; + + in3_3 = MUL64(in1[2*3], C3); + in6_6 = MUL64(in1[2*6], C6); + + tmp1[0] = FRAC_RND(MUL64(in1[2*1], C1) + in3_3 + + MUL64(in1[2*5], C5) + MUL64(in1[2*7], C7)); + tmp1[2] = in1[2*0] + FRAC_RND(MUL64(in1[2*2], C2) + + MUL64(in1[2*4], C4) + in6_6 + + MUL64(in1[2*8], C8)); + tmp1[4] = FRAC_RND(MUL64(in1[2*1] - in1[2*5] - in1[2*7], C3)); + tmp1[6] = FRAC_RND(MUL64(in1[2*2] - in1[2*4] - in1[2*8], C6)) - + in1[2*6] + in1[2*0]; + tmp1[8] = FRAC_RND(MUL64(in1[2*1], C5) - in3_3 - + MUL64(in1[2*5], C7) + MUL64(in1[2*7], C1)); + tmp1[10] = in1[2*0] + FRAC_RND(MUL64(-in1[2*2], C8) - + MUL64(in1[2*4], C2) + in6_6 + + MUL64(in1[2*8], C4)); + tmp1[12] = FRAC_RND(MUL64(in1[2*1], C7) - in3_3 + + MUL64(in1[2*5], C1) - + MUL64(in1[2*7], C5)); + tmp1[14] = in1[2*0] + FRAC_RND(MUL64(-in1[2*2], C4) + + MUL64(in1[2*4], C8) + in6_6 - + MUL64(in1[2*8], C2)); + tmp1[16] = in1[2*0] - in1[2*2] + in1[2*4] - in1[2*6] + in1[2*8]; + } + + i = 0; + for(j=0;j<4;j++) { + t0 = tmp[i]; + t1 = tmp[i + 2]; + s0 = t1 + t0; + s2 = t1 - t0; + + t2 = tmp[i + 1]; + t3 = tmp[i + 3]; + s1 = MULL(t3 + t2, icos36[j]); + s3 = MULL(t3 - t2, icos36[8 - j]); + + t0 = MULL(s0 + s1, icos72[9 + 8 - j]); + t1 = MULL(s0 - s1, icos72[8 - j]); + out[18 + 9 + j] = t0; + out[18 + 8 - j] = t0; + out[9 + j] = -t1; + out[8 - j] = t1; + + t0 = MULL(s2 + s3, icos72[9+j]); + t1 = MULL(s2 - s3, icos72[j]); + out[18 + 9 + (8 - j)] = t0; + out[18 + j] = t0; + out[9 + (8 - j)] = -t1; + out[j] = t1; + i += 4; + } + + s0 = tmp[16]; + s1 = MULL(tmp[17], icos36[4]); + t0 = MULL(s0 + s1, icos72[9 + 4]); + t1 = MULL(s0 - s1, icos72[4]); + out[18 + 9 + 4] = t0; + out[18 + 8 - 4] = t0; + out[9 + 4] = -t1; + out[8 - 4] = t1; +} + +/* fast header check for resync */ +static int check_header(uint32_t header) +{ + /* header */ + if ((header & 0xffe00000) != 0xffe00000) + return -1; + /* layer check */ + if (((header >> 17) & 3) == 0) + return -1; + /* bit rate */ + if (((header >> 12) & 0xf) == 0xf) + return -1; + /* frequency */ + if (((header >> 10) & 3) == 3) + return -1; + return 0; +} + +/* header + layer + bitrate + freq + lsf/mpeg25 */ +#define SAME_HEADER_MASK \ + (0xffe00000 | (3 << 17) | (0xf << 12) | (3 << 10) | (3 << 19)) + +/* header decoding. MUST check the header before because no + consistency check is done there. Return 1 if free format found and + that the frame size must be computed externally */ +static int decode_header(MPADecodeContext *s, uint32_t header) +{ + int sample_rate, frame_size, mpeg25, padding; + int sample_rate_index, bitrate_index; + if (header & (1<<20)) { + s->lsf = (header & (1<<19)) ? 0 : 1; + mpeg25 = 0; + } else { + s->lsf = 1; + mpeg25 = 1; + } + + s->layer = 4 - ((header >> 17) & 3); + /* extract frequency */ + sample_rate_index = (header >> 10) & 3; + sample_rate = mpa_freq_tab[sample_rate_index] >> (s->lsf + mpeg25); + sample_rate_index += 3 * (s->lsf + mpeg25); + s->sample_rate_index = sample_rate_index; + s->error_protection = ((header >> 16) & 1) ^ 1; + s->sample_rate = sample_rate; + + bitrate_index = (header >> 12) & 0xf; + padding = (header >> 9) & 1; + s->mode = (header >> 6) & 3; + s->mode_ext = (header >> 4) & 3; + + if (s->mode == MPA_MONO) + s->nb_channels = 1; + else + s->nb_channels = 2; + + if (bitrate_index != 0) { + frame_size = mpa_bitrate_tab[s->lsf][s->layer - 1][bitrate_index]; + s->bit_rate = frame_size * 1000; + switch(s->layer) { + case 1: + frame_size = (frame_size * 12000) / sample_rate; + frame_size = (frame_size + padding) * 4; + break; + case 2: + frame_size = (frame_size * 144000) / sample_rate; + frame_size += padding; + break; + default: + case 3: + frame_size = (frame_size * 144000) / (sample_rate << s->lsf); + frame_size += padding; + break; + } + s->frame_size = frame_size; + } else { + /* if no frame size computed, signal it */ + if (!s->free_format_frame_size) + return 1; + /* free format: compute bitrate and real frame size from the + frame size we extracted by reading the bitstream */ + s->frame_size = s->free_format_frame_size; + switch(s->layer) { + case 1: + s->frame_size += padding * 4; + s->bit_rate = (s->frame_size * sample_rate) / 48000; + break; + case 2: + s->frame_size += padding; + s->bit_rate = (s->frame_size * sample_rate) / 144000; + break; + default: + case 3: + s->frame_size += padding; + s->bit_rate = (s->frame_size * (sample_rate << s->lsf)) / 144000; + break; + } + } + +#if defined(DEBUG) + printf("layer%d, %d Hz, %d kbits/s, ", + s->layer, s->sample_rate, s->bit_rate); + if (s->nb_channels == 2) { + if (s->layer == 3) { + if (s->mode_ext & MODE_EXT_MS_STEREO) + printf("ms-"); + if (s->mode_ext & MODE_EXT_I_STEREO) + printf("i-"); + } + printf("stereo"); + } else { + printf("mono"); + } + printf("\n"); +#endif + return 0; +} + +/* return the number of decoded frames */ +static int mp_decode_layer1(MPADecodeContext *s) +{ + int bound, i, v, n, ch, j, mant; + uint8_t allocation[MPA_MAX_CHANNELS][SBLIMIT]; + uint8_t scale_factors[MPA_MAX_CHANNELS][SBLIMIT]; + + if (s->mode == MPA_JSTEREO) + bound = (s->mode_ext + 1) * 4; + else + bound = SBLIMIT; + + /* allocation bits */ + for(i=0;inb_channels;ch++) { + allocation[ch][i] = get_bits(&s->gb, 4); + } + } + for(i=bound;igb, 4); + } + + /* scale factors */ + for(i=0;inb_channels;ch++) { + if (allocation[ch][i]) + scale_factors[ch][i] = get_bits(&s->gb, 6); + } + } + for(i=bound;igb, 6); + scale_factors[1][i] = get_bits(&s->gb, 6); + } + } + + /* compute samples */ + for(j=0;j<12;j++) { + for(i=0;inb_channels;ch++) { + n = allocation[ch][i]; + if (n) { + mant = get_bits(&s->gb, n + 1); + v = l1_unscale(n, mant, scale_factors[ch][i]); + } else { + v = 0; + } + s->sb_samples[ch][j][i] = v; + } + } + for(i=bound;igb, n + 1); + v = l1_unscale(n, mant, scale_factors[0][i]); + s->sb_samples[0][j][i] = v; + v = l1_unscale(n, mant, scale_factors[1][i]); + s->sb_samples[1][j][i] = v; + } else { + s->sb_samples[0][j][i] = 0; + s->sb_samples[1][j][i] = 0; + } + } + } + return 12; +} + +/* bitrate is in kb/s */ +static int l2_select_table(int bitrate, int nb_channels, int freq, int lsf) +{ + int ch_bitrate, table; + + ch_bitrate = bitrate / nb_channels; + if (!lsf) { + if ((freq == 48000 && ch_bitrate >= 56) || + (ch_bitrate >= 56 && ch_bitrate <= 80)) + table = 0; + else if (freq != 48000 && ch_bitrate >= 96) + table = 1; + else if (freq != 32000 && ch_bitrate <= 48) + table = 2; + else + table = 3; + } else { + table = 4; + } + return table; +} + +static int mp_decode_layer2(MPADecodeContext *s) +{ + int sblimit; /* number of used subbands */ + const unsigned char *alloc_table; + int table, bit_alloc_bits, i, j, ch, bound, v; + unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT]; + unsigned char scale_code[MPA_MAX_CHANNELS][SBLIMIT]; + unsigned char scale_factors[MPA_MAX_CHANNELS][SBLIMIT][3], *sf; + int scale, qindex, bits, steps, k, l, m, b; + + /* select decoding table */ + table = l2_select_table(s->bit_rate / 1000, s->nb_channels, + s->sample_rate, s->lsf); + sblimit = sblimit_table[table]; + alloc_table = alloc_tables[table]; + + if (s->mode == MPA_JSTEREO) + bound = (s->mode_ext + 1) * 4; + else + bound = sblimit; + +#ifdef DEBUG + printf("bound=%d sblimit=%d\n", bound, sblimit); +#endif + /* parse bit allocation */ + j = 0; + for(i=0;inb_channels;ch++) { + bit_alloc[ch][i] = get_bits(&s->gb, bit_alloc_bits); + } + j += 1 << bit_alloc_bits; + } + for(i=bound;igb, bit_alloc_bits); + bit_alloc[0][i] = v; + bit_alloc[1][i] = v; + j += 1 << bit_alloc_bits; + } + +#ifdef DEBUG + { + for(ch=0;chnb_channels;ch++) { + for(i=0;inb_channels;ch++) { + if (bit_alloc[ch][i]) + scale_code[ch][i] = get_bits(&s->gb, 2); + } + } + + /* scale factors */ + for(i=0;inb_channels;ch++) { + if (bit_alloc[ch][i]) { + sf = scale_factors[ch][i]; + switch(scale_code[ch][i]) { + default: + case 0: + sf[0] = get_bits(&s->gb, 6); + sf[1] = get_bits(&s->gb, 6); + sf[2] = get_bits(&s->gb, 6); + break; + case 2: + sf[0] = get_bits(&s->gb, 6); + sf[1] = sf[0]; + sf[2] = sf[0]; + break; + case 1: + sf[0] = get_bits(&s->gb, 6); + sf[2] = get_bits(&s->gb, 6); + sf[1] = sf[0]; + break; + case 3: + sf[0] = get_bits(&s->gb, 6); + sf[2] = get_bits(&s->gb, 6); + sf[1] = sf[2]; + break; + } + } + } + } + +#ifdef DEBUG + for(ch=0;chnb_channels;ch++) { + for(i=0;inb_channels;ch++) { + b = bit_alloc[ch][i]; + if (b) { + scale = scale_factors[ch][i][k]; + qindex = alloc_table[j+b]; + bits = quant_bits[qindex]; + if (bits < 0) { + /* 3 values at the same time */ + v = get_bits(&s->gb, -bits); + steps = quant_steps[qindex]; + s->sb_samples[ch][k * 12 + l + 0][i] = + l2_unscale_group(steps, v % steps, scale); + v = v / steps; + s->sb_samples[ch][k * 12 + l + 1][i] = + l2_unscale_group(steps, v % steps, scale); + v = v / steps; + s->sb_samples[ch][k * 12 + l + 2][i] = + l2_unscale_group(steps, v, scale); + } else { + for(m=0;m<3;m++) { + v = get_bits(&s->gb, bits); + v = l1_unscale(bits - 1, v, scale); + s->sb_samples[ch][k * 12 + l + m][i] = v; + } + } + } else { + s->sb_samples[ch][k * 12 + l + 0][i] = 0; + s->sb_samples[ch][k * 12 + l + 1][i] = 0; + s->sb_samples[ch][k * 12 + l + 2][i] = 0; + } + } + /* next subband in alloc table */ + j += 1 << bit_alloc_bits; + } + /* XXX: find a way to avoid this duplication of code */ + for(i=bound;igb, -bits); + steps = quant_steps[qindex]; + mant = v % steps; + v = v / steps; + s->sb_samples[0][k * 12 + l + 0][i] = + l2_unscale_group(steps, mant, scale0); + s->sb_samples[1][k * 12 + l + 0][i] = + l2_unscale_group(steps, mant, scale1); + mant = v % steps; + v = v / steps; + s->sb_samples[0][k * 12 + l + 1][i] = + l2_unscale_group(steps, mant, scale0); + s->sb_samples[1][k * 12 + l + 1][i] = + l2_unscale_group(steps, mant, scale1); + s->sb_samples[0][k * 12 + l + 2][i] = + l2_unscale_group(steps, v, scale0); + s->sb_samples[1][k * 12 + l + 2][i] = + l2_unscale_group(steps, v, scale1); + } else { + for(m=0;m<3;m++) { + mant = get_bits(&s->gb, bits); + s->sb_samples[0][k * 12 + l + m][i] = + l1_unscale(bits - 1, mant, scale0); + s->sb_samples[1][k * 12 + l + m][i] = + l1_unscale(bits - 1, mant, scale1); + } + } + } else { + s->sb_samples[0][k * 12 + l + 0][i] = 0; + s->sb_samples[0][k * 12 + l + 1][i] = 0; + s->sb_samples[0][k * 12 + l + 2][i] = 0; + s->sb_samples[1][k * 12 + l + 0][i] = 0; + s->sb_samples[1][k * 12 + l + 1][i] = 0; + s->sb_samples[1][k * 12 + l + 2][i] = 0; + } + /* next subband in alloc table */ + j += 1 << bit_alloc_bits; + } + /* fill remaining samples to zero */ + for(i=sblimit;inb_channels;ch++) { + s->sb_samples[ch][k * 12 + l + 0][i] = 0; + s->sb_samples[ch][k * 12 + l + 1][i] = 0; + s->sb_samples[ch][k * 12 + l + 2][i] = 0; + } + } + } + } + return 3 * 12; +} + +/* + * Seek back in the stream for backstep bytes (at most 511 bytes) + */ +static void seek_to_maindata(MPADecodeContext *s, unsigned int backstep) +{ + uint8_t *ptr; + + /* compute current position in stream */ + ptr = (uint8_t *)(s->gb.buffer + (get_bits_count(&s->gb)>>3)); + + /* copy old data before current one */ + ptr -= backstep; + memcpy(ptr, s->inbuf1[s->inbuf_index ^ 1] + + BACKSTEP_SIZE + s->old_frame_size - backstep, backstep); + /* init get bits again */ + init_get_bits(&s->gb, ptr, (s->frame_size + backstep)*8); + + /* prepare next buffer */ + s->inbuf_index ^= 1; + s->inbuf = &s->inbuf1[s->inbuf_index][BACKSTEP_SIZE]; + s->old_frame_size = s->frame_size; +} + +static void lsf_sf_expand(int *slen, + int sf, int n1, int n2, int n3) +{ + if (n3) { + slen[3] = sf % n3; + sf /= n3; + } else { + slen[3] = 0; + } + if (n2) { + slen[2] = sf % n2; + sf /= n2; + } else { + slen[2] = 0; + } + slen[1] = sf % n1; + sf /= n1; + slen[0] = sf; +} + +static void exponents_from_scale_factors(MPADecodeContext *s, + GranuleDef *g, + int16_t *exponents) +{ + const uint8_t *bstab, *pretab; + int len, i, j, k, l, v0, shift, gain, gains[3]; + int16_t *exp_ptr; + + exp_ptr = exponents; + gain = g->global_gain - 210; + shift = g->scalefac_scale + 1; + + bstab = band_size_long[s->sample_rate_index]; + pretab = mpa_pretab[g->preflag]; + for(i=0;ilong_end;i++) { + v0 = gain - ((g->scale_factors[i] + pretab[i]) << shift); + len = bstab[i]; + for(j=len;j>0;j--) + *exp_ptr++ = v0; + } + + if (g->short_start < 13) { + bstab = band_size_short[s->sample_rate_index]; + gains[0] = gain - (g->subblock_gain[0] << 3); + gains[1] = gain - (g->subblock_gain[1] << 3); + gains[2] = gain - (g->subblock_gain[2] << 3); + k = g->long_end; + for(i=g->short_start;i<13;i++) { + len = bstab[i]; + for(l=0;l<3;l++) { + v0 = gains[l] - (g->scale_factors[k++] << shift); + for(j=len;j>0;j--) + *exp_ptr++ = v0; + } + } + } +} + +/* handle n = 0 too */ +static int get_bitsz(GetBitContext *s, int n) +{ + if (n == 0) + return 0; + else + return get_bits(s, n); +} + +static int huffman_decode(MPADecodeContext *s, GranuleDef *g, + int16_t *exponents, int end_pos) +{ + int s_index; + int linbits, code, x, y, l, v, i, j, k, pos; + GetBitContext last_gb; + VLC *vlc; + uint8_t *code_table; + + /* low frequencies (called big values) */ + s_index = 0; + for(i=0;i<3;i++) { + j = g->region_size[i]; + if (j == 0) + continue; + /* select vlc table */ + k = g->table_select[i]; + l = mpa_huff_data[k][0]; + linbits = mpa_huff_data[k][1]; + vlc = &huff_vlc[l]; + code_table = huff_code_table[l]; + + /* read huffcode and compute each couple */ + for(;j>0;j--) { + if (get_bits_count(&s->gb) >= end_pos) + break; + if (code_table) { + code = get_vlc(&s->gb, vlc); + if (code < 0) + return -1; + y = code_table[code]; + x = y >> 4; + y = y & 0x0f; + } else { + x = 0; + y = 0; + } +#ifdef DEBUG + printf("region=%d n=%d x=%d y=%d exp=%d\n", + i, g->region_size[i] - j, x, y, exponents[s_index]); +#endif + if (x) { + if (x == 15) + x += get_bitsz(&s->gb, linbits); + v = l3_unscale(x, exponents[s_index]); + if (get_bits(&s->gb, 1)) + v = -v; + } else { + v = 0; + } + g->sb_hybrid[s_index++] = v; + if (y) { + if (y == 15) + y += get_bitsz(&s->gb, linbits); + v = l3_unscale(y, exponents[s_index]); + if (get_bits(&s->gb, 1)) + v = -v; + } else { + v = 0; + } + g->sb_hybrid[s_index++] = v; + } + } + + /* high frequencies */ + vlc = &huff_quad_vlc[g->count1table_select]; + last_gb.buffer = NULL; + while (s_index <= 572) { + pos = get_bits_count(&s->gb); + if (pos >= end_pos) { + if (pos > end_pos && last_gb.buffer != NULL) { + /* some encoders generate an incorrect size for this + part. We must go back into the data */ + s_index -= 4; + s->gb = last_gb; + } + break; + } + last_gb= s->gb; + + code = get_vlc(&s->gb, vlc); +#ifdef DEBUG + printf("t=%d code=%d\n", g->count1table_select, code); +#endif + if (code < 0) + return -1; + for(i=0;i<4;i++) { + if (code & (8 >> i)) { + /* non zero value. Could use a hand coded function for + 'one' value */ + v = l3_unscale(1, exponents[s_index]); + if(get_bits(&s->gb, 1)) + v = -v; + } else { + v = 0; + } + g->sb_hybrid[s_index++] = v; + } + } + while (s_index < 576) + g->sb_hybrid[s_index++] = 0; + return 0; +} + +/* Reorder short blocks from bitstream order to interleaved order. It + would be faster to do it in parsing, but the code would be far more + complicated */ +static void reorder_block(MPADecodeContext *s, GranuleDef *g) +{ + int i, j, k, len; + int32_t *ptr, *dst, *ptr1; + int32_t tmp[576]; + + if (g->block_type != 2) + return; + + if (g->switch_point) { + if (s->sample_rate_index != 8) { + ptr = g->sb_hybrid + 36; + } else { + ptr = g->sb_hybrid + 48; + } + } else { + ptr = g->sb_hybrid; + } + + for(i=g->short_start;i<13;i++) { + len = band_size_short[s->sample_rate_index][i]; + ptr1 = ptr; + for(k=0;k<3;k++) { + dst = tmp + k; + for(j=len;j>0;j--) { + *dst = *ptr++; + dst += 3; + } + } + memcpy(ptr1, tmp, len * 3 * sizeof(int32_t)); + } +} + +#define ISQRT2 FIXR(0.70710678118654752440) + +static void compute_stereo(MPADecodeContext *s, + GranuleDef *g0, GranuleDef *g1) +{ + int i, j, k, l; + int32_t v1, v2; + int sf_max, tmp0, tmp1, sf, len, non_zero_found; + int32_t (*is_tab)[16]; + int32_t *tab0, *tab1; + int non_zero_found_short[3]; + + /* intensity stereo */ + if (s->mode_ext & MODE_EXT_I_STEREO) { + if (!s->lsf) { + is_tab = is_table; + sf_max = 7; + } else { + is_tab = is_table_lsf[g1->scalefac_compress & 1]; + sf_max = 16; + } + + tab0 = g0->sb_hybrid + 576; + tab1 = g1->sb_hybrid + 576; + + non_zero_found_short[0] = 0; + non_zero_found_short[1] = 0; + non_zero_found_short[2] = 0; + k = (13 - g1->short_start) * 3 + g1->long_end - 3; + for(i = 12;i >= g1->short_start;i--) { + /* for last band, use previous scale factor */ + if (i != 11) + k -= 3; + len = band_size_short[s->sample_rate_index][i]; + for(l=2;l>=0;l--) { + tab0 -= len; + tab1 -= len; + if (!non_zero_found_short[l]) { + /* test if non zero band. if so, stop doing i-stereo */ + for(j=0;jscale_factors[k + l]; + if (sf >= sf_max) + goto found1; + + v1 = is_tab[0][sf]; + v2 = is_tab[1][sf]; + for(j=0;jmode_ext & MODE_EXT_MS_STEREO) { + /* lower part of the spectrum : do ms stereo + if enabled */ + for(j=0;jlong_end - 1;i >= 0;i--) { + len = band_size_long[s->sample_rate_index][i]; + tab0 -= len; + tab1 -= len; + /* test if non zero band. if so, stop doing i-stereo */ + if (!non_zero_found) { + for(j=0;jscale_factors[k]; + if (sf >= sf_max) + goto found2; + v1 = is_tab[0][sf]; + v2 = is_tab[1][sf]; + for(j=0;jmode_ext & MODE_EXT_MS_STEREO) { + /* lower part of the spectrum : do ms stereo + if enabled */ + for(j=0;jmode_ext & MODE_EXT_MS_STEREO) { + /* ms stereo ONLY */ + /* NOTE: the 1/sqrt(2) normalization factor is included in the + global gain */ + tab0 = g0->sb_hybrid; + tab1 = g1->sb_hybrid; + for(i=0;i<576;i++) { + tmp0 = tab0[i]; + tmp1 = tab1[i]; + tab0[i] = tmp0 + tmp1; + tab1[i] = tmp0 - tmp1; + } + } +} + +static void compute_antialias(MPADecodeContext *s, + GranuleDef *g) +{ + int32_t *ptr, *p0, *p1, *csa; + int n, tmp0, tmp1, i, j; + + /* we antialias only "long" bands */ + if (g->block_type == 2) { + if (!g->switch_point) + return; + /* XXX: check this for 8000Hz case */ + n = 1; + } else { + n = SBLIMIT - 1; + } + + ptr = g->sb_hybrid + 18; + for(i = n;i > 0;i--) { + p0 = ptr - 1; + p1 = ptr; + csa = &csa_table[0][0]; + for(j=0;j<8;j++) { + tmp0 = *p0; + tmp1 = *p1; + *p0 = FRAC_RND(MUL64(tmp0, csa[0]) - MUL64(tmp1, csa[1])); + *p1 = FRAC_RND(MUL64(tmp0, csa[1]) + MUL64(tmp1, csa[0])); + p0--; + p1++; + csa += 2; + } + ptr += 18; + } +} + +static void compute_imdct(MPADecodeContext *s, + GranuleDef *g, + int32_t *sb_samples, + int32_t *mdct_buf) +{ + int32_t *ptr, *win, *win1, *buf, *buf2, *out_ptr, *ptr1; + int32_t in[6]; + int32_t out[36]; + int32_t out2[12]; + int i, j, k, mdct_long_end, v, sblimit; + + /* find last non zero block */ + ptr = g->sb_hybrid + 576; + ptr1 = g->sb_hybrid + 2 * 18; + while (ptr >= ptr1) { + ptr -= 6; + v = ptr[0] | ptr[1] | ptr[2] | ptr[3] | ptr[4] | ptr[5]; + if (v != 0) + break; + } + sblimit = ((ptr - g->sb_hybrid) / 18) + 1; + + if (g->block_type == 2) { + /* XXX: check for 8000 Hz */ + if (g->switch_point) + mdct_long_end = 2; + else + mdct_long_end = 0; + } else { + mdct_long_end = sblimit; + } + + buf = mdct_buf; + ptr = g->sb_hybrid; + for(j=0;jswitch_point && j < 2) + win1 = mdct_win[0]; + else + win1 = mdct_win[g->block_type]; + /* select frequency inversion */ + win = win1 + ((4 * 36) & -(j & 1)); + for(i=0;i<18;i++) { + *out_ptr = MULL(out[i], win[i]) + buf[i]; + buf[i] = MULL(out[i + 18], win[i + 18]); + out_ptr += SBLIMIT; + } + ptr += 18; + buf += 18; + } + for(j=mdct_long_end;jlsf) { + main_data_begin = get_bits(&s->gb, 8); + if (s->nb_channels == 2) + private_bits = get_bits(&s->gb, 2); + else + private_bits = get_bits(&s->gb, 1); + nb_granules = 1; + } else { + main_data_begin = get_bits(&s->gb, 9); + if (s->nb_channels == 2) + private_bits = get_bits(&s->gb, 3); + else + private_bits = get_bits(&s->gb, 5); + nb_granules = 2; + for(ch=0;chnb_channels;ch++) { + granules[ch][0].scfsi = 0; /* all scale factors are transmitted */ + granules[ch][1].scfsi = get_bits(&s->gb, 4); + } + } + + for(gr=0;grnb_channels;ch++) { +#ifdef DEBUG + printf("gr=%d ch=%d: side_info\n", gr, ch); +#endif + g = &granules[ch][gr]; + g->part2_3_length = get_bits(&s->gb, 12); + g->big_values = get_bits(&s->gb, 9); + g->global_gain = get_bits(&s->gb, 8); + /* if MS stereo only is selected, we precompute the + 1/sqrt(2) renormalization factor */ + if ((s->mode_ext & (MODE_EXT_MS_STEREO | MODE_EXT_I_STEREO)) == + MODE_EXT_MS_STEREO) + g->global_gain -= 2; + if (s->lsf) + g->scalefac_compress = get_bits(&s->gb, 9); + else + g->scalefac_compress = get_bits(&s->gb, 4); + blocksplit_flag = get_bits(&s->gb, 1); + if (blocksplit_flag) { + g->block_type = get_bits(&s->gb, 2); + if (g->block_type == 0) + return -1; + g->switch_point = get_bits(&s->gb, 1); + for(i=0;i<2;i++) + g->table_select[i] = get_bits(&s->gb, 5); + for(i=0;i<3;i++) + g->subblock_gain[i] = get_bits(&s->gb, 3); + /* compute huffman coded region sizes */ + if (g->block_type == 2) + g->region_size[0] = (36 / 2); + else { + if (s->sample_rate_index <= 2) + g->region_size[0] = (36 / 2); + else if (s->sample_rate_index != 8) + g->region_size[0] = (54 / 2); + else + g->region_size[0] = (108 / 2); + } + g->region_size[1] = (576 / 2); + } else { + int region_address1, region_address2, l; + g->block_type = 0; + g->switch_point = 0; + for(i=0;i<3;i++) + g->table_select[i] = get_bits(&s->gb, 5); + /* compute huffman coded region sizes */ + region_address1 = get_bits(&s->gb, 4); + region_address2 = get_bits(&s->gb, 3); +#ifdef DEBUG + printf("region1=%d region2=%d\n", + region_address1, region_address2); +#endif + g->region_size[0] = + band_index_long[s->sample_rate_index][region_address1 + 1] >> 1; + l = region_address1 + region_address2 + 2; + /* should not overflow */ + if (l > 22) + l = 22; + g->region_size[1] = + band_index_long[s->sample_rate_index][l] >> 1; + } + /* convert region offsets to region sizes and truncate + size to big_values */ + g->region_size[2] = (576 / 2); + j = 0; + for(i=0;i<3;i++) { + k = g->region_size[i]; + if (k > g->big_values) + k = g->big_values; + g->region_size[i] = k - j; + j = k; + } + + /* compute band indexes */ + if (g->block_type == 2) { + if (g->switch_point) { + /* if switched mode, we handle the 36 first samples as + long blocks. For 8000Hz, we handle the 48 first + exponents as long blocks (XXX: check this!) */ + if (s->sample_rate_index <= 2) + g->long_end = 8; + else if (s->sample_rate_index != 8) + g->long_end = 6; + else + g->long_end = 4; /* 8000 Hz */ + + if (s->sample_rate_index != 8) + g->short_start = 3; + else + g->short_start = 2; + } else { + g->long_end = 0; + g->short_start = 0; + } + } else { + g->short_start = 13; + g->long_end = 22; + } + + g->preflag = 0; + if (!s->lsf) + g->preflag = get_bits(&s->gb, 1); + g->scalefac_scale = get_bits(&s->gb, 1); + g->count1table_select = get_bits(&s->gb, 1); +#ifdef DEBUG + printf("block_type=%d switch_point=%d\n", + g->block_type, g->switch_point); +#endif + } + } + + /* now we get bits from the main_data_begin offset */ +#ifdef DEBUG + printf("seekback: %d\n", main_data_begin); +#endif + seek_to_maindata(s, main_data_begin); + + for(gr=0;grnb_channels;ch++) { + g = &granules[ch][gr]; + + bits_pos = get_bits_count(&s->gb); + + if (!s->lsf) { + uint8_t *sc; + int slen, slen1, slen2; + + /* MPEG1 scale factors */ + slen1 = slen_table[0][g->scalefac_compress]; + slen2 = slen_table[1][g->scalefac_compress]; +#ifdef DEBUG + printf("slen1=%d slen2=%d\n", slen1, slen2); +#endif + if (g->block_type == 2) { + n = g->switch_point ? 17 : 18; + j = 0; + for(i=0;iscale_factors[j++] = get_bitsz(&s->gb, slen1); + for(i=0;i<18;i++) + g->scale_factors[j++] = get_bitsz(&s->gb, slen2); + for(i=0;i<3;i++) + g->scale_factors[j++] = 0; + } else { + sc = granules[ch][0].scale_factors; + j = 0; + for(k=0;k<4;k++) { + n = (k == 0 ? 6 : 5); + if ((g->scfsi & (0x8 >> k)) == 0) { + slen = (k < 2) ? slen1 : slen2; + for(i=0;iscale_factors[j++] = get_bitsz(&s->gb, slen); + } else { + /* simply copy from last granule */ + for(i=0;iscale_factors[j] = sc[j]; + j++; + } + } + } + g->scale_factors[j++] = 0; + } +#if defined(DEBUG) + { + printf("scfsi=%x gr=%d ch=%d scale_factors:\n", + g->scfsi, gr, ch); + for(i=0;iscale_factors[i]); + printf("\n"); + } +#endif + } else { + int tindex, tindex2, slen[4], sl, sf; + + /* LSF scale factors */ + if (g->block_type == 2) { + tindex = g->switch_point ? 2 : 1; + } else { + tindex = 0; + } + sf = g->scalefac_compress; + if ((s->mode_ext & MODE_EXT_I_STEREO) && ch == 1) { + /* intensity stereo case */ + sf >>= 1; + if (sf < 180) { + lsf_sf_expand(slen, sf, 6, 6, 0); + tindex2 = 3; + } else if (sf < 244) { + lsf_sf_expand(slen, sf - 180, 4, 4, 0); + tindex2 = 4; + } else { + lsf_sf_expand(slen, sf - 244, 3, 0, 0); + tindex2 = 5; + } + } else { + /* normal case */ + if (sf < 400) { + lsf_sf_expand(slen, sf, 5, 4, 4); + tindex2 = 0; + } else if (sf < 500) { + lsf_sf_expand(slen, sf - 400, 5, 4, 0); + tindex2 = 1; + } else { + lsf_sf_expand(slen, sf - 500, 3, 0, 0); + tindex2 = 2; + g->preflag = 1; + } + } + + j = 0; + for(k=0;k<4;k++) { + n = lsf_nsf_table[tindex2][tindex][k]; + sl = slen[k]; + for(i=0;iscale_factors[j++] = get_bitsz(&s->gb, sl); + } + /* XXX: should compute exact size */ + for(;j<40;j++) + g->scale_factors[j] = 0; +#if defined(DEBUG) + { + printf("gr=%d ch=%d scale_factors:\n", + gr, ch); + for(i=0;i<40;i++) + printf(" %d", g->scale_factors[i]); + printf("\n"); + } +#endif + } + + exponents_from_scale_factors(s, g, exponents); + + /* read Huffman coded residue */ + if (huffman_decode(s, g, exponents, + bits_pos + g->part2_3_length) < 0) + return -1; + + /* skip extension bits */ + bits_left = g->part2_3_length - (get_bits_count(&s->gb) - bits_pos); + if (bits_left < 0) { +#ifdef DEBUG + printf("bits_left=%d\n", bits_left); +#endif + return -1; + } + while (bits_left >= 16) { + skip_bits(&s->gb, 16); + bits_left -= 16; + } + if (bits_left > 0) + skip_bits(&s->gb, bits_left); + } /* ch */ + + if (s->nb_channels == 2) + compute_stereo(s, &granules[0][gr], &granules[1][gr]); + + for(ch=0;chnb_channels;ch++) { + g = &granules[ch][gr]; + + reorder_block(s, g); + compute_antialias(s, g); + compute_imdct(s, g, &s->sb_samples[ch][18 * gr][0], s->mdct_buf[ch]); + } + } /* gr */ + return nb_granules * 18; +} + +static int mp_decode_frame(MPADecodeContext *s, + int16_t *samples) +{ + int i, nb_frames, ch; + int16_t *samples_ptr; + + init_get_bits(&s->gb, s->inbuf + HEADER_SIZE, + (s->inbuf_ptr - s->inbuf - HEADER_SIZE)*8); + + /* skip error protection field */ + if (s->error_protection) + get_bits(&s->gb, 16); + +#ifdef DEBUG + printf("frame %d:\n", s->frame_count); +#endif + switch(s->layer) { + case 1: + nb_frames = mp_decode_layer1(s); + break; + case 2: + nb_frames = mp_decode_layer2(s); + break; + case 3: + default: + nb_frames = mp_decode_layer3(s); + break; + } +#if defined(DEBUG) + for(i=0;inb_channels;ch++) { + int j; + printf("%d-%d:", i, ch); + for(j=0;jsb_samples[ch][i][j] / FRAC_ONE); + printf("\n"); + } + } +#endif + /* apply the synthesis filter */ + for(ch=0;chnb_channels;ch++) { + samples_ptr = samples + ch; + for(i=0;inb_channels, + s->sb_samples[ch][i]); + samples_ptr += 32 * s->nb_channels; + } + } +#ifdef DEBUG + s->frame_count++; +#endif + return nb_frames * 32 * sizeof(short) * s->nb_channels; +} + +int mpaudec_decode_frame(MPAuDecContext * mpctx, + void *data, int *data_size, + const uint8_t * buf, int buf_size) +{ + MPADecodeContext *s; + const uint8_t *buf_ptr = buf; + int out_size = 0; + int16_t *out_samples = data; + assert(mpctx != NULL); + assert(mpctx->priv_data != NULL); + s = mpctx->priv_data; + + while (buf_size > 0 && out_size == 0) { + uint32_t header; + uint32_t free_format_next_header = 0; + int len = s->inbuf_ptr - s->inbuf; + if (s->frame_size == 0) { + /* no header seen : find one. We need at least HEADER_SIZE + bytes to parse it */ + len = HEADER_SIZE - len; + if (len > buf_size) + len = buf_size; + if (len > 0) { + memcpy(s->inbuf_ptr, buf_ptr, len); + buf_ptr += len; + buf_size -= len; + s->inbuf_ptr += len; + } + if ((s->inbuf_ptr - s->inbuf) >= HEADER_SIZE) { + header = (s->inbuf[0] << 24) | (s->inbuf[1] << 16) | + (s->inbuf[2] << 8) | s->inbuf[3]; + + if (check_header(header) < 0) { + /* no sync found : move by one byte (inefficient, but simple!) */ + memmove(s->inbuf, s->inbuf + 1, s->inbuf_ptr - s->inbuf - 1); + s->inbuf_ptr--; +#ifdef DEBUG + printf("skip %x\n", header); +#endif + /* reset free format frame size to give a chance + to get a new bitrate */ + s->free_format_frame_size = 0; + } else { + if (decode_header(s, header) == 1) { + /* free format: prepare to compute frame size */ + s->frame_size = -1; + } + /* update codec info */ + mpctx->sample_rate = s->sample_rate; + mpctx->channels = s->nb_channels; + mpctx->bit_rate = s->bit_rate; + mpctx->layer = s->layer; + switch(s->layer) { + case 1: + mpctx->frame_size = 384; + break; + case 2: + mpctx->frame_size = 1152; + break; + case 3: + if (s->lsf) + mpctx->frame_size = 576; + else + mpctx->frame_size = 1152; + break; + } + } + } + } else if (s->frame_size == -1) { + /* free format : find next sync to compute frame size */ + len = MPA_MAX_CODED_FRAME_SIZE - len; + if (len > buf_size) + len = buf_size; + if (len == 0) { + /* frame too long: resync */ + s->frame_size = 0; + memmove(s->inbuf, s->inbuf + 1, s->inbuf_ptr - s->inbuf - 1); + s->inbuf_ptr--; + } else { + uint8_t *p, *pend; + uint32_t header1; + int padding; + + memcpy(s->inbuf_ptr, buf_ptr, len); + /* check for header */ + p = s->inbuf_ptr - 3; + pend = s->inbuf_ptr + len - 4; + while (p <= pend && free_format_next_header == 0) { + header = (p[0] << 24) | (p[1] << 16) | + (p[2] << 8) | p[3]; + header1 = (s->inbuf[0] << 24) | (s->inbuf[1] << 16) | + (s->inbuf[2] << 8) | s->inbuf[3]; + /* check with high probability that we have a + valid header */ + if ((header & SAME_HEADER_MASK) == + (header1 & SAME_HEADER_MASK)) { + /* header found: update pointers */ + len = (p + 4) - s->inbuf_ptr; + buf_ptr += len; + buf_size -= len; + s->inbuf_ptr = p; + free_format_next_header = header; + /* compute frame size */ + s->free_format_frame_size = s->inbuf_ptr - s->inbuf; + padding = (header1 >> 9) & 1; + if (s->layer == 1) + s->free_format_frame_size -= padding * 4; + else + s->free_format_frame_size -= padding; +#ifdef DEBUG + printf("free frame size=%d padding=%d\n", + s->free_format_frame_size, padding); +#endif + decode_header(s, header1); + } else + p++; + } + if (free_format_next_header == 0) { + /* not found: simply increase pointers */ + buf_ptr += len; + s->inbuf_ptr += len; + buf_size -= len; + } + } + } else if (len < s->frame_size) { + if (s->frame_size > MPA_MAX_CODED_FRAME_SIZE) + s->frame_size = MPA_MAX_CODED_FRAME_SIZE; + len = s->frame_size - len; + if (len > buf_size) + len = buf_size; + memcpy(s->inbuf_ptr, buf_ptr, len); + buf_ptr += len; + s->inbuf_ptr += len; + buf_size -= len; + } + if (s->frame_size > 0 && + (s->inbuf_ptr - s->inbuf) >= s->frame_size) { + mpctx->coded_frame_size = s->frame_size; + if (mpctx->parse_only) { + /* simply return the frame data */ + *(uint8_t **)data = s->inbuf; + out_size = s->inbuf_ptr - s->inbuf; + } else { + out_size = mp_decode_frame(s, out_samples); + } + if (free_format_next_header != 0) { + s->inbuf[0] = free_format_next_header >> 24; + s->inbuf[1] = free_format_next_header >> 16; + s->inbuf[2] = free_format_next_header >> 8; + s->inbuf[3] = free_format_next_header; + s->inbuf_ptr = s->inbuf + 4; + } else + s->inbuf_ptr = s->inbuf; + s->frame_size = 0; + } + } + *data_size = out_size; + return buf_ptr - buf; +} + +void mpaudec_clear(MPAuDecContext *mpctx) +{ + assert(mpctx != NULL); + free(mpctx->priv_data); + memset(mpctx, 0, sizeof(MPAuDecContext)); +} diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.h new file mode 100644 index 0000000..06205ba --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudec.h @@ -0,0 +1,34 @@ +/* Portions based on avcodec.h from libavcodec. */ + +#ifndef MPAUDEC_H +#define MPAUDEC_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* in bytes */ +#define MPAUDEC_MAX_AUDIO_FRAME_SIZE 4608 + +typedef struct MPAuDecContext { + int bit_rate; + int layer; + int sample_rate; + int channels; + int frame_size; + void *priv_data; + int parse_only; + int coded_frame_size; +} MPAuDecContext; + +int mpaudec_init(MPAuDecContext *mpctx); +int mpaudec_decode_frame(MPAuDecContext * mpctx, + void *data, int *data_size, + const unsigned char * buf, int buf_size); +void mpaudec_clear(MPAuDecContext *mpctx); + +#ifdef __cplusplus +} +#endif + +#endif /* MPAUDEC_H */ diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudectab.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudectab.h new file mode 100644 index 0000000..7db90e1 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpaudectab.h @@ -0,0 +1,772 @@ +/* Modified slightly by Matt Campbell for the + stand-alone mpaudec library. Based on mpegaudiodectab.h from libavcodec. */ + +static const uint16_t mpa_bitrate_tab[2][3][15] = { + { {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448 }, + {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384 }, + {0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 } }, + { {0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256}, + {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}, + {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160} + } +}; + +static const uint16_t mpa_freq_tab[3] = { 44100, 48000, 32000 }; + +/*******************************************************/ +/* half mpeg encoding window (full precision) */ +static const int32_t mpa_enwindow[257] = { + 0, -1, -1, -1, -1, -1, -1, -2, + -2, -2, -2, -3, -3, -4, -4, -5, + -5, -6, -7, -7, -8, -9, -10, -11, + -13, -14, -16, -17, -19, -21, -24, -26, + -29, -31, -35, -38, -41, -45, -49, -53, + -58, -63, -68, -73, -79, -85, -91, -97, + -104, -111, -117, -125, -132, -139, -147, -154, + -161, -169, -176, -183, -190, -196, -202, -208, + 213, 218, 222, 225, 227, 228, 228, 227, + 224, 221, 215, 208, 200, 189, 177, 163, + 146, 127, 106, 83, 57, 29, -2, -36, + -72, -111, -153, -197, -244, -294, -347, -401, + -459, -519, -581, -645, -711, -779, -848, -919, + -991, -1064, -1137, -1210, -1283, -1356, -1428, -1498, + -1567, -1634, -1698, -1759, -1817, -1870, -1919, -1962, + -2001, -2032, -2057, -2075, -2085, -2087, -2080, -2063, + 2037, 2000, 1952, 1893, 1822, 1739, 1644, 1535, + 1414, 1280, 1131, 970, 794, 605, 402, 185, + -45, -288, -545, -814, -1095, -1388, -1692, -2006, + -2330, -2663, -3004, -3351, -3705, -4063, -4425, -4788, + -5153, -5517, -5879, -6237, -6589, -6935, -7271, -7597, + -7910, -8209, -8491, -8755, -8998, -9219, -9416, -9585, + -9727, -9838, -9916, -9959, -9966, -9935, -9863, -9750, + -9592, -9389, -9139, -8840, -8492, -8092, -7640, -7134, + 6574, 5959, 5288, 4561, 3776, 2935, 2037, 1082, + 70, -998, -2122, -3300, -4533, -5818, -7154, -8540, + -9975,-11455,-12980,-14548,-16155,-17799,-19478,-21189, +-22929,-24694,-26482,-28289,-30112,-31947,-33791,-35640, +-37489,-39336,-41176,-43006,-44821,-46617,-48390,-50137, +-51853,-53534,-55178,-56778,-58333,-59838,-61289,-62684, +-64019,-65290,-66494,-67629,-68692,-69679,-70590,-71420, +-72169,-72835,-73415,-73908,-74313,-74630,-74856,-74992, + 75038, +}; + +/*******************************************************/ +/* layer 2 tables */ + +static const int sblimit_table[5] = { 27 , 30 , 8, 12 , 30 }; + +static const int quant_steps[17] = { + 3, 5, 7, 9, 15, + 31, 63, 127, 255, 511, + 1023, 2047, 4095, 8191, 16383, + 32767, 65535 +}; + +/* we use a negative value if grouped */ +static const int quant_bits[17] = { + -5, -7, 3, -10, 4, + 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, + 15, 16 +}; + +/* encoding tables which give the quantization index. Note how it is + possible to store them efficiently ! */ +static const unsigned char alloc_table_0[] = { + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, +}; + +static const unsigned char alloc_table_1[] = { + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 3, 0, 1, 2, 3, 4, 5, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, + 2, 0, 1, 16, +}; + +static const unsigned char alloc_table_2[] = { + 4, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 4, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, +}; + +static const unsigned char alloc_table_3[] = { + 4, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 4, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, +}; + +static const unsigned char alloc_table_4[] = { + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 3, 0, 1, 3, 4, 5, 6, 7, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, + 2, 0, 1, 3, +}; + +static const unsigned char *alloc_tables[5] = +{ alloc_table_0, alloc_table_1, alloc_table_2, alloc_table_3, alloc_table_4, }; + +/*******************************************************/ +/* layer 3 tables */ + +/* layer3 scale factor size */ +static const uint8_t slen_table[2][16] = { + { 0, 0, 0, 0, 3, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4 }, + { 0, 1, 2, 3, 0, 1, 2, 3, 1, 2, 3, 1, 2, 3, 2, 3 }, +}; + +/* number of lsf scale factors for a given size */ +static const uint8_t lsf_nsf_table[6][3][4] = { + { { 6, 5, 5, 5 }, { 9, 9, 9, 9 }, { 6, 9, 9, 9 } }, + { { 6, 5, 7, 3 }, { 9, 9, 12, 6 }, { 6, 9, 12, 6 } }, + { { 11, 10, 0, 0 }, { 18, 18, 0, 0 }, { 15, 18, 0, 0 } }, + { { 7, 7, 7, 0 }, { 12, 12, 12, 0 }, { 6, 15, 12, 0 } }, + { { 6, 6, 6, 3 }, { 12, 9, 9, 6 }, { 6, 12, 9, 6 } }, + { { 8, 8, 5, 0 }, { 15, 12, 9, 0 }, { 6, 18, 9, 0 } }, +}; + +/* mpegaudio layer 3 huffman tables */ + +static const uint16_t mpa_huffcodes_1[4] = { + 0x0001, 0x0001, 0x0001, 0x0000, +}; + +static const uint8_t mpa_huffbits_1[4] = { + 1, 3, 2, 3, +}; + +static const uint16_t mpa_huffcodes_2[9] = { + 0x0001, 0x0002, 0x0001, 0x0003, 0x0001, 0x0001, 0x0003, 0x0002, + 0x0000, +}; + +static const uint8_t mpa_huffbits_2[9] = { + 1, 3, 6, 3, 3, 5, 5, 5, + 6, +}; + +static const uint16_t mpa_huffcodes_3[9] = { + 0x0003, 0x0002, 0x0001, 0x0001, 0x0001, 0x0001, 0x0003, 0x0002, + 0x0000, +}; + +static const uint8_t mpa_huffbits_3[9] = { + 2, 2, 6, 3, 2, 5, 5, 5, + 6, +}; + +static const uint16_t mpa_huffcodes_5[16] = { + 0x0001, 0x0002, 0x0006, 0x0005, 0x0003, 0x0001, 0x0004, 0x0004, + 0x0007, 0x0005, 0x0007, 0x0001, 0x0006, 0x0001, 0x0001, 0x0000, +}; + +static const uint8_t mpa_huffbits_5[16] = { + 1, 3, 6, 7, 3, 3, 6, 7, + 6, 6, 7, 8, 7, 6, 7, 8, +}; + +static const uint16_t mpa_huffcodes_6[16] = { + 0x0007, 0x0003, 0x0005, 0x0001, 0x0006, 0x0002, 0x0003, 0x0002, + 0x0005, 0x0004, 0x0004, 0x0001, 0x0003, 0x0003, 0x0002, 0x0000, +}; + +static const uint8_t mpa_huffbits_6[16] = { + 3, 3, 5, 7, 3, 2, 4, 5, + 4, 4, 5, 6, 6, 5, 6, 7, +}; + +static const uint16_t mpa_huffcodes_7[36] = { + 0x0001, 0x0002, 0x000a, 0x0013, 0x0010, 0x000a, 0x0003, 0x0003, + 0x0007, 0x000a, 0x0005, 0x0003, 0x000b, 0x0004, 0x000d, 0x0011, + 0x0008, 0x0004, 0x000c, 0x000b, 0x0012, 0x000f, 0x000b, 0x0002, + 0x0007, 0x0006, 0x0009, 0x000e, 0x0003, 0x0001, 0x0006, 0x0004, + 0x0005, 0x0003, 0x0002, 0x0000, +}; + +static const uint8_t mpa_huffbits_7[36] = { + 1, 3, 6, 8, 8, 9, 3, 4, + 6, 7, 7, 8, 6, 5, 7, 8, + 8, 9, 7, 7, 8, 9, 9, 9, + 7, 7, 8, 9, 9, 10, 8, 8, + 9, 10, 10, 10, +}; + +static const uint16_t mpa_huffcodes_8[36] = { + 0x0003, 0x0004, 0x0006, 0x0012, 0x000c, 0x0005, 0x0005, 0x0001, + 0x0002, 0x0010, 0x0009, 0x0003, 0x0007, 0x0003, 0x0005, 0x000e, + 0x0007, 0x0003, 0x0013, 0x0011, 0x000f, 0x000d, 0x000a, 0x0004, + 0x000d, 0x0005, 0x0008, 0x000b, 0x0005, 0x0001, 0x000c, 0x0004, + 0x0004, 0x0001, 0x0001, 0x0000, +}; + +static const uint8_t mpa_huffbits_8[36] = { + 2, 3, 6, 8, 8, 9, 3, 2, + 4, 8, 8, 8, 6, 4, 6, 8, + 8, 9, 8, 8, 8, 9, 9, 10, + 8, 7, 8, 9, 10, 10, 9, 8, + 9, 9, 11, 11, +}; + +static const uint16_t mpa_huffcodes_9[36] = { + 0x0007, 0x0005, 0x0009, 0x000e, 0x000f, 0x0007, 0x0006, 0x0004, + 0x0005, 0x0005, 0x0006, 0x0007, 0x0007, 0x0006, 0x0008, 0x0008, + 0x0008, 0x0005, 0x000f, 0x0006, 0x0009, 0x000a, 0x0005, 0x0001, + 0x000b, 0x0007, 0x0009, 0x0006, 0x0004, 0x0001, 0x000e, 0x0004, + 0x0006, 0x0002, 0x0006, 0x0000, +}; + +static const uint8_t mpa_huffbits_9[36] = { + 3, 3, 5, 6, 8, 9, 3, 3, + 4, 5, 6, 8, 4, 4, 5, 6, + 7, 8, 6, 5, 6, 7, 7, 8, + 7, 6, 7, 7, 8, 9, 8, 7, + 8, 8, 9, 9, +}; + +static const uint16_t mpa_huffcodes_10[64] = { + 0x0001, 0x0002, 0x000a, 0x0017, 0x0023, 0x001e, 0x000c, 0x0011, + 0x0003, 0x0003, 0x0008, 0x000c, 0x0012, 0x0015, 0x000c, 0x0007, + 0x000b, 0x0009, 0x000f, 0x0015, 0x0020, 0x0028, 0x0013, 0x0006, + 0x000e, 0x000d, 0x0016, 0x0022, 0x002e, 0x0017, 0x0012, 0x0007, + 0x0014, 0x0013, 0x0021, 0x002f, 0x001b, 0x0016, 0x0009, 0x0003, + 0x001f, 0x0016, 0x0029, 0x001a, 0x0015, 0x0014, 0x0005, 0x0003, + 0x000e, 0x000d, 0x000a, 0x000b, 0x0010, 0x0006, 0x0005, 0x0001, + 0x0009, 0x0008, 0x0007, 0x0008, 0x0004, 0x0004, 0x0002, 0x0000, +}; + +static const uint8_t mpa_huffbits_10[64] = { + 1, 3, 6, 8, 9, 9, 9, 10, + 3, 4, 6, 7, 8, 9, 8, 8, + 6, 6, 7, 8, 9, 10, 9, 9, + 7, 7, 8, 9, 10, 10, 9, 10, + 8, 8, 9, 10, 10, 10, 10, 10, + 9, 9, 10, 10, 11, 11, 10, 11, + 8, 8, 9, 10, 10, 10, 11, 11, + 9, 8, 9, 10, 10, 11, 11, 11, +}; + +static const uint16_t mpa_huffcodes_11[64] = { + 0x0003, 0x0004, 0x000a, 0x0018, 0x0022, 0x0021, 0x0015, 0x000f, + 0x0005, 0x0003, 0x0004, 0x000a, 0x0020, 0x0011, 0x000b, 0x000a, + 0x000b, 0x0007, 0x000d, 0x0012, 0x001e, 0x001f, 0x0014, 0x0005, + 0x0019, 0x000b, 0x0013, 0x003b, 0x001b, 0x0012, 0x000c, 0x0005, + 0x0023, 0x0021, 0x001f, 0x003a, 0x001e, 0x0010, 0x0007, 0x0005, + 0x001c, 0x001a, 0x0020, 0x0013, 0x0011, 0x000f, 0x0008, 0x000e, + 0x000e, 0x000c, 0x0009, 0x000d, 0x000e, 0x0009, 0x0004, 0x0001, + 0x000b, 0x0004, 0x0006, 0x0006, 0x0006, 0x0003, 0x0002, 0x0000, +}; + +static const uint8_t mpa_huffbits_11[64] = { + 2, 3, 5, 7, 8, 9, 8, 9, + 3, 3, 4, 6, 8, 8, 7, 8, + 5, 5, 6, 7, 8, 9, 8, 8, + 7, 6, 7, 9, 8, 10, 8, 9, + 8, 8, 8, 9, 9, 10, 9, 10, + 8, 8, 9, 10, 10, 11, 10, 11, + 8, 7, 7, 8, 9, 10, 10, 10, + 8, 7, 8, 9, 10, 10, 10, 10, +}; + +static const uint16_t mpa_huffcodes_12[64] = { + 0x0009, 0x0006, 0x0010, 0x0021, 0x0029, 0x0027, 0x0026, 0x001a, + 0x0007, 0x0005, 0x0006, 0x0009, 0x0017, 0x0010, 0x001a, 0x000b, + 0x0011, 0x0007, 0x000b, 0x000e, 0x0015, 0x001e, 0x000a, 0x0007, + 0x0011, 0x000a, 0x000f, 0x000c, 0x0012, 0x001c, 0x000e, 0x0005, + 0x0020, 0x000d, 0x0016, 0x0013, 0x0012, 0x0010, 0x0009, 0x0005, + 0x0028, 0x0011, 0x001f, 0x001d, 0x0011, 0x000d, 0x0004, 0x0002, + 0x001b, 0x000c, 0x000b, 0x000f, 0x000a, 0x0007, 0x0004, 0x0001, + 0x001b, 0x000c, 0x0008, 0x000c, 0x0006, 0x0003, 0x0001, 0x0000, +}; + +static const uint8_t mpa_huffbits_12[64] = { + 4, 3, 5, 7, 8, 9, 9, 9, + 3, 3, 4, 5, 7, 7, 8, 8, + 5, 4, 5, 6, 7, 8, 7, 8, + 6, 5, 6, 6, 7, 8, 8, 8, + 7, 6, 7, 7, 8, 8, 8, 9, + 8, 7, 8, 8, 8, 9, 8, 9, + 8, 7, 7, 8, 8, 9, 9, 10, + 9, 8, 8, 9, 9, 9, 9, 10, +}; + +static const uint16_t mpa_huffcodes_13[256] = { + 0x0001, 0x0005, 0x000e, 0x0015, 0x0022, 0x0033, 0x002e, 0x0047, + 0x002a, 0x0034, 0x0044, 0x0034, 0x0043, 0x002c, 0x002b, 0x0013, + 0x0003, 0x0004, 0x000c, 0x0013, 0x001f, 0x001a, 0x002c, 0x0021, + 0x001f, 0x0018, 0x0020, 0x0018, 0x001f, 0x0023, 0x0016, 0x000e, + 0x000f, 0x000d, 0x0017, 0x0024, 0x003b, 0x0031, 0x004d, 0x0041, + 0x001d, 0x0028, 0x001e, 0x0028, 0x001b, 0x0021, 0x002a, 0x0010, + 0x0016, 0x0014, 0x0025, 0x003d, 0x0038, 0x004f, 0x0049, 0x0040, + 0x002b, 0x004c, 0x0038, 0x0025, 0x001a, 0x001f, 0x0019, 0x000e, + 0x0023, 0x0010, 0x003c, 0x0039, 0x0061, 0x004b, 0x0072, 0x005b, + 0x0036, 0x0049, 0x0037, 0x0029, 0x0030, 0x0035, 0x0017, 0x0018, + 0x003a, 0x001b, 0x0032, 0x0060, 0x004c, 0x0046, 0x005d, 0x0054, + 0x004d, 0x003a, 0x004f, 0x001d, 0x004a, 0x0031, 0x0029, 0x0011, + 0x002f, 0x002d, 0x004e, 0x004a, 0x0073, 0x005e, 0x005a, 0x004f, + 0x0045, 0x0053, 0x0047, 0x0032, 0x003b, 0x0026, 0x0024, 0x000f, + 0x0048, 0x0022, 0x0038, 0x005f, 0x005c, 0x0055, 0x005b, 0x005a, + 0x0056, 0x0049, 0x004d, 0x0041, 0x0033, 0x002c, 0x002b, 0x002a, + 0x002b, 0x0014, 0x001e, 0x002c, 0x0037, 0x004e, 0x0048, 0x0057, + 0x004e, 0x003d, 0x002e, 0x0036, 0x0025, 0x001e, 0x0014, 0x0010, + 0x0035, 0x0019, 0x0029, 0x0025, 0x002c, 0x003b, 0x0036, 0x0051, + 0x0042, 0x004c, 0x0039, 0x0036, 0x0025, 0x0012, 0x0027, 0x000b, + 0x0023, 0x0021, 0x001f, 0x0039, 0x002a, 0x0052, 0x0048, 0x0050, + 0x002f, 0x003a, 0x0037, 0x0015, 0x0016, 0x001a, 0x0026, 0x0016, + 0x0035, 0x0019, 0x0017, 0x0026, 0x0046, 0x003c, 0x0033, 0x0024, + 0x0037, 0x001a, 0x0022, 0x0017, 0x001b, 0x000e, 0x0009, 0x0007, + 0x0022, 0x0020, 0x001c, 0x0027, 0x0031, 0x004b, 0x001e, 0x0034, + 0x0030, 0x0028, 0x0034, 0x001c, 0x0012, 0x0011, 0x0009, 0x0005, + 0x002d, 0x0015, 0x0022, 0x0040, 0x0038, 0x0032, 0x0031, 0x002d, + 0x001f, 0x0013, 0x000c, 0x000f, 0x000a, 0x0007, 0x0006, 0x0003, + 0x0030, 0x0017, 0x0014, 0x0027, 0x0024, 0x0023, 0x0035, 0x0015, + 0x0010, 0x0017, 0x000d, 0x000a, 0x0006, 0x0001, 0x0004, 0x0002, + 0x0010, 0x000f, 0x0011, 0x001b, 0x0019, 0x0014, 0x001d, 0x000b, + 0x0011, 0x000c, 0x0010, 0x0008, 0x0001, 0x0001, 0x0000, 0x0001, +}; + +static const uint8_t mpa_huffbits_13[256] = { + 1, 4, 6, 7, 8, 9, 9, 10, + 9, 10, 11, 11, 12, 12, 13, 13, + 3, 4, 6, 7, 8, 8, 9, 9, + 9, 9, 10, 10, 11, 12, 12, 12, + 6, 6, 7, 8, 9, 9, 10, 10, + 9, 10, 10, 11, 11, 12, 13, 13, + 7, 7, 8, 9, 9, 10, 10, 10, + 10, 11, 11, 11, 11, 12, 13, 13, + 8, 7, 9, 9, 10, 10, 11, 11, + 10, 11, 11, 12, 12, 13, 13, 14, + 9, 8, 9, 10, 10, 10, 11, 11, + 11, 11, 12, 11, 13, 13, 14, 14, + 9, 9, 10, 10, 11, 11, 11, 11, + 11, 12, 12, 12, 13, 13, 14, 14, + 10, 9, 10, 11, 11, 11, 12, 12, + 12, 12, 13, 13, 13, 14, 16, 16, + 9, 8, 9, 10, 10, 11, 11, 12, + 12, 12, 12, 13, 13, 14, 15, 15, + 10, 9, 10, 10, 11, 11, 11, 13, + 12, 13, 13, 14, 14, 14, 16, 15, + 10, 10, 10, 11, 11, 12, 12, 13, + 12, 13, 14, 13, 14, 15, 16, 17, + 11, 10, 10, 11, 12, 12, 12, 12, + 13, 13, 13, 14, 15, 15, 15, 16, + 11, 11, 11, 12, 12, 13, 12, 13, + 14, 14, 15, 15, 15, 16, 16, 16, + 12, 11, 12, 13, 13, 13, 14, 14, + 14, 14, 14, 15, 16, 15, 16, 16, + 13, 12, 12, 13, 13, 13, 15, 14, + 14, 17, 15, 15, 15, 17, 16, 16, + 12, 12, 13, 14, 14, 14, 15, 14, + 15, 15, 16, 16, 19, 18, 19, 16, +}; + +static const uint16_t mpa_huffcodes_15[256] = { + 0x0007, 0x000c, 0x0012, 0x0035, 0x002f, 0x004c, 0x007c, 0x006c, + 0x0059, 0x007b, 0x006c, 0x0077, 0x006b, 0x0051, 0x007a, 0x003f, + 0x000d, 0x0005, 0x0010, 0x001b, 0x002e, 0x0024, 0x003d, 0x0033, + 0x002a, 0x0046, 0x0034, 0x0053, 0x0041, 0x0029, 0x003b, 0x0024, + 0x0013, 0x0011, 0x000f, 0x0018, 0x0029, 0x0022, 0x003b, 0x0030, + 0x0028, 0x0040, 0x0032, 0x004e, 0x003e, 0x0050, 0x0038, 0x0021, + 0x001d, 0x001c, 0x0019, 0x002b, 0x0027, 0x003f, 0x0037, 0x005d, + 0x004c, 0x003b, 0x005d, 0x0048, 0x0036, 0x004b, 0x0032, 0x001d, + 0x0034, 0x0016, 0x002a, 0x0028, 0x0043, 0x0039, 0x005f, 0x004f, + 0x0048, 0x0039, 0x0059, 0x0045, 0x0031, 0x0042, 0x002e, 0x001b, + 0x004d, 0x0025, 0x0023, 0x0042, 0x003a, 0x0034, 0x005b, 0x004a, + 0x003e, 0x0030, 0x004f, 0x003f, 0x005a, 0x003e, 0x0028, 0x0026, + 0x007d, 0x0020, 0x003c, 0x0038, 0x0032, 0x005c, 0x004e, 0x0041, + 0x0037, 0x0057, 0x0047, 0x0033, 0x0049, 0x0033, 0x0046, 0x001e, + 0x006d, 0x0035, 0x0031, 0x005e, 0x0058, 0x004b, 0x0042, 0x007a, + 0x005b, 0x0049, 0x0038, 0x002a, 0x0040, 0x002c, 0x0015, 0x0019, + 0x005a, 0x002b, 0x0029, 0x004d, 0x0049, 0x003f, 0x0038, 0x005c, + 0x004d, 0x0042, 0x002f, 0x0043, 0x0030, 0x0035, 0x0024, 0x0014, + 0x0047, 0x0022, 0x0043, 0x003c, 0x003a, 0x0031, 0x0058, 0x004c, + 0x0043, 0x006a, 0x0047, 0x0036, 0x0026, 0x0027, 0x0017, 0x000f, + 0x006d, 0x0035, 0x0033, 0x002f, 0x005a, 0x0052, 0x003a, 0x0039, + 0x0030, 0x0048, 0x0039, 0x0029, 0x0017, 0x001b, 0x003e, 0x0009, + 0x0056, 0x002a, 0x0028, 0x0025, 0x0046, 0x0040, 0x0034, 0x002b, + 0x0046, 0x0037, 0x002a, 0x0019, 0x001d, 0x0012, 0x000b, 0x000b, + 0x0076, 0x0044, 0x001e, 0x0037, 0x0032, 0x002e, 0x004a, 0x0041, + 0x0031, 0x0027, 0x0018, 0x0010, 0x0016, 0x000d, 0x000e, 0x0007, + 0x005b, 0x002c, 0x0027, 0x0026, 0x0022, 0x003f, 0x0034, 0x002d, + 0x001f, 0x0034, 0x001c, 0x0013, 0x000e, 0x0008, 0x0009, 0x0003, + 0x007b, 0x003c, 0x003a, 0x0035, 0x002f, 0x002b, 0x0020, 0x0016, + 0x0025, 0x0018, 0x0011, 0x000c, 0x000f, 0x000a, 0x0002, 0x0001, + 0x0047, 0x0025, 0x0022, 0x001e, 0x001c, 0x0014, 0x0011, 0x001a, + 0x0015, 0x0010, 0x000a, 0x0006, 0x0008, 0x0006, 0x0002, 0x0000, +}; + +static const uint8_t mpa_huffbits_15[256] = { + 3, 4, 5, 7, 7, 8, 9, 9, + 9, 10, 10, 11, 11, 11, 12, 13, + 4, 3, 5, 6, 7, 7, 8, 8, + 8, 9, 9, 10, 10, 10, 11, 11, + 5, 5, 5, 6, 7, 7, 8, 8, + 8, 9, 9, 10, 10, 11, 11, 11, + 6, 6, 6, 7, 7, 8, 8, 9, + 9, 9, 10, 10, 10, 11, 11, 11, + 7, 6, 7, 7, 8, 8, 9, 9, + 9, 9, 10, 10, 10, 11, 11, 11, + 8, 7, 7, 8, 8, 8, 9, 9, + 9, 9, 10, 10, 11, 11, 11, 12, + 9, 7, 8, 8, 8, 9, 9, 9, + 9, 10, 10, 10, 11, 11, 12, 12, + 9, 8, 8, 9, 9, 9, 9, 10, + 10, 10, 10, 10, 11, 11, 11, 12, + 9, 8, 8, 9, 9, 9, 9, 10, + 10, 10, 10, 11, 11, 12, 12, 12, + 9, 8, 9, 9, 9, 9, 10, 10, + 10, 11, 11, 11, 11, 12, 12, 12, + 10, 9, 9, 9, 10, 10, 10, 10, + 10, 11, 11, 11, 11, 12, 13, 12, + 10, 9, 9, 9, 10, 10, 10, 10, + 11, 11, 11, 11, 12, 12, 12, 13, + 11, 10, 9, 10, 10, 10, 11, 11, + 11, 11, 11, 11, 12, 12, 13, 13, + 11, 10, 10, 10, 10, 11, 11, 11, + 11, 12, 12, 12, 12, 12, 13, 13, + 12, 11, 11, 11, 11, 11, 11, 11, + 12, 12, 12, 12, 13, 13, 12, 13, + 12, 11, 11, 11, 11, 11, 11, 12, + 12, 12, 12, 12, 13, 13, 13, 13, +}; + +static const uint16_t mpa_huffcodes_16[256] = { + 0x0001, 0x0005, 0x000e, 0x002c, 0x004a, 0x003f, 0x006e, 0x005d, + 0x00ac, 0x0095, 0x008a, 0x00f2, 0x00e1, 0x00c3, 0x0178, 0x0011, + 0x0003, 0x0004, 0x000c, 0x0014, 0x0023, 0x003e, 0x0035, 0x002f, + 0x0053, 0x004b, 0x0044, 0x0077, 0x00c9, 0x006b, 0x00cf, 0x0009, + 0x000f, 0x000d, 0x0017, 0x0026, 0x0043, 0x003a, 0x0067, 0x005a, + 0x00a1, 0x0048, 0x007f, 0x0075, 0x006e, 0x00d1, 0x00ce, 0x0010, + 0x002d, 0x0015, 0x0027, 0x0045, 0x0040, 0x0072, 0x0063, 0x0057, + 0x009e, 0x008c, 0x00fc, 0x00d4, 0x00c7, 0x0183, 0x016d, 0x001a, + 0x004b, 0x0024, 0x0044, 0x0041, 0x0073, 0x0065, 0x00b3, 0x00a4, + 0x009b, 0x0108, 0x00f6, 0x00e2, 0x018b, 0x017e, 0x016a, 0x0009, + 0x0042, 0x001e, 0x003b, 0x0038, 0x0066, 0x00b9, 0x00ad, 0x0109, + 0x008e, 0x00fd, 0x00e8, 0x0190, 0x0184, 0x017a, 0x01bd, 0x0010, + 0x006f, 0x0036, 0x0034, 0x0064, 0x00b8, 0x00b2, 0x00a0, 0x0085, + 0x0101, 0x00f4, 0x00e4, 0x00d9, 0x0181, 0x016e, 0x02cb, 0x000a, + 0x0062, 0x0030, 0x005b, 0x0058, 0x00a5, 0x009d, 0x0094, 0x0105, + 0x00f8, 0x0197, 0x018d, 0x0174, 0x017c, 0x0379, 0x0374, 0x0008, + 0x0055, 0x0054, 0x0051, 0x009f, 0x009c, 0x008f, 0x0104, 0x00f9, + 0x01ab, 0x0191, 0x0188, 0x017f, 0x02d7, 0x02c9, 0x02c4, 0x0007, + 0x009a, 0x004c, 0x0049, 0x008d, 0x0083, 0x0100, 0x00f5, 0x01aa, + 0x0196, 0x018a, 0x0180, 0x02df, 0x0167, 0x02c6, 0x0160, 0x000b, + 0x008b, 0x0081, 0x0043, 0x007d, 0x00f7, 0x00e9, 0x00e5, 0x00db, + 0x0189, 0x02e7, 0x02e1, 0x02d0, 0x0375, 0x0372, 0x01b7, 0x0004, + 0x00f3, 0x0078, 0x0076, 0x0073, 0x00e3, 0x00df, 0x018c, 0x02ea, + 0x02e6, 0x02e0, 0x02d1, 0x02c8, 0x02c2, 0x00df, 0x01b4, 0x0006, + 0x00ca, 0x00e0, 0x00de, 0x00da, 0x00d8, 0x0185, 0x0182, 0x017d, + 0x016c, 0x0378, 0x01bb, 0x02c3, 0x01b8, 0x01b5, 0x06c0, 0x0004, + 0x02eb, 0x00d3, 0x00d2, 0x00d0, 0x0172, 0x017b, 0x02de, 0x02d3, + 0x02ca, 0x06c7, 0x0373, 0x036d, 0x036c, 0x0d83, 0x0361, 0x0002, + 0x0179, 0x0171, 0x0066, 0x00bb, 0x02d6, 0x02d2, 0x0166, 0x02c7, + 0x02c5, 0x0362, 0x06c6, 0x0367, 0x0d82, 0x0366, 0x01b2, 0x0000, + 0x000c, 0x000a, 0x0007, 0x000b, 0x000a, 0x0011, 0x000b, 0x0009, + 0x000d, 0x000c, 0x000a, 0x0007, 0x0005, 0x0003, 0x0001, 0x0003, +}; + +static const uint8_t mpa_huffbits_16[256] = { + 1, 4, 6, 8, 9, 9, 10, 10, + 11, 11, 11, 12, 12, 12, 13, 9, + 3, 4, 6, 7, 8, 9, 9, 9, + 10, 10, 10, 11, 12, 11, 12, 8, + 6, 6, 7, 8, 9, 9, 10, 10, + 11, 10, 11, 11, 11, 12, 12, 9, + 8, 7, 8, 9, 9, 10, 10, 10, + 11, 11, 12, 12, 12, 13, 13, 10, + 9, 8, 9, 9, 10, 10, 11, 11, + 11, 12, 12, 12, 13, 13, 13, 9, + 9, 8, 9, 9, 10, 11, 11, 12, + 11, 12, 12, 13, 13, 13, 14, 10, + 10, 9, 9, 10, 11, 11, 11, 11, + 12, 12, 12, 12, 13, 13, 14, 10, + 10, 9, 10, 10, 11, 11, 11, 12, + 12, 13, 13, 13, 13, 15, 15, 10, + 10, 10, 10, 11, 11, 11, 12, 12, + 13, 13, 13, 13, 14, 14, 14, 10, + 11, 10, 10, 11, 11, 12, 12, 13, + 13, 13, 13, 14, 13, 14, 13, 11, + 11, 11, 10, 11, 12, 12, 12, 12, + 13, 14, 14, 14, 15, 15, 14, 10, + 12, 11, 11, 11, 12, 12, 13, 14, + 14, 14, 14, 14, 14, 13, 14, 11, + 12, 12, 12, 12, 12, 13, 13, 13, + 13, 15, 14, 14, 14, 14, 16, 11, + 14, 12, 12, 12, 13, 13, 14, 14, + 14, 16, 15, 15, 15, 17, 15, 11, + 13, 13, 11, 12, 14, 14, 13, 14, + 14, 15, 16, 15, 17, 15, 14, 11, + 9, 8, 8, 9, 9, 10, 10, 10, + 11, 11, 11, 11, 11, 11, 11, 8, +}; + +static const uint16_t mpa_huffcodes_24[256] = { + 0x000f, 0x000d, 0x002e, 0x0050, 0x0092, 0x0106, 0x00f8, 0x01b2, + 0x01aa, 0x029d, 0x028d, 0x0289, 0x026d, 0x0205, 0x0408, 0x0058, + 0x000e, 0x000c, 0x0015, 0x0026, 0x0047, 0x0082, 0x007a, 0x00d8, + 0x00d1, 0x00c6, 0x0147, 0x0159, 0x013f, 0x0129, 0x0117, 0x002a, + 0x002f, 0x0016, 0x0029, 0x004a, 0x0044, 0x0080, 0x0078, 0x00dd, + 0x00cf, 0x00c2, 0x00b6, 0x0154, 0x013b, 0x0127, 0x021d, 0x0012, + 0x0051, 0x0027, 0x004b, 0x0046, 0x0086, 0x007d, 0x0074, 0x00dc, + 0x00cc, 0x00be, 0x00b2, 0x0145, 0x0137, 0x0125, 0x010f, 0x0010, + 0x0093, 0x0048, 0x0045, 0x0087, 0x007f, 0x0076, 0x0070, 0x00d2, + 0x00c8, 0x00bc, 0x0160, 0x0143, 0x0132, 0x011d, 0x021c, 0x000e, + 0x0107, 0x0042, 0x0081, 0x007e, 0x0077, 0x0072, 0x00d6, 0x00ca, + 0x00c0, 0x00b4, 0x0155, 0x013d, 0x012d, 0x0119, 0x0106, 0x000c, + 0x00f9, 0x007b, 0x0079, 0x0075, 0x0071, 0x00d7, 0x00ce, 0x00c3, + 0x00b9, 0x015b, 0x014a, 0x0134, 0x0123, 0x0110, 0x0208, 0x000a, + 0x01b3, 0x0073, 0x006f, 0x006d, 0x00d3, 0x00cb, 0x00c4, 0x00bb, + 0x0161, 0x014c, 0x0139, 0x012a, 0x011b, 0x0213, 0x017d, 0x0011, + 0x01ab, 0x00d4, 0x00d0, 0x00cd, 0x00c9, 0x00c1, 0x00ba, 0x00b1, + 0x00a9, 0x0140, 0x012f, 0x011e, 0x010c, 0x0202, 0x0179, 0x0010, + 0x014f, 0x00c7, 0x00c5, 0x00bf, 0x00bd, 0x00b5, 0x00ae, 0x014d, + 0x0141, 0x0131, 0x0121, 0x0113, 0x0209, 0x017b, 0x0173, 0x000b, + 0x029c, 0x00b8, 0x00b7, 0x00b3, 0x00af, 0x0158, 0x014b, 0x013a, + 0x0130, 0x0122, 0x0115, 0x0212, 0x017f, 0x0175, 0x016e, 0x000a, + 0x028c, 0x015a, 0x00ab, 0x00a8, 0x00a4, 0x013e, 0x0135, 0x012b, + 0x011f, 0x0114, 0x0107, 0x0201, 0x0177, 0x0170, 0x016a, 0x0006, + 0x0288, 0x0142, 0x013c, 0x0138, 0x0133, 0x012e, 0x0124, 0x011c, + 0x010d, 0x0105, 0x0200, 0x0178, 0x0172, 0x016c, 0x0167, 0x0004, + 0x026c, 0x012c, 0x0128, 0x0126, 0x0120, 0x011a, 0x0111, 0x010a, + 0x0203, 0x017c, 0x0176, 0x0171, 0x016d, 0x0169, 0x0165, 0x0002, + 0x0409, 0x0118, 0x0116, 0x0112, 0x010b, 0x0108, 0x0103, 0x017e, + 0x017a, 0x0174, 0x016f, 0x016b, 0x0168, 0x0166, 0x0164, 0x0000, + 0x002b, 0x0014, 0x0013, 0x0011, 0x000f, 0x000d, 0x000b, 0x0009, + 0x0007, 0x0006, 0x0004, 0x0007, 0x0005, 0x0003, 0x0001, 0x0003, +}; + +static const uint8_t mpa_huffbits_24[256] = { + 4, 4, 6, 7, 8, 9, 9, 10, + 10, 11, 11, 11, 11, 11, 12, 9, + 4, 4, 5, 6, 7, 8, 8, 9, + 9, 9, 10, 10, 10, 10, 10, 8, + 6, 5, 6, 7, 7, 8, 8, 9, + 9, 9, 9, 10, 10, 10, 11, 7, + 7, 6, 7, 7, 8, 8, 8, 9, + 9, 9, 9, 10, 10, 10, 10, 7, + 8, 7, 7, 8, 8, 8, 8, 9, + 9, 9, 10, 10, 10, 10, 11, 7, + 9, 7, 8, 8, 8, 8, 9, 9, + 9, 9, 10, 10, 10, 10, 10, 7, + 9, 8, 8, 8, 8, 9, 9, 9, + 9, 10, 10, 10, 10, 10, 11, 7, + 10, 8, 8, 8, 9, 9, 9, 9, + 10, 10, 10, 10, 10, 11, 11, 8, + 10, 9, 9, 9, 9, 9, 9, 9, + 9, 10, 10, 10, 10, 11, 11, 8, + 10, 9, 9, 9, 9, 9, 9, 10, + 10, 10, 10, 10, 11, 11, 11, 8, + 11, 9, 9, 9, 9, 10, 10, 10, + 10, 10, 10, 11, 11, 11, 11, 8, + 11, 10, 9, 9, 9, 10, 10, 10, + 10, 10, 10, 11, 11, 11, 11, 8, + 11, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 11, 11, 11, 11, 11, 8, + 11, 10, 10, 10, 10, 10, 10, 10, + 11, 11, 11, 11, 11, 11, 11, 8, + 12, 10, 10, 10, 10, 10, 10, 11, + 11, 11, 11, 11, 11, 11, 11, 8, + 8, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 8, 8, 8, 8, 4, +}; + +static const HuffTable mpa_huff_tables[16] = { +{ 1, NULL, NULL }, +{ 2, mpa_huffbits_1, mpa_huffcodes_1 }, +{ 3, mpa_huffbits_2, mpa_huffcodes_2 }, +{ 3, mpa_huffbits_3, mpa_huffcodes_3 }, +{ 4, mpa_huffbits_5, mpa_huffcodes_5 }, +{ 4, mpa_huffbits_6, mpa_huffcodes_6 }, +{ 6, mpa_huffbits_7, mpa_huffcodes_7 }, +{ 6, mpa_huffbits_8, mpa_huffcodes_8 }, +{ 6, mpa_huffbits_9, mpa_huffcodes_9 }, +{ 8, mpa_huffbits_10, mpa_huffcodes_10 }, +{ 8, mpa_huffbits_11, mpa_huffcodes_11 }, +{ 8, mpa_huffbits_12, mpa_huffcodes_12 }, +{ 16, mpa_huffbits_13, mpa_huffcodes_13 }, +{ 16, mpa_huffbits_15, mpa_huffcodes_15 }, +{ 16, mpa_huffbits_16, mpa_huffcodes_16 }, +{ 16, mpa_huffbits_24, mpa_huffcodes_24 }, +}; + +static const uint8_t mpa_huff_data[32][2] = { +{ 0, 0 }, +{ 1, 0 }, +{ 2, 0 }, +{ 3, 0 }, +{ 0, 0 }, +{ 4, 0 }, +{ 5, 0 }, +{ 6, 0 }, +{ 7, 0 }, +{ 8, 0 }, +{ 9, 0 }, +{ 10, 0 }, +{ 11, 0 }, +{ 12, 0 }, +{ 0, 0 }, +{ 13, 0 }, +{ 14, 1 }, +{ 14, 2 }, +{ 14, 3 }, +{ 14, 4 }, +{ 14, 6 }, +{ 14, 8 }, +{ 14, 10 }, +{ 14, 13 }, +{ 15, 4 }, +{ 15, 5 }, +{ 15, 6 }, +{ 15, 7 }, +{ 15, 8 }, +{ 15, 9 }, +{ 15, 11 }, +{ 15, 13 }, +}; + + +/* huffman tables for quadrules */ +static uint8_t mpa_quad_codes[2][16] = { + { 1, 5, 4, 5, 6, 5, 4, 4, 7, 3, 6, 0, 7, 2, 3, 1, }, + { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, }, +}; + +static uint8_t mpa_quad_bits[2][16] = { + { 1, 4, 4, 5, 4, 6, 5, 6, 4, 5, 5, 6, 5, 6, 6, 6, }, + { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, }, +}; + +/* band size tables */ +static const uint8_t band_size_long[9][22] = { +{ 4, 4, 4, 4, 4, 4, 6, 6, 8, 8, 10, + 12, 16, 20, 24, 28, 34, 42, 50, 54, 76, 158, }, /* 44100 */ +{ 4, 4, 4, 4, 4, 4, 6, 6, 6, 8, 10, + 12, 16, 18, 22, 28, 34, 40, 46, 54, 54, 192, }, /* 48000 */ +{ 4, 4, 4, 4, 4, 4, 6, 6, 8, 10, 12, + 16, 20, 24, 30, 38, 46, 56, 68, 84, 102, 26, }, /* 32000 */ +{ 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16, + 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 22050 */ +{ 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16, + 18, 22, 26, 32, 38, 46, 52, 64, 70, 76, 36, }, /* 24000 */ +{ 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16, + 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 16000 */ +{ 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16, + 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 11025 */ +{ 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16, + 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 12000 */ +{ 12, 12, 12, 12, 12, 12, 16, 20, 24, 28, 32, + 40, 48, 56, 64, 76, 90, 2, 2, 2, 2, 2, }, /* 8000 */ +}; + +static const uint8_t band_size_short[9][13] = { +{ 4, 4, 4, 4, 6, 8, 10, 12, 14, 18, 22, 30, 56, }, /* 44100 */ +{ 4, 4, 4, 4, 6, 6, 10, 12, 14, 16, 20, 26, 66, }, /* 48000 */ +{ 4, 4, 4, 4, 6, 8, 12, 16, 20, 26, 34, 42, 12, }, /* 32000 */ +{ 4, 4, 4, 6, 6, 8, 10, 14, 18, 26, 32, 42, 18, }, /* 22050 */ +{ 4, 4, 4, 6, 8, 10, 12, 14, 18, 24, 32, 44, 12, }, /* 24000 */ +{ 4, 4, 4, 6, 8, 10, 12, 14, 18, 24, 30, 40, 18, }, /* 16000 */ +{ 4, 4, 4, 6, 8, 10, 12, 14, 18, 24, 30, 40, 18, }, /* 11025 */ +{ 4, 4, 4, 6, 8, 10, 12, 14, 18, 24, 30, 40, 18, }, /* 12000 */ +{ 8, 8, 8, 12, 16, 20, 24, 28, 36, 2, 2, 2, 26, }, /* 8000 */ +}; + +static const uint8_t mpa_pretab[2][22] = { + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 2, 0 }, +}; + +/* table for alias reduction (XXX: store it as integer !) */ +static const float ci_table[8] = { + -0.6f, -0.535f, -0.33f, -0.185f, -0.095f, -0.041f, -0.0142f, -0.0037f, +}; diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpegaudio.h b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpegaudio.h new file mode 100644 index 0000000..51f0291 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/decoder/mpegaudio.h @@ -0,0 +1,17 @@ +/* Modified slightly by Matt Campbell for the + stand-alone mpaudec library. Based on mpegaudio.h from libavcodec. */ + +/* max frame size, in samples */ +#define MPA_FRAME_SIZE 1152 + +/* max compressed frame size */ +#define MPA_MAX_CODED_FRAME_SIZE 1792 + +#define MPA_MAX_CHANNELS 2 + +#define SBLIMIT 32 /* number of subbands */ + +#define MPA_STEREO 0 +#define MPA_JSTEREO 1 +#define MPA_DUAL 2 +#define MPA_MONO 3 diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/ikpMP3.cpp b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/ikpMP3.cpp new file mode 100644 index 0000000..f1b0604 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/ikpMP3.cpp @@ -0,0 +1,41 @@ + +#include +#include +#include +#include "CIrrKlangAudioStreamLoaderMP3.h" + +using namespace irrklang; + +// this is the only function needed to be implemented for the plugin, it gets +// called by irrKlang when loaded. +// In this plugin, we create an audiostream loader class and register +// it at the engine, but a plugin can do anything. +// Be sure to name the function 'irrKlangPluginInit' and let the dll start with 'ikp'. + +#ifdef WIN32 +// Windows version +__declspec(dllexport) void __stdcall irrKlangPluginInit(ISoundEngine* engine, const char* version) +#else +// Linux version +void irrKlangPluginInit(ISoundEngine* engine, const char* version) +#endif +{ + // do some version security check to be sure that this plugin isn't begin used + // by some newer irrKlang version with changed interfaces which could possibily + // cause crashes. + + if (strcmp(version, IRR_KLANG_VERSION)) + { + printf("This MP3 plugin only supports irrKlang version %s, mp3 playback disabled.\n", IRR_KLANG_VERSION); + return; + } + + // create and register the loader + + CIrrKlangAudioStreamLoaderMP3* loader = new CIrrKlangAudioStreamLoaderMP3(); + engine->registerAudioStreamLoader(loader); + loader->drop(); + + // that's it, that's all. +} + diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/license.txt b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/license.txt new file mode 100644 index 0000000..d3d6502 --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/license.txt @@ -0,0 +1,458 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/readme.txt b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/readme.txt new file mode 100644 index 0000000..bbfbf4d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/plugins/ikpMP3/readme.txt @@ -0,0 +1,7 @@ +ikpMP3 is a plugin for irrKlang. +Copyright (C) 2002-2007 Nikolaus Gebhardt +Part of the code for this plugin for irrKlang is based on: + MP3 input for Audiere by Matt Campbell , based on + libavcodec from ffmpeg (http://ffmpeg.sourceforge.net/). + See license.txt for license details of this plugin. + diff --git a/SQCSim2021/external/irrKlang-1.6.0/readme.txt b/SQCSim2021/external/irrKlang-1.6.0/readme.txt new file mode 100644 index 0000000..9dfc25d --- /dev/null +++ b/SQCSim2021/external/irrKlang-1.6.0/readme.txt @@ -0,0 +1,191 @@ +========================================================================== +The irrKlang SDK version 1.6 +========================================================================== + + Welcome the irrKlang SDK. + + Content of this file: + + 1. Directory structure overview + 2. How to start + 3. Release Notes + 4. .NET version dependencies + 5. License + 6. Contact + + + +========================================================================== +1. Directory structure overview +========================================================================== + + You will find some directories after decompressing the archive in which + came the SDK. These are: + + \bin The compiled library irrKlang.DLL and some compiled demo + and example applications, just start them to see + irrKlang in action. + \doc Documentation of the Irrlicht Engine. + \examples Examples and tutorials showing how to use the native engine + engine using C++. + \example.net Examples written for the .NET version of irrKlang, in C# and + VisualBasic.NET + \include Header files to include when using the engine. + \lib Lib to link with your programs when using the engine. + \media Sound data for the demo applications and + examples. + \plugins Source and documentation of the irrKlang plugins. + + +========================================================================== +2. How to start +========================================================================== + + To see the engine in action in Windows, just go to the \bin\Win32 + directories, and start some applications. + + To start developing own applications and games with the engine take + a look at the 01.HelloWorld example in the \examples directory. + + Windows Users: + There are Visual Studio as well as CodeBlocks projects for the examples. + + Linux users: + Just go into the /examples directory and run 'make' for every + example you want to try out. You can run the examples directly from the + directory they are created in. Some examples may print some special + hints after a successful make and might help you starting them up + by typing in 'make run'. + + Mac users: + There is a XCode project for each example available in + the corresponding example directory. To run the precompiled example + applications from bin\macos-gcc, doubleclick the run_0x_xxxxx.command + files from the finder (this will change the working directory to + bin\macos-gcc) or start them directly from a terminal. + +========================================================================== +3. Release Notes +========================================================================== + + Informations about changes in this new version of the engine can be + found in changes.txt. + + Please note that the included sound files are copyright + by their authors and not included in the irrKlang engine license. + + +========================================================================== +4. .NET version dependencies +========================================================================== + +There are four versions of irrKlang.NET available. They have the same +functionality and can be used from the same .NET projects. +The difference are only their dependencies and target platforms: + +irrKlang.NET2.0 in bin\dotnet-2.0: + Compiled for .NET common language runtime version 2.0, depends on + the modudles MSVCR80.DLL and MSVCM80.DLL. (32 bit) + One method to redistribute these is using the visual studio 2005 + redistributeable (vcredist_x86) + +irrKlang.NET4 in bin\dotnet-4: + Compiled for .NET common language runtime version 4.5, depends on + VCRUNTIME140.dll. (32 bit) + One method to redistribute this is using the visual studio 2017 + redistributeable (vcredist_x86) + +irrKlang.NET4 in bin\dotnet-4-64: (only in the 64 bit irrKlang SDK) + 64 bit version, Compiled for .NET common language runtime version 4.5, + depends on VCRUNTIME140.dll. (64 bit) + One method to redistribute this is using the visual studio 2017 + redistributeable (vcredist 64 bit) + +========================================================================== +5. License +========================================================================== + +irrKlang's source codes, documentation and binaries contained within the +distributed archive are copyright © Nikolaus Gebhardt / Ambiera 2001-2018. + +The contents of the irrKlang distribution archive may not be redistributed, +reproduced, modified, transmitted, broadcast, published or adapted in any +way, shape or form, without the prior written consent of the owner, +Nikolaus Gebhardt. + +The irrKlang.dll, irrKlang.so and libirrklang.dylib files may be +redistributed without the authors prior permission in non-commercial +products, and must remain unmodified except for compressing the file. + +For the included plugins which can be found in the \plugins +directory, different licenses may be applied, as specified in the +actual plugin directory. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- +irrKlang may include Xiph.org Foundation code (Ogg Vorbis and FLAC). +It's license is the following: + +Copyright (c) 2002, Xiph.org Foundation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- +irrKlang may include code from the + Dynamic Universal Music Bibliotheque, Version 0.9.3 + +Copyright (C) 2001-2005 Ben Davis, Robert J Ohannessian and Julien Cugniere + +========================================================================== +6. Contact +========================================================================== + + If you have problems, questions or suggestions, please visit the + official homepage of the irrKlang Engine: + + http://www.ambiera.com/irrklang + + You will find forums, bugtrackers, patches, tutorials, and other stuff + which will help you out. + + If want to contact the author of the engine, please send an email to + Nikolaus Gebhardt: + + office@ambiera.com diff --git a/SQCSim2021/media/audio/music00.wav b/SQCSim2021/media/audio/music00.wav new file mode 100644 index 0000000..e98dca1 Binary files /dev/null and b/SQCSim2021/media/audio/music00.wav differ diff --git a/SQCSim2021/media/audio/music01.wav b/SQCSim2021/media/audio/music01.wav new file mode 100644 index 0000000..c951b50 Binary files /dev/null and b/SQCSim2021/media/audio/music01.wav differ diff --git a/SQCSim2021/media/audio/music02.wav b/SQCSim2021/media/audio/music02.wav new file mode 100644 index 0000000..96b959b Binary files /dev/null and b/SQCSim2021/media/audio/music02.wav differ diff --git a/SQCSim2021/media/shaders/shader01.frag b/SQCSim2021/media/shaders/shader01.frag index c540d70..a708679 100644 --- a/SQCSim2021/media/shaders/shader01.frag +++ b/SQCSim2021/media/shaders/shader01.frag @@ -7,6 +7,7 @@ void main() texel = texture2D(tex,gl_TexCoord[0].st); texel *= light; + texel.a *= gl_Position.z; gl_FragColor = texel; }