summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-08-08 18:51:45 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-08-08 18:51:45 +0200
commitbc469fab7b18df4253db52f17726697ae5c9c564 (patch)
treea8287acb4ccca6049ea49464056dab7aff536381 /RtAudio.h
parent3d054aec68641b049c102d20632a1eb618355a6f (diff)
reference return for API names
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/RtAudio.h b/RtAudio.h
index 78d96a9..3927ae1 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -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.
/*!