Mercurial > hg > svapp
comparison audioio/AudioJACKTarget.h @ 101:89a689720ee9 spectrogram-cache-rejig
* Merge from trunk
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 11:59:42 +0000 |
parents | 3c5756fb6a68 |
children |
comparison
equal
deleted
inserted
replaced
59:bf1a53489ccc | 101:89a689720ee9 |
---|---|
33 | 33 |
34 public: | 34 public: |
35 AudioJACKTarget(AudioCallbackPlaySource *source); | 35 AudioJACKTarget(AudioCallbackPlaySource *source); |
36 virtual ~AudioJACKTarget(); | 36 virtual ~AudioJACKTarget(); |
37 | 37 |
38 virtual void shutdown(); | |
39 | |
38 virtual bool isOK() const; | 40 virtual bool isOK() const; |
41 | |
42 virtual double getCurrentTime() const; | |
39 | 43 |
40 public slots: | 44 public slots: |
41 virtual void sourceModelReplaced(); | 45 virtual void sourceModelReplaced(); |
42 | 46 |
43 protected: | 47 protected: |
50 jack_client_t *m_client; | 54 jack_client_t *m_client; |
51 std::vector<jack_port_t *> m_outputs; | 55 std::vector<jack_port_t *> m_outputs; |
52 jack_nframes_t m_bufferSize; | 56 jack_nframes_t m_bufferSize; |
53 jack_nframes_t m_sampleRate; | 57 jack_nframes_t m_sampleRate; |
54 QMutex m_mutex; | 58 QMutex m_mutex; |
59 bool m_done; | |
55 }; | 60 }; |
56 | 61 |
57 #endif /* HAVE_JACK */ | 62 #endif /* HAVE_JACK */ |
58 | 63 |
59 #endif | 64 #endif |