Mercurial > hg > svapp
comparison audioio/AudioCallbackPlaySource.h @ 12:29b38a641d43
* Implement play mute, level and pan controls and a layer visibility control
* Handle swapping the buffers in AudioCallbackPlaySource more gracefully, so
that in many cases it can be done inaudibly. Still gets it wrong when
playing in a noncontiguous selection.
* Fix to SV file save for non-2d sparse models
* Fixes to LED button drawing and AudioDial mouse functionality
* Add progress bar for Ogg file import
* Reshuffle PropertyContainer and its subclasses so it can be a QObject
* Add layer dormancy (invisible layer permitted to free its cache space)
* Optimisations to SpectrogramLayer, removing locks when reading/writing
individual pixels in the cache (should be unnecessary there) -- there's
still an issue here as we need a lock when reading from the model in
case the model is replaced, and we don't currently have one
* Several munlock() calls to make it harder to exhaust real memory if
running in an RT mode with mlockall() active
author | Chris Cannam |
---|---|
date | Fri, 17 Feb 2006 18:04:26 +0000 |
parents | 3a41ba527b4a |
children | 89bb89894ad6 |
comparison
equal
deleted
inserted
replaced
11:8dc0ae8fccdd | 12:29b38a641d43 |
---|---|
25 #include <map> | 25 #include <map> |
26 | 26 |
27 class Model; | 27 class Model; |
28 class ViewManager; | 28 class ViewManager; |
29 class AudioGenerator; | 29 class AudioGenerator; |
30 class PlayParameters; | |
30 class IntegerTimeStretcher; | 31 class IntegerTimeStretcher; |
31 | 32 |
32 /** | 33 /** |
33 * AudioCallbackPlaySource manages audio data supply to callback-based | 34 * AudioCallbackPlaySource manages audio data supply to callback-based |
34 * audio APIs such as JACK or CoreAudio. It maintains one ring buffer | 35 * audio APIs such as JACK or CoreAudio. It maintains one ring buffer |
171 | 172 |
172 protected slots: | 173 protected slots: |
173 void selectionChanged(); | 174 void selectionChanged(); |
174 void playLoopModeChanged(); | 175 void playLoopModeChanged(); |
175 void playSelectionModeChanged(); | 176 void playSelectionModeChanged(); |
177 void playParametersChanged(PlayParameters *); | |
176 | 178 |
177 protected: | 179 protected: |
178 ViewManager *m_viewManager; | 180 ViewManager *m_viewManager; |
179 AudioGenerator *m_audioGenerator; | 181 AudioGenerator *m_audioGenerator; |
180 | 182 |