summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-10-11Add missing const qualifiersDavid Robillard6-20/+20
2024-10-11Fix confusing iteration over collections of pointersDavid Robillard2-5/+5
2024-10-11Reduce variable scopesDavid Robillard5-16/+15
2024-10-11Make more single-argument constructors explicitDavid Robillard10-14/+21
2024-10-11Simplify PortTypeDavid Robillard17-105/+100
2024-10-06Fix inconsistent C-style castDavid Robillard1-1/+1
2024-10-06Avoid using uninitialized va_list variablesDavid Robillard3-16/+22
2024-10-06Explicitly destroy the world in LV2 pluginDavid Robillard1-0/+1
Makes no real difference, but avoids a seemingly unused variable.
2024-10-06Explicitly disallow copying or moving of AppDavid Robillard1-0/+5
2024-10-06Avoid inefficient use of substr() to set strings to a prefixDavid Robillard7-8/+7
2024-10-06Remove dead codeDavid Robillard4-20/+0
2024-10-06Remove redundant conditional clauseDavid Robillard1-1/+1
2024-10-06Remove redundant assignmentDavid Robillard1-1/+0
2024-10-06Add lint option and cppcheck testDavid Robillard3-0/+57
2024-07-17Add missing namespace commentDavid Robillard1-1/+1
2024-07-17Avoid use of jack_frame_time()David Robillard2-22/+33
This seems to be broken on the pipewire implementation of Jack, but we use FrameTimer for this on other drivers anyway, so just use that for Jack as well and avoid the issue entirely. Conveniently also exercises the clock and timestamp DLL code, which as it turns out, was itself broken.
2024-07-17Fix clock microseconds conversionDavid Robillard1-2/+2
This was off by a factor of 10 on non-Mach systems, due to a previous mistaken replacement of 1e3 with 100 (instead of the correct 1000).
2024-07-17Use uppercase integer literal suffixesDavid Robillard6-10/+12
2024-07-17Clean up includes and forward declarationsDavid Robillard35-32/+20
According to include-what-you-use 0.22 on LLVM 18, anyway. Most of the changes seem vaguely reasonable, so as usual, just go with what the tool says because it's most useful when reports are typically clean.
2024-07-17Remove redundant inline specifierDavid Robillard2-2/+1
2024-07-17Avoid C-style casts and some size type conversionsDavid Robillard27-53/+58
Aside from the syntactic cast changes, reduces some size types to 32-bits, since they can never be so large in practice. This eliminates some type conversions and shaves a few bytes.
2024-07-17Remove redundant castsDavid Robillard14-22/+17
2024-07-17Use empty() method instead of checking lengthDavid Robillard4-5/+3
2024-07-17Avoid return with void valueDavid Robillard3-3/+2
2024-07-17Remove unused local variableDavid Robillard2-2/+0
2024-07-17Suppress new warnings in clang and clang-tidy 18David Robillard6-0/+11
2024-07-13Add missing includesDavid Robillard17-35/+18
According to include-what-you-use, anyway. Most of these seem questionable/unnecessary, but since the whole point here is to avoid wasting time doing manually what machines can do, just do what the tool says to keep the checks clean even if it's suboptimal.
2024-06-04Suppress new warnings in clang-tidy 17David Robillard1-0/+2
2024-06-04Fix potential memory leakDavid Robillard1-0/+1
2024-06-04Clean up includesDavid Robillard5-1/+4
2024-06-04Add missing std::forwardDavid Robillard1-1/+1
2024-06-04Avoid use of "#if 0" as a supercommentDavid Robillard2-2/+6
Mainly because clang-tidy complains about it.
2024-06-04Avoid std::endlDavid Robillard3-27/+18
2024-03-14Fix library current_version on MacOSDavid Robillard1-0/+1
2023-09-23Clean up meson definitionsDavid Robillard6-116/+126
2023-09-23Avoid const data membersDavid Robillard1-137/+137
2023-09-23Clean up includes and forward declarationsDavid Robillard78-83/+95
2023-09-22Suppress new warnings in clang-tidy 16David Robillard2-0/+4
2023-09-22Avoid potential null dereferencesDavid Robillard2-3/+10
2023-09-22Use a regular unique_ptr for compiled graphsDavid Robillard23-70/+53
Since these are always swapped by events which already have the ability to delete things after execution (by deleting them along with the event itself after processing), we can avoid the complexity and overhead of Raul::managed_ptr here by swapping the old graph for the new, retaining the owning reference to the old CompiledGraph in the event.
2023-09-22Suppress new warnings in clang 16David Robillard1-0/+2
2023-08-23Suppress clang-tidy header guard warnings in private codeDavid Robillard2-0/+2
2023-08-23Simplify conditionalDavid Robillard1-1/+1
2023-08-23Add missing const qualifiersDavid Robillard3-4/+4
2023-08-23Fix build with GCC 13David Robillard2-4/+4
2023-07-02Update required dependency versionsDavid Robillard1-2/+2
2023-07-02Fix potentially dangling referenceDavid Robillard1-1/+1
2023-05-12Fix const correctnessDavid Robillard6-9/+10
2023-05-12Suppress new clang-tidy warningsDavid Robillard2-0/+5
2023-05-12Fix implicit widening conversionsDavid Robillard2-3/+3