mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
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:
parent
6077cf1f7b
commit
b58dfc7f0f
19 changed files with 27 additions and 28 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue