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:
Tobias Doerffel
2009-06-11 00:30:39 +02:00
parent fd417de7fd
commit d11bf48891
2 changed files with 19 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ public:
~ResourcePreviewer();
void preview( ResourceItem * _item );
void stopPreview();
private: