diff options
author | Saracen <SaracenOne@gmail.com> | 2018-02-27 07:54:56 +0000 |
---|---|---|
committer | Saracen <SaracenOne@gmail.com> | 2018-07-27 16:50:09 +0100 |
commit | f85062495c3ee477b7ab38f4de435435aedaf375 (patch) | |
tree | 2b1e6f45e8c733e32ebec13a72d6e10e9f65c206 /drivers/coreaudio | |
parent | 6afabc03350f468b253524d600c978ae3aa66e07 (diff) |
Experimental microphone support.
Diffstat (limited to 'drivers/coreaudio')
-rw-r--r-- | drivers/coreaudio/audio_driver_coreaudio.cpp | 22 | ||||
-rw-r--r-- | drivers/coreaudio/audio_driver_coreaudio.h | 5 |
2 files changed, 27 insertions, 0 deletions
diff --git a/drivers/coreaudio/audio_driver_coreaudio.cpp b/drivers/coreaudio/audio_driver_coreaudio.cpp index ac21de91e4..e13b81ddab 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.cpp +++ b/drivers/coreaudio/audio_driver_coreaudio.cpp @@ -434,6 +434,28 @@ void AudioDriverCoreAudio::finish() { } }; +bool AudioDriverCoreAudio::capture_device_start(StringName p_name) { + + return false; +} + +bool AudioDriverCoreAudio::capture_device_stop(StringName p_name) { + + return false; +} + +PoolStringArray AudioDriverCoreAudio::capture_device_get_names() { + + PoolStringArray names; + + return names; +} + +StringName AudioDriverCoreAudio::capture_device_get_default_name() { + + return ""; +} + AudioDriverCoreAudio::AudioDriverCoreAudio() { active = false; mutex = NULL; diff --git a/drivers/coreaudio/audio_driver_coreaudio.h b/drivers/coreaudio/audio_driver_coreaudio.h index 99c910498e..0d3efca28d 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.h +++ b/drivers/coreaudio/audio_driver_coreaudio.h @@ -86,6 +86,11 @@ public: virtual void unlock(); virtual void finish(); + virtual bool capture_device_start(StringName p_name); + virtual bool capture_device_stop(StringName p_name); + virtual PoolStringArray capture_device_get_names(); + virtual StringName capture_device_get_default_name(); + bool try_lock(); void stop(); |