Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Commit 0fa9284

Browse files
committed
UPDATE
1 parent d80bc5d commit 0fa9284

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/gold-boxes-promise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"auph": patch
3+
---
4+
5+
remove static decl

include/auph/auph.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ inline Voice play(Buffer buffer,
2222
}
2323

2424
inline const char* getMixerStateString(int state) {
25-
static const char* names[] = {"closed", "paused", "", "running"};
25+
const char* names[] = {"closed", "paused", "", "running"};
2626
return names[state & 0x3];
2727
}
2828

2929
inline const char* getBufferStateString(int state) {
30-
static const char* names[] = {"free", "loading", "", "loaded"};
30+
const char* names[] = {"free", "loading", "", "loaded"};
3131
return names[state & 0x3];
3232
//+ ["", " streaming"][(state >>> 2) & 0x1];
3333
}

0 commit comments

Comments
 (0)