- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# irrKlang.h

Go to the documentation of this file.

    00001 /* irrKlang.h -- interface of the 'irrKlang' library
    00002
    00003   Copyright (C) 2002-2018 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.6.0"
    00038
    00912 #if defined(IRRKLANG_STATIC)
    00913     #define IRRKLANG_API
    00914 #else
    00915     #if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER))
    00916         #ifdef IRRKLANG_EXPORTS
    00917         #define IRRKLANG_API __declspec(dllexport)
    00918         #else
    00919         #define IRRKLANG_API __declspec(dllimport)
    00920         #endif // IRRKLANG_EXPORT
    00921     #else
    00922         #define IRRKLANG_API __attribute__((visibility("default")))
    00923     #endif // defined(WIN32) || defined(WIN64)
    00924 #endif // IRRKLANG_STATIC
    00925
    00926 #if defined(_STDCALL_SUPPORTED)
    00927 #define IRRKLANGCALLCONV __stdcall  // Declare the calling convention.
    00928 #else
    00929 #define IRRKLANGCALLCONV
    00930 #endif // STDCALL_SUPPORTED
    00931
    00933 namespace irrklang
    00934 {
    00936
    00952         IRRKLANG_API ISoundEngine* IRRKLANGCALLCONV createIrrKlangDevice(
    00953                 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT,
    00954                 int options = ESEO_DEFAULT_OPTIONS,
    00955                 const char* deviceID = 0,
    00956                 const char* sdk_version_do_not_use = IRR_KLANG_VERSION);
    00957
    00958
    00960
    00971         IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createSoundDeviceList(
    00972                 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT,
    00973                 const char* sdk_version_do_not_use = IRR_KLANG_VERSION);
    00974
    00975
    00977
    00995         IRRKLANG_API IAudioRecorder* IRRKLANGCALLCONV createIrrKlangAudioRecorder(
    00996                 ISoundEngine* irrKlangDeviceForPlayback,
    00997                 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT,
    00998                 const char* deviceID = 0,
    00999                 const char* sdk_version_do_not_use = IRR_KLANG_VERSION);
    01000
    01002
    01012         IRRKLANG_API ISoundDeviceList* IRRKLANGCALLCONV createAudioRecorderDeviceList(
    01013                 E_SOUND_OUTPUT_DRIVER driver = ESOD_AUTO_DETECT,
    01014                 const char* sdk_version_do_not_use = IRR_KLANG_VERSION);
    01015
    01016
    01018
    01028         IRRKLANG_API bool IRRKLANGCALLCONV makeUTF8fromUTF16string(
    01029                 const wchar_t* pInputString, char* pOutputBuffer, int outputBufferSize);
    01030
    01031
    01032 } // end namespace irrklang
    01033
    01034
    01039 #endif
    01040

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

| The irrKlang Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated by Doxygen (1.6.1)