Carla Backend
Loading...
Searching...
No Matches
CarlaEngineInit.hpp
Go to the documentation of this file.
1/*
2 * Carla Plugin Host
3 * Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * For a full copy of the GNU General Public License see the doc/GPL.txt file.
16 */
17
18#ifndef CARLA_ENGINE_INIT_HPP_INCLUDED
19#define CARLA_ENGINE_INIT_HPP_INCLUDED
20
21#include "CarlaEngine.hpp"
22
23CARLA_BACKEND_START_NAMESPACE
24
25// -------------------------------------------------------------------
26
45
46// -------------------------------------------------------------------
47// Engine initializers
48
49namespace EngineInit {
50
51// JACK
53
54// Dummy
56
57// Bridge
58CarlaEngine* newBridge(const char* audioPoolBaseName,
59 const char* rtClientBaseName,
60 const char* nonRtClientBaseName,
61 const char* nonRtServerBaseName);
62
63// Juce
66const char* getJuceApiName(uint index);
67const char* const* getJuceApiDeviceNames(uint index);
68const EngineDriverDeviceInfo* getJuceDeviceInfo(uint index, const char* deviceName);
69bool showJuceDeviceControlPanel(uint index, const char* deviceName);
70
71// RtAudio
74const char* getRtAudioApiName(uint index);
75const char* const* getRtAudioApiDeviceNames(uint index);
76const EngineDriverDeviceInfo* getRtAudioDeviceInfo(uint index, const char* deviceName);
77
78// SDL
80const char* const* getSDLDeviceNames();
81
82}
83
84// -----------------------------------------------------------------------
85
86CARLA_BACKEND_END_NAMESPACE
87
88#endif // CARLA_ENGINE_INIT_HPP_INCLUDED
AudioApi
Definition CarlaEngineInit.hpp:30
@ AUDIO_API_ASIO
Definition CarlaEngineInit.hpp:41
@ AUDIO_API_PULSEAUDIO
Definition CarlaEngineInit.hpp:37
@ AUDIO_API_COREAUDIO
Definition CarlaEngineInit.hpp:39
@ AUDIO_API_ALSA
Definition CarlaEngineInit.hpp:36
@ AUDIO_API_NULL
Definition CarlaEngineInit.hpp:31
@ AUDIO_API_WASAPI
Definition CarlaEngineInit.hpp:43
@ AUDIO_API_DIRECTSOUND
Definition CarlaEngineInit.hpp:42
@ AUDIO_API_OSS
Definition CarlaEngineInit.hpp:34
@ AUDIO_API_JACK
Definition CarlaEngineInit.hpp:33
Definition CarlaEngine.hpp:814
Definition CarlaEngineInit.hpp:49
const EngineDriverDeviceInfo * getRtAudioDeviceInfo(uint index, const char *deviceName)
CarlaEngine * newJuce(AudioApi api)
CarlaEngine * newBridge(const char *audioPoolBaseName, const char *rtClientBaseName, const char *nonRtClientBaseName, const char *nonRtServerBaseName)
const char * getJuceApiName(uint index)
CarlaEngine * newRtAudio(AudioApi api)
CarlaEngine * newDummy()
const char *const * getSDLDeviceNames()
const char * getRtAudioApiName(uint index)
CarlaEngine * newJack()
bool showJuceDeviceControlPanel(uint index, const char *deviceName)
uint getJuceApiCount()
uint getRtAudioApiCount()
const char *const * getRtAudioApiDeviceNames(uint index)
CarlaEngine * newSDL()
const EngineDriverDeviceInfo * getJuceDeviceInfo(uint index, const char *deviceName)
const char *const * getJuceApiDeviceNames(uint index)
Definition CarlaBackend.h:1954