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
);
25 int load_audio_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
26 int save_audio_config(FileXML
*xml
);
27 int load_video_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
28 int save_video_config(FileXML
*xml
);
29 int load_defaults(Defaults
*defaults
);
30 int save_defaults(Defaults
*defaults
);
31 // Used by CWindowGUI during initialization.
32 char* get_cwindow_display();
35 void equivalent_output(EDLSession
*session
, double *result
);
38 int achannel_positions
[MAXCHANNELS
];
39 AudioOutConfig
*aconfig_duplex
;
40 AudioInConfig
*aconfig_in
;
43 // AWindow column widths
44 int asset_columns
[ASSET_COLUMNS
];
46 float actual_frame_rate
;
47 // Aspect ratio for video
51 // Samples to send through console
52 int64_t audio_module_fragment
;
53 // Samples to read from disk at a time
54 int64_t audio_read_length
;
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
;
99 int force_uniprocessor
;
101 float frames_per_foot
;
102 // Number of highlighted track
103 int highlighted_track
;
105 int interpolation_type
;
106 // labels follow edits during editing
107 int labels_follow_edits
;
109 int plugins_follow_edits
;
114 int64_t playback_buffer
;
115 // Global playback. This is loaded from defaults but not from XML probably
116 // because it was discovered to be the most convenient.
117 // It is part of the EDL probably because the playback setting was
118 // going to be bound to the EDL.
119 ArrayList
<PlaybackConfig
*> playback_config
[PLAYBACK_STRATEGIES
];
120 int playback_cursor_visible
;
121 int64_t playback_preload
;
122 int playback_software_position
;
123 int playback_strategy
;
124 // Play audio in realtime priority
125 int real_time_playback
;
126 int real_time_record
;
127 // Use software to calculate record position
128 int record_software_position
;
129 // Sync the drives during recording
130 int record_sync_drives
;
133 // Samples to write to disk at a time
134 int64_t record_write_length
;
135 // Show title and action safe regions in CWindow
139 // Show titles in resources
141 // number of cpus to use - 1
143 // Test for data before rendering a track
144 int test_playback_edits
;
145 // Format to display times in
147 // Show tool window in CWindow
149 // Location of video outs
150 int vchannel_x
[MAXCHANNELS
];
151 int vchannel_y
[MAXCHANNELS
];
154 VideoInConfig
*vconfig_in
;
156 int video_every_frame
;
158 // number of frames to write to disk at a time during video recording.
159 int video_write_length
;
160 int view_follows_playback
;
161 // Source item for VWindow
162 // Uniquely identify vwindow clip without pointers
163 char vwindow_folder
[BCTEXTLEN
];
165 // Use the vwindow meter or not
169 static int current_id
;