comparison audioio/AudioJACKTarget.h @ 70:716e9d2f91c7

* Skip ID3 block when reading MP3 files (so long as ID3 support is included) * Show progress when retrieving audio file from playlist * Avoid -- but do not actually fix -- segmentation fault on exit. I am totally stumped at the moment about why both the PA and JACK audio targets should crash when properly shut down. For the moment, we just don't shut them down... * Fix incorrect behaviour (introduced on Friday as part of a different fix) when replacing main model in situation where no current main model exists
author Chris Cannam
date Fri, 30 Nov 2007 17:31:09 +0000
parents 3c5756fb6a68
children 9fc4b256c283
comparison
equal deleted inserted replaced
68:cedeab01d4c8 70:716e9d2f91c7
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;
39 41
40 public slots: 42 public slots:
41 virtual void sourceModelReplaced(); 43 virtual void sourceModelReplaced();
42 44
50 jack_client_t *m_client; 52 jack_client_t *m_client;
51 std::vector<jack_port_t *> m_outputs; 53 std::vector<jack_port_t *> m_outputs;
52 jack_nframes_t m_bufferSize; 54 jack_nframes_t m_bufferSize;
53 jack_nframes_t m_sampleRate; 55 jack_nframes_t m_sampleRate;
54 QMutex m_mutex; 56 QMutex m_mutex;
57 bool m_done;
55 }; 58 };
56 59
57 #endif /* HAVE_JACK */ 60 #endif /* HAVE_JACK */
58 61
59 #endif 62 #endif