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 00036 #define IRR_KLANG_VERSION "1.2.0" 00037 00881 #if defined(IRRKLANG_STATIC) 00882 #define IRRKLANG_API 00883 #else 00884 #if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER)) 00885 #ifdef IRRKLANG_EXPORTS 00886 #define IRRKLANG_API __declspec(dllexport) 00887 #else 00888 #define IRRKLANG_API __declspec(dllimport) 00889 #endif // IRRKLANG_EXPORT 00890 #else 00891 #define IRRKLANG_API __attribute__((visibility("default"))) 00892 #endif // defined(WIN32) || defined(WIN64) 00893 #endif // IRRKLANG_STATIC 00894 00895 #if defined(_STDCALL_SUPPORTED) 00896 #define IRRKLANGCALLCONV __stdcall // Declare the calling convention. 00897 #else 00898 #define IRRKLANGCALLCONV 00899 #endif // STDCALL_SUPPORTED 00900 00902 namespace irrklang 00903 { 00905 00921 IRRKLANG_API ISoundEngine* IRRKLANGCALLCONV createIrrKlangDevice( 00922 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00923 int options = ESEO_DEFAULT_OPTIONS, 00924 const char* deviceID = 0, 00925 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00926 00927 00929 00940 IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createSoundDeviceList( 00941 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00942 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00943 00944 00946 00964 IRRKLANG_API IAudioRecorder* IRRKLANGCALLCONV createIrrKlangAudioRecorder( 00965 ISoundEngine* irrKlangDeviceForPlayback, 00966 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00967 const char* deviceID = 0, 00968 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00969 00971 00981 IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createAudioRecorderDeviceList( 00982 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT, 00983 const char* sdk_version_do_not_use = IRR_KLANG_VERSION); 00984 00985 00986 } // end namespace irrklang 00987 00988 00993 #endif 00994
The irrKlang
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
by Doxygen
(1.6.1) |