summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-08-10 15:24:46 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-08-11 14:55:44 +0200
commit6919d3578769202957d1ba320ff458e959935e05 (patch)
treebe4b6aa112eca0bccd86a99fbbebcc400bc069b7 /RtAudio.h
parentb296e4bfdb452cd76822f032188b4f05073adc86 (diff)
allow to obtain api names regardless of being compiled or not
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/RtAudio.h b/RtAudio.h
index 9976541..7eb7ac8 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -406,18 +406,16 @@ class RTAUDIO_DLL_PUBLIC RtAudio
/*!
This obtains a short lower-case name used for identification purposes.
This value is guaranteed to remain identical across library versions.
- If the API is unknown or not compiled, this function will return
- the empty string.
+ If the API is unknown, this function will return the empty string.
*/
- static const std::string getCompiledApiName( RtAudio::Api api );
+ static std::string getApiName( RtAudio::Api api );
//! Return the display name of a specified compiled audio API.
/*!
This obtains a long name used for display purposes.
- If the API is unknown or not compiled, this function will return
- the empty string.
+ If the API is unknown, this function will return the empty string.
*/
- static const std::string getCompiledApiDisplayName( RtAudio::Api api );
+ static std::string getApiDisplayName( RtAudio::Api api );
//! Return the compiled audio API having the given name.
/*!