ResourcePreviewer: start/stop playback of preview sound
Make the internal InstrumentTrack play the default key in preview() and stop playback in new method stopPreview(). Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
This commit is contained in:
@@ -39,6 +39,7 @@ public:
|
||||
~ResourcePreviewer();
|
||||
|
||||
void preview( ResourceItem * _item );
|
||||
void stopPreview();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user