Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/synth/LookupTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class LookupTable {

private:
int32_t mNumEntries;
synth_float_t *mTable;
synth_float_t *mTable = nullptr;
};

#endif // SYNTHMARK_LOOKUP_TABLE_H
3 changes: 3 additions & 0 deletions source/tools/scheddl.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#if !defined(SYNTHMARK_SCHEDDL_H) && !defined(__APPLE__)
#define SYNTHMARK_SCHEDDL_H

#include <features.h>
#include <linux/sched.h>
#include <stdint.h>
#include <sys/syscall.h>
Expand All @@ -13,6 +14,7 @@

const uint64_t SCHED_GETATTR_FLAGS_DL_ABSOLUTE = 0x01;

#ifndef SCHED_ATTR_SIZE_VER0 // provided by glibc >= 2.41
struct sched_attr {
uint32_t size;

Expand All @@ -36,6 +38,7 @@ struct sched_attr {
uint32_t sched_util_min;
uint32_t sched_util_max;
};
#endif

inline int sched_setattr(pid_t pid,
const struct sched_attr *attr,
Expand Down