diff options
author | Paul Adenot <[email protected]> | 2020-10-29 14:43:25 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2020-11-02 15:37:29 +0000 |
commit | e479f4268d63a183463c438feba1645a38e46049 (patch) | |
tree | 56cf0e36c6a68a7c4b40fbf809deec6c1ca306d3 | |
parent | 2b73ea65a38a435052eb4b1dbc0836db1a0a5001 (diff) | |
download | cubeb-e479f4268d63a183463c438feba1645a38e46049.tar.gz cubeb-e479f4268d63a183463c438feba1645a38e46049.zip |
Use a constant instead of a define.
-rw-r--r-- | src/cubeb_aaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp index 87a322b..27a6752 100644 --- a/src/cubeb_aaudio.cpp +++ b/src/cubeb_aaudio.cpp @@ -86,7 +86,7 @@ LIBAAUDIO_API_VISIT(MAKE_TYPEDEF) #undef MAKE_TYPEDEF #endif -#define MAX_STREAMS 16 +const uint8_t MAX_STREAMS = 16; using unique_lock = std::unique_lock<std::mutex>; using lock_guard = std::lock_guard<std::mutex>; |