diff options
author | Chris Robinson <[email protected]> | 2013-10-27 07:00:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-27 07:00:44 -0700 |
commit | f93bfab82435b26fd03fe9dd0436f166758810d4 (patch) | |
tree | aa52911dc40edfe86d739e82423c8f5d4731c461 /OpenAL32/Include | |
parent | ff5277f4d7057f481a820cf64e2c2db4687bfd5f (diff) |
Set a name for the mixer and recording threads
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index d8dbdcd9..95146c1b 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -714,6 +714,11 @@ struct ALCdevice_struct #define INVALID_OFFSET (~0u) +/* Must be less than 15 characters (16 including terminating null) for + * compatibility with pthread_setname_np limitations. */ +#define MIXER_THREAD_NAME "alsoft-mixer" + + static inline struct ALbuffer *LookupBuffer(ALCdevice *device, ALuint id) { return (struct ALbuffer*)LookupUIntMapKey(&device->BufferMap, id); } static inline struct ALeffect *LookupEffect(ALCdevice *device, ALuint id) |