[DEV] add basic tools and change some API

This commit is contained in:
2015-06-11 21:39:56 +02:00
parent bb16adc099
commit fa618958b8
22 changed files with 166 additions and 128 deletions

View File

@@ -18,7 +18,7 @@ namespace audio {
public:
Alsa();
virtual ~Alsa();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_alsa;
}
uint32_t getDeviceCount();

View File

@@ -17,7 +17,7 @@ namespace audio {
public:
Android();
virtual ~Android();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_java;
}
uint32_t getDeviceCount();

View File

@@ -18,7 +18,7 @@ namespace audio {
public:
Asio();
virtual ~Asio();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::WINDOWS_ASIO;
}
uint32_t getDeviceCount();

View File

@@ -21,7 +21,7 @@ namespace audio {
public:
Core();
virtual ~Core();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_coreOSX;
}
uint32_t getDeviceCount();

View File

@@ -19,7 +19,7 @@ namespace audio {
public:
CoreIos();
virtual ~CoreIos();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_coreIOS;
}
uint32_t getDeviceCount();

View File

@@ -19,7 +19,7 @@ namespace audio {
public:
Ds();
virtual ~Ds();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_ds;
}
uint32_t getDeviceCount();

View File

@@ -19,7 +19,7 @@ namespace audio {
static audio::orchestra::Api* create();
public:
Dummy();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_dummy;
}
uint32_t getDeviceCount();

View File

@@ -20,7 +20,7 @@ namespace audio {
public:
Jack();
virtual ~Jack();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_jack;
}
uint32_t getDeviceCount();

View File

@@ -19,7 +19,7 @@ namespace audio {
public:
Oss();
virtual ~Oss();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_oss;
}
uint32_t getDeviceCount();

View File

@@ -19,7 +19,7 @@ namespace audio {
public:
Pulse();
virtual ~Pulse();
enum audio::orchestra::type getCurrentApi() {
const std::string& getCurrentApi() {
return audio::orchestra::type_pulse;
}
uint32_t getDeviceCount();