diff options
author | Chris Robinson <[email protected]> | 2021-04-26 07:56:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-26 08:04:50 -0700 |
commit | 22a8ebff8094785ec53aadef8489dc60f6939d55 (patch) | |
tree | d5297c7fa444e1ac3e2980a2d49cae50f041ddc3 /alc/alcmain.h | |
parent | 2479483645bf719233fa5d39bc91682f12d71350 (diff) |
Move GetChannelIdxByName and clean up some more includes
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index e8875184..eb25b596 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -124,19 +124,4 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase { DEF_NEWDEL(ALCdevice) }; -/* Must be less than 15 characters (16 including terminating null) for - * compatibility with pthread_setname_np limitations. */ -#define MIXER_THREAD_NAME "alsoft-mixer" - -#define RECORD_THREAD_NAME "alsoft-record" - - -/** - * Returns the index for the given channel name (e.g. FrontCenter), or - * INVALID_CHANNEL_INDEX if it doesn't exist. - */ -inline uint GetChannelIdxByName(const RealMixParams &real, Channel chan) noexcept -{ return real.ChannelIndex[chan]; } -#define INVALID_CHANNEL_INDEX ~0u - #endif |