cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
cAudio.h
1/* cAudio.h -- interface of the 'cAudio Engine'
2
3 Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17
18 2. Altered source versions must be plainly marked as such, and must not be
19 misrepresented as being the original software.
20
21 3. This notice may not be removed or altered from any source
22 distribution.
23
24*/
25
26#pragma once
27
28#include "cAudioDefines.h"
29#include "cAudioPlatform.h"
30#include "cAudioSleep.h"
31#include "EAudioFormats.h"
32#include "IAudioSource.h"
33#include "IAudioCapture.h"
34#include "IAudioDecoder.h"
35#include "IAudioDecoderFactory.h"
36#include "IAudioEffects.h"
37#include "IAudioManager.h"
38#include "IDataSource.h"
39#include "IEffect.h"
40#include "IEffectParameters.h"
41#include "IFilter.h"
42#include "IListener.h"
43#include "ILogger.h"
44#include "ILogReceiver.h"
45#include "IPluginManager.h"
46#include "IRefCounted.h"
47#include "IAudioDeviceList.h"
48
105namespace cAudio {
106
108
114 CAUDIO_API IAudioManager* createAudioManager(bool initializeDefault = true, const char *lFilePath = "cAudioEngineLog.html");
115
117
120 CAUDIO_API void destroyAudioManager(IAudioManager* manager);
121
122
124
129 CAUDIO_API IAudioCapture* createAudioCapture(bool initializeDefault = true);
130
132
135 CAUDIO_API void destroyAudioCapture(IAudioCapture* capture);
136
137
139
142 CAUDIO_API ILogger* getLogger();
143
145 CAUDIO_API IAudioDeviceList* createAudioDeviceList(IDeviceType deviceType = DT_PLAYBACK);
146};
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16
CAUDIO_API ILogger * getLogger()
Gets the interface to the logger.
Definition: cAudio.cpp:45
CAUDIO_API IAudioDeviceList * createAudioDeviceList(IDeviceType deviceType=DT_PLAYBACK)
Creates an interface to an IAudioDeviceList object.
Definition: cAudio.cpp:179
CAUDIO_API void destroyAudioManager(IAudioManager *manager)
Destroys an interface to a previously created Audio Manager and frees the memory allocated for it.
Definition: cAudio.cpp:114
CAUDIO_API IAudioCapture * createAudioCapture(bool initializeDefault=true)
Creates an interface to an Audio Capture Object.
Definition: cAudio.cpp:141
CAUDIO_API IAudioManager * createAudioManager(bool initializeDefault=true, const char *lFilePath="cAudioEngineLog.html")
Creates an interface to an Audio Manager.
Definition: cAudio.cpp:77
CAUDIO_API void destroyAudioCapture(IAudioCapture *capture)
Destroys an interface to a previously created Audio Capture Object and frees the memory allocated for...
Definition: cAudio.cpp:160