comparison audioio/AudioPortAudioTarget.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
35 35
36 public: 36 public:
37 AudioPortAudioTarget(AudioCallbackPlaySource *source); 37 AudioPortAudioTarget(AudioCallbackPlaySource *source);
38 virtual ~AudioPortAudioTarget(); 38 virtual ~AudioPortAudioTarget();
39 39
40 virtual void shutdown();
41
40 virtual bool isOK() const; 42 virtual bool isOK() const;
41 43
42 public slots: 44 public slots:
43 virtual void sourceModelReplaced(); 45 virtual void sourceModelReplaced();
44 46
68 #endif 70 #endif
69 71
70 int m_bufferSize; 72 int m_bufferSize;
71 int m_sampleRate; 73 int m_sampleRate;
72 int m_latency; 74 int m_latency;
75 bool m_done;
73 }; 76 };
74 77
75 #endif /* HAVE_PORTAUDIO */ 78 #endif /* HAVE_PORTAUDIO */
76 79
77 #endif 80 #endif