Resolve microseconds_t ambiguity 1/2

This resolves a PBD vs ARDOUR namespace error for some compilers:
```
error: reference to 'microseconds_t' is ambiguous
libs/pbd/pbd/microseconds.h:29:19: error: candidates are: typedef uint64_t PBD::microseconds_t
libs/ardour/ardour/types.h:81:29: error:                  typedef PBD::microseconds_t ARDOUR::microseconds_t
```
This commit is contained in:
Robin Gareus 2021-06-27 17:32:12 +02:00
parent 6077cf1f7b
commit b58dfc7f0f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
19 changed files with 27 additions and 28 deletions

View file

@ -78,7 +78,7 @@ public:
boost::shared_ptr<ARDOUR::Port> input_port () const;
boost::shared_ptr<ARDOUR::Port> output_port () const;
void set_feedback_interval (ARDOUR::microseconds_t);
void set_feedback_interval (PBD::microseconds_t);
int set_feedback (bool yn);
bool get_feedback () const;
@ -133,8 +133,8 @@ private:
boost::shared_ptr<ARDOUR::AsyncMIDIPort> _input_port;
boost::shared_ptr<ARDOUR::AsyncMIDIPort> _output_port;
ARDOUR::microseconds_t _feedback_interval;
ARDOUR::microseconds_t last_feedback_time;
PBD::microseconds_t _feedback_interval;
PBD::microseconds_t last_feedback_time;
bool do_feedback;
void _send_feedback ();