1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-25 14:11:28 +01:00

Define AudioTrack and PlayableTrack as common bases for Wave and Note

This commit is contained in:
Paul Licameli
2017-01-08 03:36:12 -05:00
parent 80984c9f1d
commit c391a8f884
5 changed files with 34 additions and 8 deletions

View File

@@ -50,7 +50,17 @@ class wxRect;
class DirManager;
class Alg_seq; // from "allegro.h"
class AUDACITY_DLL_API NoteTrack final : public Track {
using NoteTrackBase =
#ifdef EXPERIMENTAL_MIDI_OUT
PlayableTrack
#else
AudioTrack
#endif
;
class AUDACITY_DLL_API NoteTrack final
: public NoteTrackBase
{
public:
friend class TrackArtist;