diff options
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 |