From 119af67b5139e40eb3f21dde42882765e917efcb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 2 Jan 2008 04:14:26 +0000 Subject: Minor Patchage code cleanups. git-svn-id: http://svn.drobilla.net/lad/patchage@1001 a436a847-0d15-0410-975c-d299462d15a1 --- src/AlsaDriver.hpp | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'src/AlsaDriver.hpp') diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 11adac7..9e9f2ea 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -21,14 +21,10 @@ #include #include #include -#include #include #include "Driver.hpp" class Patchage; class PatchagePort; -class PatchageFlowCanvas; - -using std::queue; using std::string; /** Handles all externally driven functionality, registering ports etc. @@ -60,18 +56,19 @@ private: void add_connections(boost::shared_ptr port); - bool create_refresh_port(); + bool create_refresh_port(); static void* refresh_main(void* me); - void _refresh_main(); + void _refresh_main(); - boost::shared_ptr create_port(boost::shared_ptr parent, - const string& name, bool is_input, snd_seq_addr_t addr); + boost::shared_ptr create_port( + boost::shared_ptr parent, + const std::string& name, + bool is_input, + snd_seq_addr_t addr); - Patchage* _app; - + Patchage* _app; snd_seq_t* _seq; - - pthread_t _refresh_thread; + pthread_t _refresh_thread; }; #endif // ALSADRIVER_H -- cgit v1.2.1