Skip to content

Commit

Permalink
sl/meters,ws: fix initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 10, 2024
1 parent de81ce7 commit 5278e0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libsl/src/meters.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
static float bias = 1.0f;
static float peaks[MAX_METERS] = {0};
static float sent_peaks[MAX_METERS] = {0};
static mtx_t *mutex;
static mtx_t *mutex = NULL;

static struct tmr tmr;
static struct tmr tmr = {.le = LE_INIT};


void sl_meter_process(unsigned int ch, float *in, unsigned long nframes)
Expand Down
2 changes: 1 addition & 1 deletion libsl/src/ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <studiolink.h>

static struct websock *ws = NULL;
static struct list wsl;
static struct list wsl = LIST_INIT;
struct ws_conn {
struct le le;
struct websock_conn *c;
Expand Down

0 comments on commit 5278e0f

Please sign in to comment.