summaryrefslogtreecommitdiff
path: root/drivers/wasapi/audio_driver_wasapi.h
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-03-25 00:43:51 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-03-26 17:41:05 -0300
commitecc1b34cbc2375a57afad822218324d8b88fa721 (patch)
tree7c3272e5609be259398f9bdf3549b4f9a5b84be3 /drivers/wasapi/audio_driver_wasapi.h
parentfd79de01c20168075dbf425831ac44f2b676f275 (diff)
Added new audio device functions to set/get the audio device
Diffstat (limited to 'drivers/wasapi/audio_driver_wasapi.h')
-rw-r--r--drivers/wasapi/audio_driver_wasapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/wasapi/audio_driver_wasapi.h b/drivers/wasapi/audio_driver_wasapi.h
index 2b19f0cca1..c97f4c288c 100644
--- a/drivers/wasapi/audio_driver_wasapi.h
+++ b/drivers/wasapi/audio_driver_wasapi.h
@@ -49,6 +49,9 @@ class AudioDriverWASAPI : public AudioDriver {
Mutex *mutex;
Thread *thread;
+ String device_name;
+ String new_device;
+
WORD format_tag;
WORD bits_per_sample;
@@ -80,6 +83,9 @@ public:
virtual void start();
virtual int get_mix_rate() const;
virtual SpeakerMode get_speaker_mode() const;
+ virtual Array get_device_list();
+ virtual String get_device();
+ virtual void set_device(String device);
virtual void lock();
virtual void unlock();
virtual void finish();