diff options
| author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-10 15:24:46 +0200 |
|---|---|---|
| committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-11 14:55:44 +0200 |
| commit | 6919d3578769202957d1ba320ff458e959935e05 (patch) | |
| tree | be4b6aa112eca0bccd86a99fbbebcc400bc069b7 /RtAudio.h | |
| parent | b296e4bfdb452cd76822f032188b4f05073adc86 (diff) | |
allow to obtain api names regardless of being compiled or not
Diffstat (limited to 'RtAudio.h')
| -rw-r--r-- | RtAudio.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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. /*! |
