4 #include "defaults.inc"
12 // Session shared between all clips
21 int load_xml(FileXML
*xml
, int append_mode
, uint32_t load_flags
);
22 int save_xml(FileXML
*xml
);
23 int copy(EDLSession
*session
);
24 int load_audio_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
25 int save_audio_config(FileXML
*xml
);
26 int load_video_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
27 int save_video_config(FileXML
*xml
);
28 int load_defaults(Defaults
*defaults
);
29 int save_defaults(Defaults
*defaults
);
30 // Used by CWindowGUI during initialization.
31 char* get_cwindow_display();
34 // PlaybackConfig* get_playback_config(int strategy, int head);
35 // ArrayList<PlaybackConfig*>* get_playback_config(int strategy);
36 // int get_playback_heads(int strategy);
38 void equivalent_output(EDLSession
*session
, double *result
);
42 int achannel_positions
[MAXCHANNELS
];
43 AudioOutConfig
*aconfig_duplex
;
44 AudioInConfig
*aconfig_in
;
47 // AWindow column widths
48 int asset_columns
[ASSET_COLUMNS
];
50 float actual_frame_rate
;
51 // Aspect ratio for video
56 // automation follows edits during editing
57 int autos_follow_edits
;
58 // Generate keyframes for every tweek
60 // Where to start background rendering
62 // Length of clipboard if pasting
63 double clipboard_length
;
64 // Colormodel for intermediate frames
66 // Coords for cropping operation
67 int crop_x1
, crop_x2
, crop_y1
, crop_y2
;
68 // Current folder in resource window
69 char current_folder
[BCTEXTLEN
];
70 // align cursor on frame boundaries
72 // Destination item for CWindow
74 // Current submask being edited in CWindow
76 // Use the cwindow or not
78 // CWindow tool currently selected
79 int cwindow_operation
;
80 // Use scrollbars in the CWindow
81 int cwindow_scrollbars
;
82 // Scrollbar positions
87 char default_atransition
[BCTEXTLEN
];
88 char default_vtransition
[BCTEXTLEN
];
90 double default_transition_length
;
91 // Edit mode to use for each mouse button
92 int edit_handle_mode
[3];
98 int folderlist_format
;
100 float frames_per_foot
;
101 // Number of highlighted track
102 int highlighted_track
;
104 int interpolation_type
;
105 // labels follow edits during editing
106 int labels_follow_edits
;
108 int plugins_follow_edits
;
114 int64_t playback_buffer
;
115 int playback_cursor_visible
;
116 int64_t playback_preload
;
117 int playback_software_position
;
118 // int playback_strategy;
119 // Play audio in realtime priority
120 int real_time_playback
;
121 int real_time_record
;
122 // Use software to calculate record position
123 int record_software_position
;
124 // Sync the drives during recording
125 int record_sync_drives
;
128 // Samples to write to disk at a time
129 int64_t record_write_length
;
130 // Show title and action safe regions in CWindow
134 // Show titles in resources
136 // Test for data before rendering a track
137 int test_playback_edits
;
138 // Format to display times in
140 // Format to display nudge in, either seconds or track units.
142 // Show tool window in CWindow
144 // Location of video outs
145 int vchannel_x
[MAXCHANNELS
];
146 int vchannel_y
[MAXCHANNELS
];
149 VideoInConfig
*vconfig_in
;
151 int video_every_frame
;
153 // number of frames to write to disk at a time during video recording.
154 int video_write_length
;
155 int view_follows_playback
;
156 // Source item for VWindow
157 // Uniquely identify vwindow clip without pointers
158 char vwindow_folder
[BCTEXTLEN
];
160 // Use the vwindow meter or not
164 static int current_id
;
165 PlaybackConfig
* playback_config
;
168 // Global playback. This is loaded from defaults but not from XML probably
169 // because it was discovered to be the most convenient.
170 // It is part of the EDL probably because the playback setting was
171 // going to be bound to the EDL.
172 // ArrayList<PlaybackConfig*> playback_config[PLAYBACK_STRATEGIES];