Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / recordableatracks.C
blobae33cfa6471d92e5ce8a057c483d2408530f1d03
1 #include "atrack.h"
2 #include "recordableatracks.h"
3 #include "tracks.h"
5 // This is only used for menu effects so use playable tracks instead.
7 RecordableATracks::RecordableATracks(Tracks *tracks)
8  : ArrayList<ATrack*>()
10         Track *current_track;
11         
12         for(current_track = tracks->first; 
13                 current_track; 
14                 current_track = current_track->next)
15         {
16                 if(current_track->record && current_track->data_type == TRACK_AUDIO) 
17                         append((ATrack*)current_track);
18         }
21 //      Local Variables:
22 //      mode: C++
23 //      c-file-style: "linux"
24 //      End: