diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-03-18 09:02:35 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-03-18 09:02:35 +0100 |
commit | c8835596c1ae709055bcf543c825a21b78da2f20 (patch) | |
tree | 23dcb8a7745fdf5558be5f3e7adb1445bf61868f | |
parent | 15f41c99b4612501b8e394a74ed0156c1c26adb7 (diff) | |
download | moony.lv2-c8835596c1ae709055bcf543c825a21b78da2f20.tar.xz |
use offset for xpress uuid fallback counter.
-rw-r--r-- | api/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ static const size_t moony_sz [MOONY_UDATA_COUNT] = { [MOONY_UDATA_STASH] = sizeof(lstash_t) }; -static _Atomic xpress_uuid_t voice_uuid = ATOMIC_VAR_INIT(0); +static _Atomic xpress_uuid_t voice_uuid = ATOMIC_VAR_INIT(INT64_MAX / UINT16_MAX * 2LL); static int64_t _voice_map_new_uuid(void *handle) |