NO-OP: whitespace
This commit is contained in:
parent
597837022a
commit
ad0c5f1a1c
|
@ -20,10 +20,10 @@
|
|||
#ifndef __libardour_port_manager_h__
|
||||
#define __libardour_port_manager_h__
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <exception>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -96,6 +96,7 @@ class LIBARDOUR_API PortManager
|
|||
void get_physical_inputs (DataType type, std::vector<std::string>&,
|
||||
MidiPortFlags include = MidiPortFlags (0),
|
||||
MidiPortFlags exclude = MidiPortFlags (0));
|
||||
|
||||
ChanCount n_physical_outputs () const;
|
||||
ChanCount n_physical_inputs () const;
|
||||
|
||||
|
@ -105,9 +106,15 @@ class LIBARDOUR_API PortManager
|
|||
void set_port_pretty_name (std::string const&, std::string const&);
|
||||
|
||||
void remove_all_ports ();
|
||||
|
||||
void clear_pending_port_deletions ();
|
||||
|
||||
virtual void add_pending_port_deletion (Port*) = 0;
|
||||
PBD::RingBuffer<Port*>& port_deletions_pending () { return _port_deletions_pending; }
|
||||
|
||||
PBD::RingBuffer<Port*>& port_deletions_pending ()
|
||||
{
|
||||
return _port_deletions_pending;
|
||||
}
|
||||
|
||||
bool check_for_amibiguous_latency (bool log = false) const;
|
||||
|
||||
|
@ -117,14 +124,18 @@ class LIBARDOUR_API PortManager
|
|||
void request_input_monitoring (const std::string&, bool) const;
|
||||
void ensure_input_monitoring (const std::string&, bool) const;
|
||||
|
||||
class PortRegistrationFailure : public std::exception {
|
||||
class PortRegistrationFailure : public std::exception
|
||||
{
|
||||
public:
|
||||
PortRegistrationFailure (std::string const& why = "")
|
||||
: reason (why) {}
|
||||
|
||||
~PortRegistrationFailure () throw () {}
|
||||
|
||||
const char *what() const throw () { return reason.c_str(); }
|
||||
const char* what () const throw ()
|
||||
{
|
||||
return reason.c_str ();
|
||||
}
|
||||
|
||||
private:
|
||||
std::string reason;
|
||||
|
@ -136,7 +147,10 @@ class LIBARDOUR_API PortManager
|
|||
int graph_order_callback ();
|
||||
void connect_callback (const std::string&, const std::string&, bool connection);
|
||||
|
||||
bool port_remove_in_progress() const { return _port_remove_in_progress; }
|
||||
bool port_remove_in_progress () const
|
||||
{
|
||||
return _port_remove_in_progress;
|
||||
}
|
||||
|
||||
struct MidiPortInformation {
|
||||
std::string backend;
|
||||
|
@ -150,10 +164,13 @@ class LIBARDOUR_API PortManager
|
|||
, pretty_name (pretty)
|
||||
, input (input)
|
||||
, properties (flags)
|
||||
, exists (xists) {}
|
||||
, exists (xists)
|
||||
{}
|
||||
|
||||
MidiPortInformation ()
|
||||
: properties (MidiPortFlags (0))
|
||||
, exists (false) {}
|
||||
, exists (false)
|
||||
{}
|
||||
};
|
||||
|
||||
void fill_midi_port_info ();
|
||||
|
@ -184,7 +201,9 @@ class LIBARDOUR_API PortManager
|
|||
|
||||
protected:
|
||||
boost::shared_ptr<AudioBackend> _backend;
|
||||
|
||||
SerializedRCUManager<Ports> ports;
|
||||
|
||||
bool _port_remove_in_progress;
|
||||
PBD::RingBuffer<Port*> _port_deletions_pending;
|
||||
|
||||
|
@ -228,8 +247,6 @@ class LIBARDOUR_API PortManager
|
|||
void set_port_buffer_sizes (pframes_t);
|
||||
};
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
} // namespace ARDOUR
|
||||
|
||||
#endif /* __libardour_port_manager_h__ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user