diff options
author | Matthew Gregan <[email protected]> | 2017-03-15 10:33:22 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2017-03-15 10:33:22 +1300 |
commit | 11a7c6d4a27e7963979ed956e20b1d57ebe67ca5 (patch) | |
tree | cee2418c6cee5095bc3daaf44c9b33c9f42bcd35 /test/test_overload_callback.cpp | |
parent | d974ad6b5fb71bae0c0089cbeb54645dfe4ecbc9 (diff) | |
download | cubeb-11a7c6d4a27e7963979ed956e20b1d57ebe67ca5.tar.gz cubeb-11a7c6d4a27e7963979ed956e20b1d57ebe67ca5.zip |
test_overload_callback: Use the standard STREAM_FORMAT definition.
Diffstat (limited to 'test/test_overload_callback.cpp')
-rw-r--r-- | test/test_overload_callback.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_overload_callback.cpp b/test/test_overload_callback.cpp index 06da63e..a4ec1b2 100644 --- a/test/test_overload_callback.cpp +++ b/test/test_overload_callback.cpp @@ -17,7 +17,11 @@ #include "common.h" #define SAMPLE_FREQUENCY 48000 +#if (defined(_WIN32) || defined(__WIN32__)) #define STREAM_FORMAT CUBEB_SAMPLE_FLOAT32LE +#else +#define STREAM_FORMAT CUBEB_SAMPLE_S16LE +#endif std::atomic<bool> load_callback{ false }; |