Mercurial > hg > svapp
comparison audio/AudioCallbackPlaySource.h @ 498:cd9dec2f47e8 recording
Fix suspending/resuming audio device; it wasn't suspending when playback reached the end, only when the user stopped explicitly
author | Chris Cannam |
---|---|
date | Tue, 22 Sep 2015 17:12:37 +0100 |
parents | f93820d36cb0 |
children | 39e94df71d24 |
comparison
equal
deleted
inserted
replaced
487:66b92c188cbd | 498:cd9dec2f47e8 |
---|---|
114 * Return the frame at which playback is expected to end (if not looping). | 114 * Return the frame at which playback is expected to end (if not looping). |
115 */ | 115 */ |
116 virtual sv_frame_t getPlayEndFrame() { return m_lastModelEndFrame; } | 116 virtual sv_frame_t getPlayEndFrame() { return m_lastModelEndFrame; } |
117 | 117 |
118 /** | 118 /** |
119 * Set the playback target. This should be called by the target | 119 * Set the playback target. |
120 * class. | |
121 */ | 120 */ |
122 virtual void setSystemPlaybackTarget(breakfastquay::SystemPlaybackTarget *); | 121 virtual void setSystemPlaybackTarget(breakfastquay::SystemPlaybackTarget *); |
123 | 122 |
124 /** | 123 /** |
125 * Set the block size of the target audio device. This should be | 124 * Set the block size of the target audio device. This should be |