2026-05-04 22:23 ftp://ftp.de.debian.org/debian/pool/main/r/rtaudio/rtaudio_6.0.1~ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 238 225 elapsed-time: 11.3 8.5 head-timing-info: old-timing-info: head results: rtaudio-6.0.1/RtAudio.cpp:558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTAUDIO_DUMMY [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/RtAudio.cpp:568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNSPECIFIED [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/RtAudio.cpp:10881:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/RtAudio.h:717:3: warning:inconclusive: Member variable 'S24::c3' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::deviceId' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::mode' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::state' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::userBuffer' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::doConvertBuffer' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::userInterleaved' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::deviceInterleaved' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::doByteSwap' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::sampleRate' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::bufferSize' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::nBuffers' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::nUserChannels' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::nDeviceChannels' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::channelOffset' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::latency' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::userFormat' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::deviceFormat' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::mutex' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::convertInfo' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:838:5: warning: Member variable 'RtApiStream::streamTime' is not initialized in the constructor. [uninitMemberVar] rtaudio-6.0.1/RtAudio.h:920:37: style:inconclusive: Technically the member function 'RtAudio::getErrorText' can be const. [functionConst] rtaudio-6.0.1/RtAudio.h:592:21: note: Technically the member function 'RtAudio::getErrorText' can be const. rtaudio-6.0.1/RtAudio.h:920:37: note: Technically the member function 'RtAudio::getErrorText' can be const. rtaudio-6.0.1/RtAudio.h:925:26: style:inconclusive: Technically the member function 'RtAudio::getStreamTime' can be const. [functionConst] rtaudio-6.0.1/RtAudio.h:608:10: note: Technically the member function 'RtAudio::getStreamTime' can be const. rtaudio-6.0.1/RtAudio.h:925:26: note: Technically the member function 'RtAudio::getStreamTime' can be const. rtaudio-6.0.1/RtAudio.cpp:880:15: style:inconclusive: Technically the member function 'RtApi::getStreamLatency' can be const. [functionConst] rtaudio-6.0.1/RtAudio.h:768:8: note: Technically the member function 'RtApi::getStreamLatency' can be const. rtaudio-6.0.1/RtAudio.cpp:880:15: note: Technically the member function 'RtApi::getStreamLatency' can be const. rtaudio-6.0.1/RtAudio.cpp:925:23: style:inconclusive: Technically the member function 'RtApi::getStreamSampleRate' can be const. [functionConst] rtaudio-6.0.1/RtAudio.h:769:16: note: Technically the member function 'RtApi::getStreamSampleRate' can be const. rtaudio-6.0.1/RtAudio.cpp:925:23: note: Technically the member function 'RtApi::getStreamSampleRate' can be const. rtaudio-6.0.1/RtAudio.cpp:11442:15: style: The member function 'RtApi::byteSwapBuffer' can be static. [functionStatic] rtaudio-6.0.1/RtAudio.h:894:8: note: The member function 'RtApi::byteSwapBuffer' can be static. rtaudio-6.0.1/RtAudio.cpp:11442:15: note: The member function 'RtApi::byteSwapBuffer' can be static. rtaudio-6.0.1/RtAudio.cpp:616:12: warning: Class 'RtAudio' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] rtaudio-6.0.1/RtAudio.cpp:616:12: warning: Class 'RtAudio' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] rtaudio-6.0.1/RtAudio.h:433:3: style: Class 'RtAudio' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rtaudio-6.0.1/RtAudio.h:726:3: style: Class 'S24' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rtaudio-6.0.1/RtAudio.h:727:3: style: Class 'S24' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rtaudio-6.0.1/RtAudio.h:728:3: style: Class 'S24' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rtaudio-6.0.1/RtAudio.h:729:3: style: Class 'S24' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rtaudio-6.0.1/RtAudio.h:767:21: performance: Function 'getErrorText()' should return member 'errorText_' by const reference. [returnByReference] rtaudio-6.0.1/RtAudio.cpp:733:35: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11046:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11111:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11175:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11243:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11310:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11373:24: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11376:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/RtAudio.cpp:11043:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11056:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11066:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11076:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11086:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11097:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11108:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11121:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11131:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11141:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11152:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11162:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11173:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11186:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11197:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11209:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11219:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11230:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11241:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11254:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11266:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11276:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11287:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11297:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11308:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11322:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11332:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11342:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11352:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11362:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11386:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11396:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11406:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11416:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11426:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/RtAudio.cpp:11043:20: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11086:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11097:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11108:20: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11152:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11162:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11219:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11230:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11287:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11297:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11352:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11362:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11416:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:11426:21: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rtaudio-6.0.1/RtAudio.cpp:623:73: style:inconclusive: Function 'openStream' argument 7 names different: declaration '' definition 'userData'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.cpp:624:65: style:inconclusive: Function 'openStream' argument 8 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.cpp:652:66: style:inconclusive: Function 'openStream' argument 1 names different: declaration 'outputParameters' definition 'oParams'. [funcArgNamesDifferent] rtaudio-6.0.1/RtAudio.h:758:59: note: Function 'openStream' argument 1 names different: declaration 'outputParameters' definition 'oParams'. rtaudio-6.0.1/RtAudio.cpp:652:66: note: Function 'openStream' argument 1 names different: declaration 'outputParameters' definition 'oParams'. rtaudio-6.0.1/RtAudio.cpp:653:66: style:inconclusive: Function 'openStream' argument 2 names different: declaration 'inputParameters' definition 'iParams'. [funcArgNamesDifferent] rtaudio-6.0.1/RtAudio.h:759:61: note: Function 'openStream' argument 2 names different: declaration 'inputParameters' definition 'iParams'. rtaudio-6.0.1/RtAudio.cpp:653:66: note: Function 'openStream' argument 2 names different: declaration 'inputParameters' definition 'iParams'. rtaudio-6.0.1/RtAudio.cpp:656:71: style:inconclusive: Function 'openStream' argument 7 names different: declaration '' definition 'userData'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.cpp:657:63: style:inconclusive: Function 'openStream' argument 8 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:873:46: style:inconclusive: Function 'probeDeviceOpen' argument 1 names different: declaration 'deviceId' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:873:67: style:inconclusive: Function 'probeDeviceOpen' argument 2 names different: declaration 'mode' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:873:86: style:inconclusive: Function 'probeDeviceOpen' argument 3 names different: declaration 'channels' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:874:46: style:inconclusive: Function 'probeDeviceOpen' argument 4 names different: declaration 'firstChannel' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:874:73: style:inconclusive: Function 'probeDeviceOpen' argument 5 names different: declaration 'sampleRate' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:875:47: style:inconclusive: Function 'probeDeviceOpen' argument 6 names different: declaration 'format' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:875:69: style:inconclusive: Function 'probeDeviceOpen' argument 7 names different: declaration 'bufferSize' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.h:876:57: style:inconclusive: Function 'probeDeviceOpen' argument 8 names different: declaration 'options' definition ''. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/RtAudio.cpp:11031:76: style: Parameter 'info' can be declared as reference to const [constParameterReference] rtaudio-6.0.1/RtAudio.cpp:652:66: style: Parameter 'oParams' can be declared as pointer to const [constParameterPointer] rtaudio-6.0.1/RtAudio.cpp:653:66: style: Parameter 'iParams' can be declared as pointer to const [constParameterPointer] rtaudio-6.0.1/RtAudio.cpp:478:3: style: Instance of 'StaticAssert < rtaudio_num_api_names == RtAudio :: NUM_APIS >' object is destroyed immediately. [unusedScopedObject] rtaudio-6.0.1/RtAudio.cpp:695:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:707:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:800:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:807:45: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:821:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:828:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/RtAudio.cpp:841:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rtaudio-6.0.1/rtaudio_c.cpp:128:21: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/rtaudio_c.cpp:175:58: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/rtaudio_c.cpp:138:31: style:inconclusive: Function 'rtaudio_open_stream' argument 8 names different: declaration '' definition 'userdata'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/rtaudio_c.cpp:138:67: style:inconclusive: Function 'rtaudio_open_stream' argument 9 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] rtaudio-6.0.1/rtaudio_c.cpp:134:54: style: Parameter 'output_params' can be declared as pointer to const [constParameterPointer] rtaudio-6.0.1/rtaudio_c.cpp:135:54: style: Parameter 'input_params' can be declared as pointer to const [constParameterPointer] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:700:9: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:704:9: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:395:22: style: Condition 'self->dac==NULL' is always false [knownConditionTrueFalse] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:408:23: style: Condition 'self->dac==NULL' is always false [knownConditionTrueFalse] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:61:27: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:68:21: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:69:22: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:149:16: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:700:47: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:136:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:181:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:40: style: Parameter 'self' can be declared as pointer to const. However it seems that 'RtAudio_init' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:647:19: note: You might need to cast the function pointer here rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:40: note: Parameter 'self' can be declared as pointer to const rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:56: style: Parameter 'args' can be declared as pointer to const. However it seems that 'RtAudio_init' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:647:19: note: You might need to cast the function pointer here rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:56: note: Parameter 'args' can be declared as pointer to const rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:72: style: Parameter 'kwds' can be declared as pointer to const. However it seems that 'RtAudio_init' is a callback function, if 'kwds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:647:19: note: You might need to cast the function pointer here rtaudio-6.0.1/contrib/python/pyrtaudio/rtaudiomodule.cpp:184:72: note: Parameter 'kwds' can be declared as pointer to const rtaudio-6.0.1/tests/apinames.cpp:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/apinames.cpp:89:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/audioprobe.cpp:17:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/audioprobe.cpp:29:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/audioprobe.cpp:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/audioprobe.cpp:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/duplex.cpp:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/duplex.cpp:55:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/duplex.cpp:77:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/duplex.cpp:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/duplex.cpp:84:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/duplex.cpp:144:80: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/duplex.cpp:51:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/duplex.cpp:72:38: style: Parameter 'inputBuffer' can be declared as pointer to const. However it seems that 'inout' is a callback function, if 'inputBuffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/tests/duplex.cpp:144:73: note: You might need to cast the function pointer here rtaudio-6.0.1/tests/duplex.cpp:72:38: note: Parameter 'inputBuffer' can be declared as pointer to const rtaudio-6.0.1/tests/duplex.cpp:84:17: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] rtaudio-6.0.1/tests/duplex.cpp:89:27: style: Parameter 'argv' can be declared as const array [constParameter] rtaudio-6.0.1/tests/playraw.cpp:58:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playraw.cpp:71:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playraw.cpp:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playraw.cpp:163:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/playraw.cpp:91:23: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playraw.cpp:100:13: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playraw.cpp:154:76: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playraw.cpp:67:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/playraw.cpp:110:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] rtaudio-6.0.1/tests/playsaw.cpp:63:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playsaw.cpp:75:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playsaw.cpp:82:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playsaw.cpp:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playsaw.cpp:177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNSPECIFIED [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/playsaw.cpp:240:45: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/playsaw.cpp:249:46: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/playsaw.cpp:111:21: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playsaw.cpp:112:24: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playsaw.cpp:195:18: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playsaw.cpp:225:73: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/playsaw.cpp:110:23: style: Local variable 'channels' shadows outer variable [shadowVariable] rtaudio-6.0.1/tests/playsaw.cpp:93:14: note: Shadowed declaration rtaudio-6.0.1/tests/playsaw.cpp:110:23: note: Shadow variable rtaudio-6.0.1/tests/playsaw.cpp:78:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/playsaw.cpp:169:27: style: Parameter 'argv' can be declared as const array [constParameter] rtaudio-6.0.1/tests/record.cpp:52:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/record.cpp:65:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/record.cpp:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/record.cpp:172:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/record.cpp:177:72: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] rtaudio-6.0.1/tests/record.cpp:176:13: note: Assuming allocation function fails rtaudio-6.0.1/tests/record.cpp:176:13: note: Assignment 'fd=fopen("record.raw","wb")', assigned value is 0 rtaudio-6.0.1/tests/record.cpp:177:72: note: Null pointer dereference rtaudio-6.0.1/tests/record.cpp:88:22: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/record.cpp:149:75: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/record.cpp:162:17: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/record.cpp:61:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/record.cpp:85:43: style: Parameter 'inputBuffer' can be declared as pointer to const. However it seems that 'input' is a callback function, if 'inputBuffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/tests/record.cpp:149:68: note: You might need to cast the function pointer here rtaudio-6.0.1/tests/record.cpp:85:43: note: Parameter 'inputBuffer' can be declared as pointer to const rtaudio-6.0.1/tests/record.cpp:105:27: style: Parameter 'argv' can be declared as const array [constParameter] rtaudio-6.0.1/tests/testall.cpp:22:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:36:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/testall.cpp:58:20: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:59:24: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:81:20: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:82:24: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:107:25: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:138:18: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:168:78: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:202:84: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:222:87: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/testall.cpp:87:10: style: The scope of the variable 'increment' can be reduced. [variableScope] rtaudio-6.0.1/tests/testall.cpp:57:23: style: Local variable 'channels' shadows outer variable [shadowVariable] rtaudio-6.0.1/tests/testall.cpp:50:14: note: Shadowed declaration rtaudio-6.0.1/tests/testall.cpp:57:23: note: Shadow variable rtaudio-6.0.1/tests/testall.cpp:80:23: style: Local variable 'channels' shadows outer variable [shadowVariable] rtaudio-6.0.1/tests/testall.cpp:50:14: note: Shadowed declaration rtaudio-6.0.1/tests/testall.cpp:80:23: note: Shadow variable rtaudio-6.0.1/tests/testall.cpp:32:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/testall.cpp:100:38: style: Parameter 'inputBuffer' can be declared as pointer to const. However it seems that 'inout' is a callback function, if 'inputBuffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rtaudio-6.0.1/tests/testall.cpp:222:80: note: You might need to cast the function pointer here rtaudio-6.0.1/tests/testall.cpp:100:38: note: Parameter 'inputBuffer' can be declared as pointer to const rtaudio-6.0.1/tests/testall.cpp:107:17: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] rtaudio-6.0.1/tests/testall.cpp:112:27: style: Parameter 'argv' can be declared as const array [constParameter] rtaudio-6.0.1/tests/teststops.cpp:35:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/teststops.cpp:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/teststops.cpp:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/teststops.cpp:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] rtaudio-6.0.1/tests/teststops.cpp:175:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:178:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:206:38: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:208:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:235:38: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:237:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:265:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:269:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:295:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:301:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rtaudio-6.0.1/tests/teststops.cpp:195:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] rtaudio-6.0.1/tests/teststops.cpp:224:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] rtaudio-6.0.1/tests/teststops.cpp:249:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] rtaudio-6.0.1/tests/teststops.cpp:278:3: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] rtaudio-6.0.1/tests/teststops.cpp:78:19: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:79:18: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:160:88: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:189:88: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:218:88: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:254:90: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:284:90: style: C-style pointer casting [cstyleCast] rtaudio-6.0.1/tests/teststops.cpp:45:55: performance: Function parameter 'deviceNames' should be passed by const reference. [passedByValue] rtaudio-6.0.1/tests/teststops.cpp:98:27: style: Parameter 'argv' can be declared as const array [constParameter] diff: head rtaudio-6.0.1/RtAudio.cpp:623:73: style:inconclusive: Function 'openStream' argument 7 names different: declaration '' definition 'userData'. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.cpp:624:65: style:inconclusive: Function 'openStream' argument 8 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.cpp:656:71: style:inconclusive: Function 'openStream' argument 7 names different: declaration '' definition 'userData'. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.cpp:657:63: style:inconclusive: Function 'openStream' argument 8 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:873:46: style:inconclusive: Function 'probeDeviceOpen' argument 1 names different: declaration 'deviceId' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:873:67: style:inconclusive: Function 'probeDeviceOpen' argument 2 names different: declaration 'mode' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:873:86: style:inconclusive: Function 'probeDeviceOpen' argument 3 names different: declaration 'channels' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:874:46: style:inconclusive: Function 'probeDeviceOpen' argument 4 names different: declaration 'firstChannel' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:874:73: style:inconclusive: Function 'probeDeviceOpen' argument 5 names different: declaration 'sampleRate' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:875:47: style:inconclusive: Function 'probeDeviceOpen' argument 6 names different: declaration 'format' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:875:69: style:inconclusive: Function 'probeDeviceOpen' argument 7 names different: declaration 'bufferSize' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/RtAudio.h:876:57: style:inconclusive: Function 'probeDeviceOpen' argument 8 names different: declaration 'options' definition ''. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/rtaudio_c.cpp:138:31: style:inconclusive: Function 'rtaudio_open_stream' argument 8 names different: declaration '' definition 'userdata'. [funcArgNamesDifferentUnnamed] head rtaudio-6.0.1/rtaudio_c.cpp:138:67: style:inconclusive: Function 'rtaudio_open_stream' argument 9 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] 2.20.0 rtaudio-6.0.1/tests/record.cpp:178:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] rtaudio-6.0.1/tests/record.cpp:176:13: note: Assuming allocation function fails rtaudio-6.0.1/tests/record.cpp:176:13: note: Assignment 'fd=fopen("record.raw","wb")', assigned value is 0 rtaudio-6.0.1/tests/record.cpp:178:11: note: Null pointer dereference DONE