13
0

register TransportState enum for use with enumwriter

This commit is contained in:
Paul Davis 2019-12-27 21:10:27 -07:00
parent 49df7abd0b
commit ca36d7cc2f

View File

@ -156,6 +156,7 @@ setup_enum_writer ()
TransportFSM::MotionState _TransportFSM_MotionState;
TransportFSM::ButlerState _TransportFSM_ButlerState;
LoopFadeChoice _LoopFadeChooice;
TransportState _TransportState;
#define REGISTER(e) enum_writer.register_distinct (typeid(e).name(), i, s); i.clear(); s.clear()
#define REGISTER_BITS(e) enum_writer.register_bits (typeid(e).name(), i, s); i.clear(); s.clear()
@ -826,6 +827,12 @@ setup_enum_writer ()
REGISTER_ENUM (BothLoopFade);
REGISTER_ENUM (XFadeLoop);
REGISTER (_LoopFadeChooice);
REGISTER_ENUM (TransportStopped);
REGISTER_ENUM (TransportRolling);
REGISTER_ENUM (TransportLooping);
REGISTER_ENUM (TransportStarting);
REGISTER (_TransportState);
}
} /* namespace ARDOUR */