diff options
author | Alex Chronopoulos <[email protected]> | 2019-09-30 19:17:22 +0300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2019-10-01 10:44:25 +1300 |
commit | 7578cc69db4a58334d95884fd41603886016aa0b (patch) | |
tree | 91e665e7aec84fe22d27b720b8f33571731f45a3 /tools | |
parent | 0551bc71d01778a814c8bc5bb86cd5e8429acc26 (diff) | |
download | cubeb-7578cc69db4a58334d95884fd41603886016aa0b.tar.gz cubeb-7578cc69db4a58334d95884fd41603886016aa0b.zip |
tool: use backend name in cubeb_init.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cubeb-test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cubeb-test.cpp b/tools/cubeb-test.cpp index ff4d463..ace9f22 100644 --- a/tools/cubeb-test.cpp +++ b/tools/cubeb-test.cpp @@ -96,7 +96,7 @@ private: }; bool cubeb_client::init(char const * backend_name) { - int rv = cubeb_init(&context, "Cubeb Test Application", nullptr); + int rv = cubeb_init(&context, "Cubeb Test Application", backend_name); if (rv != CUBEB_OK) { fprintf(stderr, "Could not init cubeb\n"); return false; @@ -497,7 +497,7 @@ int main(int argc, char* argv[]) { cubeb_client cl; cl.activate_log(CUBEB_LOG_DISABLED); fprintf(stderr, "Log level is DISABLED\n"); - cl.init(); + cl.init(/* default backend */); op.collection_device_type = CUBEB_DEVICE_TYPE_UNKNOWN; fprintf(stderr, "collection device type is UNKNOWN\n"); |