diff options
| author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-08 18:51:45 +0200 |
|---|---|---|
| committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-08 18:51:45 +0200 |
| commit | bc469fab7b18df4253db52f17726697ae5c9c564 (patch) | |
| tree | a8287acb4ccca6049ea49464056dab7aff536381 /RtAudio.h | |
| parent | 3d054aec68641b049c102d20632a1eb618355a6f (diff) | |
reference return for API names
Diffstat (limited to 'RtAudio.h')
| -rw-r--r-- | RtAudio.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -416,7 +416,7 @@ class RTAUDIO_DLL_PUBLIC RtAudio If the API is unknown or not compiled, this function will return the empty string. */ - static const std::string getCompiledApiName( RtAudio::Api api ); + static const std::string& getCompiledApiName( RtAudio::Api api ); //! Return the display name of a specified compiled audio API. /*! @@ -424,7 +424,7 @@ class RTAUDIO_DLL_PUBLIC RtAudio If the API is unknown or not compiled, this function will return the empty string. */ - static const std::string getCompiledApiDisplayName( RtAudio::Api api ); + static const std::string& getCompiledApiDisplayName( RtAudio::Api api ); //! Return the compiled audio API having the given name. /*! |
