diff options
author | David Robillard <d@drobilla.net> | 2008-01-02 04:14:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-02 04:14:26 +0000 |
commit | 119af67b5139e40eb3f21dde42882765e917efcb (patch) | |
tree | c538c7a53d6a32f89dec27663e202666139f1197 /src/AlsaDriver.hpp | |
parent | 1c2a70154bc1f9070c1a2b9b3cf98f8d398ca215 (diff) | |
download | patchage-119af67b5139e40eb3f21dde42882765e917efcb.tar.gz patchage-119af67b5139e40eb3f21dde42882765e917efcb.tar.bz2 patchage-119af67b5139e40eb3f21dde42882765e917efcb.zip |
Minor Patchage code cleanups.
git-svn-id: http://svn.drobilla.net/lad/patchage@1001 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r-- | src/AlsaDriver.hpp | 21 |
1 files changed, 9 insertions, 12 deletions
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 <iostream> #include <alsa/asoundlib.h> #include <pthread.h> -#include <queue> #include <string> #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<PatchagePort> port); - bool create_refresh_port(); + bool create_refresh_port(); static void* refresh_main(void* me); - void _refresh_main(); + void _refresh_main(); - boost::shared_ptr<PatchagePort> create_port(boost::shared_ptr<PatchageModule> parent, - const string& name, bool is_input, snd_seq_addr_t addr); + boost::shared_ptr<PatchagePort> create_port( + boost::shared_ptr<PatchageModule> 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 |