00001 /* irrKlang.h -- interface of the 'irrKlang' library 00002 00003 Copyright (C) 2002-2009 Nikolaus Gebhardt 00004 00005 This software is provided 'as-is', without any express or implied 00006 warranty. In no event will the authors be held liable for any damages 00007 arising from the use of this software. 00008 */ 00009 00010 #ifndef __IRR_KLANG_H_INCLUDED__ 00011 #define __IRR_KLANG_H_INCLUDED__ 00012 00013 #include "ik_irrKlangTypes.h" 00014 #include "ik_vec3d.h" 00015 00016 #include "ik_IRefCounted.h" 00017 #include "ik_IVirtualRefCounted.h" 00018 00019 #include "ik_ESoundOutputDrivers.h" 00020 #include "ik_ESoundEngineOptions.h" 00021 #include "ik_EStreamModes.h" 00022 #include "ik_SAudioStreamFormat.h" 00023 #include "ik_ISoundEngine.h" 00024 #include "ik_ISoundSource.h" 00025 #include "ik_ISound.h" 00026 #include "ik_IAudioStream.h" 00027 #include "ik_IAudioStreamLoader.h" 00028 #include "ik_ISoundEffectControl.h" 00029 #include "ik_ISoundStopEventReceiver.h" 00030 #include "ik_IFileFactory.h" 00031 #include "ik_IFileReader.h" 00032 #include "ik_ISoundDeviceList.h" 00033 #include "ik_IAudioRecorder.h" 00034 #include "ik_ISoundMixedOutputReceiver.h" 00035 00037 #define IRR_KLANG_VERSION "1.3.0" 00038 00882 #if defined(IRRKLANG_STATIC) 00883 #define IRRKLANG_API 00884 #else 00885 #if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER)) 00886 #ifdef IRRKLANG_EXPORTS 00887 #define IRRKLANG_API __declspec(dllexport) 00888 #else 00889 #define IRRKLANG_API __declspec(dllimport) 00890 #endif // IRRKLANG_EXPORT 00891 #else 00892 #define IRRKLANG_API __attribute__((visibility("default"))) 00893 #endif // defined(WIN32) || defined(WIN64) 00894 #endif // IRRKLANG_STATIC 00895 00896 #if defined(_STDCALL_SUPPORTED) 00897 #define IRRKLANGCALLCONV __stdcall // Declare the calling convention. 00898 #else 00899 #define IRRKLANGCALLCONV 00900 #endif // STDCALL_SUPPORTED 00901 00903 namespace irrklang 00904 { 00906 00922 IRRKLANG_API ISoundEngine* IRRKLANGCALLCONV createIrrKlangDevice( 00923 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00924 int options = ESEO_DEFAULT_OPTIONS, 00925 const char* deviceID = 0, 00926 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00927 00928 00930 00941 IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createSoundDeviceList( 00942 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00943 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00944 00945 00947 00965 IRRKLANG_API IAudioRecorder* IRRKLANGCALLCONV createIrrKlangAudioRecorder( 00966 ISoundEngine* irrKlangDeviceForPlayback, 00967 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00968 const char* deviceID = 0, 00969 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00970 00972 00982 IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createAudioRecorderDeviceList( 00983 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00984 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00985 00986 00987 } // end namespace irrklang 00988 00989 00994 #endif 00995
The irrKlang
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
by Doxygen
(1.6.1) |