LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
preferences.h
Go to the documentation of this file.
1 // preferences.h
2 // LiVES (lives-exe)
3 // (c) G. Finch (salsaman@gmail.com) 2004 - 2013
4 // released under the GNU GPL 3 or later
5 // see file ../COPYING or www.gnu.org for licensing details
6 
7 #ifndef HAS_LIVES_PREFS_H
8 #define HAS_LIVES_PREFS_H
9 
10 #define LIVES_PREFS_TIMEOUT (10 * U_SEC) // 10 sec timeout
11 
12 #define PREFS_PANED_POS ((int)(200.*widget_opts.scale))
13 
14 typedef struct {
15  char bgcolour[256];
17  boolean open_maximised;
18  char theme[64];
19 
20  short pb_quality;
21 #define PB_QUALITY_LOW 1
22 #define PB_QUALITY_MED 2
23 #define PB_QUALITY_HIGH 3
24 
26 
27  short audio_player;
28 #define AUD_PLAYER_SOX 1
29 #define AUD_PLAYER_MPLAYER 2
30 #define AUD_PLAYER_JACK 3
31 #define AUD_PLAYER_PULSE 4
32 #define AUD_PLAYER_MPLAYER2 5
33 
34  char aplayer[512]; // name, eg. "jack","pulse","sox","mplayer","mplayer2"
35 
37  short q_type;
38 #define Q_FILL 1
39 #define Q_SMOOTH 1
40 
41  char tmpdir[PATH_MAX];
42 
43  // utf8 encoding
44  char def_vid_load_dir[PATH_MAX];
45  char def_vid_save_dir[PATH_MAX];
46  char def_audio_dir[PATH_MAX];
47  char def_image_dir[PATH_MAX];
48  char def_proj_dir[PATH_MAX];
49 
50  // locale encoding
51  char prefix_dir[PATH_MAX];
52  char lib_dir[PATH_MAX];
53 
54 
55  char image_ext[16];
56 
57  uint32_t warning_mask;
58  // if these bits are set, we do not show the warning
59 #define WARN_MASK_FPS (1<<0)
60 #define WARN_MASK_FSIZE (1<<1)
61 
63 #define WARN_MASK_SAVE_QUALITY (1<<2)
64 
65 #define WARN_MASK_SAVE_SET (1<<3)
66 #define WARN_MASK_NO_MPLAYER (1<<4)
67 #define WARN_MASK_RENDERED_FX (1<<5)
68 #define WARN_MASK_NO_ENCODERS (1<<6)
69 #define WARN_MASK_LAYOUT_MISSING_CLIPS (1<<7)
70 #define WARN_MASK_LAYOUT_CLOSE_FILE (1<<8)
71 #define WARN_MASK_LAYOUT_DELETE_FRAMES (1<<9)
72 
73  /* next two are off by default (on a fresh install) */
74 #define WARN_MASK_LAYOUT_SHIFT_FRAMES (1<<10)
75 #define WARN_MASK_LAYOUT_ALTER_FRAMES (1<<11)
76 
77 #define WARN_MASK_DUPLICATE_SET (1<<12)
78 
79 #define WARN_MASK_EXIT_MT (1<<13)
80 #define WARN_MASK_DISCARD_SET (1<<14)
81 #define WARN_MASK_AFTER_DVGRAB (1<<15)
82 
83 #define WARN_MASK_MT_ACHANS (1<<16)
84 
85 #define WARN_MASK_LAYOUT_DELETE_AUDIO (1<<17)
86 
87  /* next two are off by default (on a fresh install) */
88 #define WARN_MASK_LAYOUT_SHIFT_AUDIO (1<<18)
89 #define WARN_MASK_LAYOUT_ALTER_AUDIO (1<<19)
90 
91 #define WARN_MASK_MT_NO_JACK (1<<20)
92 
93 #define WARN_MASK_OPEN_YUV4M (1<<21)
94 
95 #define WARN_MASK_MT_BACKUP_SPACE (1<<22)
96 
97 #define WARN_MASK_LAYOUT_POPUP (1<<23)
98 
99 #define WARN_MASK_CLEAN_AFTER_CRASH (1<<24)
100 
101 #define WARN_MASK_NO_PULSE_CONNECT (1<<25)
102 
103 #define WARN_MASK_LAYOUT_WIPE (1<<26)
104 
105  char effect_command[256];
106  char video_open_command[256];
107  char audio_play_command[256];
108  char cdplay_device[PATH_MAX];
109  double default_fps;
112  boolean open_decorated;
115  boolean fileselmax;
116  boolean show_recent;
118  boolean midisynch;
120  boolean conserve_space;
121  boolean ins_resample;
122  boolean show_tool;
123  short sepwin_type;
124 #define SEPWIN_TYPE_NON_STICKY 0
125 #define SEPWIN_TYPE_STICKY 1
126 
129  boolean show_subtitles;
130  boolean loop_recording;
131  boolean discard_tv;
133  boolean safer_preview;
134  int rec_opts;
135 #define REC_FRAMES (1<<0)
136 #define REC_FPS (1<<1)
137 #define REC_EFFECTS (1<<2)
138 #define REC_CLIPS (1<<3)
139 #define REC_AUDIO (1<<4)
140 #define REC_AFTER_PB (1<<5)
141 
142 
144 #define AUDIO_SRC_INT 0
145 #define AUDIO_SRC_EXT 1
146 
147  boolean no_bandwidth;
149  uint32_t osc_udp_port;
150 
151  boolean omc_noisy;
152  boolean omc_events;
153 
155  char *wm;
156  int ocp;
157 
158  boolean antialias;
159 
161 
163 
164  uint32_t jack_opts;
165 #define JACK_OPTS_TRANSPORT_CLIENT (1<<0)
166 #define JACK_OPTS_TRANSPORT_MASTER (1<<1)
167 #define JACK_OPTS_START_TSERVER (1<<2)
168 #define JACK_OPTS_NOPLAY_WHEN_PAUSED (1<<3)
169 #define JACK_OPTS_START_ASERVER (1<<4)
170 #define JACK_OPTS_TIMEBASE_START (1<<5)
171 #define JACK_OPTS_TIMEBASE_CLIENT (1<<6)
172 #define JACK_OPTS_TIMEBASE_MASTER (1<<7)
173 #define JACK_OPTS_NO_READ_AUTOCON (1<<8)
174 
175  char jack_tserver[256];
176  char jack_aserver[256];
177 
178  char *fxdefsfile;
179  char *fxsizesfile;
181 
182  LiVESList *acodec_list;
183  int acodec_list_to_format[AUDIO_CODEC_NONE];
184 
185  uint32_t audio_opts;
186 #define AUDIO_OPTS_FOLLOW_CLIPS (1<<0)
187 #define AUDIO_OPTS_FOLLOW_FPS (1<<1)
188 
190  boolean crash_recovery;
191 
192  boolean show_rdet;
193 
194  boolean move_effects;
195 
198 
201  double mt_def_fps;
202 
207 
208  boolean mt_exit_render;
209  boolean render_prompt;
210 
213 
215 
216  boolean ar_clipset;
217  boolean ar_layout;
218 
219  char ar_clipset_name[128];
220  char ar_layout_name[PATH_MAX];
221 
223 
224  boolean show_gui;
225  boolean show_splash;
226  boolean show_playwin;
227 
228  boolean osc_start;
229 
231 
232  boolean concat_images;
233 
234  boolean render_audio;
236 
237  boolean instant_open;
238  boolean auto_deint;
239  boolean auto_nobord;
240 
243 
245 
247  int midi_rpt;
248 
249 #define OMC_DEV_MIDI 1<<0
250 #define OMC_DEV_JS 1<<1
251 #define OMC_DEV_FORCE_RAW_MIDI 1<<2
252  uint32_t omc_dev_opts;
253 
254  char omc_js_fname[PATH_MAX];
255  char omc_midi_fname[PATH_MAX];
256 
258 
260 
261  boolean safe_symlinks;
262 
263 #ifdef ALSA_MIDI
264  boolean use_alsa_midi;
265 #endif
266 
268 
269 #define STARTUP_CE 0
270 #define STARTUP_MT 1
271 
272  boolean ce_maxspect;
273 
274  boolean lamp_buttons;
275 
276  boolean autoload_subs;
277 
279 
281 
282  // autotransitioning in mt
284  char def_autotrans[256];
285 
287 
288  boolean alpha_post;
289 
291  boolean unstable_fx;
292  boolean letterbox;
293  boolean enc_letterbox;
294 
296 
297  boolean force64bit;
298 
300 
303 
304 
305  // these are defualt values; actual values can be adjusted in Preferences
306 #define DEF_DS_WARN_LEVEL 250000000 // 250MB
307  uint64_t ds_warn_level;
308 #define DEF_DS_CRIT_LEVEL 20000000 // 20MB
309  uint64_t ds_crit_level;
310 
311 
312 #define LIVES_CDISK_LEAVE_ORPHAN_SETS (1<<0)
313 #define LIVES_CDISK_LEAVE_BFILES (1<<1)
314 #define LIVES_CDISK_REMOVE_ORPHAN_LAYOUTS (1<<2)
315 #define LIVES_CDISK_LEAVE_MARKER_FILES (1<<3)
316 #define LIVES_CDISK_LEAVE_MISC_FILES (1<<4)
317 
318 #define LIVES_CDISK_REMOVE_LOCK_FILES (1<<5)
319 #define LIVES_CDISK_REBUILD_ORDER_FILES (1<<6)
320 
321 
322  uint32_t clear_disk_opts;
323 
324 #ifdef HAVE_YUV4MPEG
325  char yuvin[PATH_MAX];
326 #endif
327 
328  LiVESList *disabled_decoders;
329 
330  char backend_sync[PATH_MAX];
331  char backend[PATH_MAX];
332 
333  char weed_plugin_path[PATH_MAX];
334  char frei0r_path[PATH_MAX];
335  char ladspa_path[PATH_MAX];
336 
337  boolean present;
338 
339  boolean ce_thumb_mode;
340 
342 
344 
346 
347 } _prefs;
348 
349 enum {
364 };
365 
366 enum {
371 };
372 
373 
374 #define PREF_WIN_WIDTH (mainw->scr_width*.9)
375 #define PREF_WIN_HEIGHT (mainw->scr_height*.9)
376 
377 #define DS_WARN_CRIT_MAX 1000000.
378 
379 typedef struct {
383  LiVESWidget *prefs_dialog;
384 
385  LiVESWidget *prefs_list;
386  LiVESWidget *prefs_table;
387  LiVESWidget *vbox_right_gui;
388  LiVESWidget *vbox_right_multitrack;
389  LiVESWidget *vbox_right_decoding;
390  LiVESWidget *vbox_right_playback;
391  LiVESWidget *vbox_right_recording;
392  LiVESWidget *vbox_right_encoding;
393  LiVESWidget *vbox_right_effects;
395  LiVESWidget *vbox_right_warnings;
396  // LiVESWidget *vbox_right_warnings_outer;
397  LiVESWidget *vbox_right_misc;
398  LiVESWidget *vbox_right_themes;
399  LiVESWidget *vbox_right_net;
400  LiVESWidget *vbox_right_jack;
401  LiVESWidget *vbox_right_midi;
402  LiVESWidget *scrollw_right_gui;
408  LiVESWidget *scrollw_right_effects;
411  LiVESWidget *scrollw_right_misc;
412  LiVESWidget *scrollw_right_themes;
413  LiVESWidget *scrollw_right_net;
414  LiVESWidget *scrollw_right_jack;
415  LiVESWidget *scrollw_right_midi;
416  LiVESWidget *right_shown;
417  LiVESWidget *cancelbutton;
418  LiVESWidget *applybutton;
419  LiVESWidget *closebutton;
421  LiVESWidget *open_maximised_check;
422  LiVESWidget *show_tool;
423  LiVESWidget *mouse_scroll;
424  LiVESWidget *fs_max_check;
425  LiVESWidget *recent_check;
426  LiVESWidget *video_open_entry;
427  LiVESWidget *audio_command_entry;
428  LiVESWidget *vid_load_dir_entry;
429  LiVESWidget *vid_save_dir_entry;
430  LiVESWidget *audio_dir_entry;
431  LiVESWidget *image_dir_entry;
432  LiVESWidget *proj_dir_entry;
433  LiVESWidget *tmpdir_entry;
434  LiVESWidget *cdplay_entry;
435  LiVESWidget *spinbutton_def_fps;
436  LiVESWidget *pbq_combo;
437  LiVESWidget *ofmt_combo;
438  LiVESWidget *audp_combo;
439  LiVESWidget *rframes;
440  LiVESWidget *rfps;
441  LiVESWidget *rclips;
442  LiVESWidget *reffects;
443  LiVESWidget *raudio;
444  LiVESWidget *rextaudio;
445  LiVESWidget *rdesk_audio;
446  LiVESWidget *encoder_combo;
447  LiVESWidget *checkbutton_antialias;
448  LiVESWidget *checkbutton_threads;
449  LiVESWidget *spinbutton_warn_ds;
450  LiVESWidget *spinbutton_crit_ds;
451  LiVESWidget *checkbutton_warn_fps;
477  LiVESWidget *spinbutton_warn_fsize;
478  LiVESWidget *spinbutton_bwidth;
479  LiVESWidget *theme_combo;
480  LiVESWidget *check_midi;
481  LiVESWidget *ins_speed;
482  LiVESWidget *jpeg;
483  LiVESWidget *mt_enter_prompt;
484  LiVESWidget *spinbutton_ocp;
485  LiVESWidget *acodec_combo;
486  LiVESWidget *spinbutton_osc_udp;
487  LiVESWidget *spinbutton_rte_keys;
489  LiVESWidget *enable_OSC;
490  LiVESWidget *enable_OSC_start;
491  LiVESWidget *jack_tserver_entry;
492  LiVESWidget *jack_aserver_entry;
497  LiVESWidget *checkbutton_jack_pwp;
501  LiVESWidget *checkbutton_afollow;
502  LiVESWidget *checkbutton_aclips;
505  LiVESWidget *spinbutton_mt_def_fps;
507  LiVESWidget *spinbutton_mt_ab_time;
508  LiVESWidget *spinbutton_rec_gb;
509  LiVESWidget *mt_autoback_every;
510  LiVESWidget *mt_autoback_always;
511  LiVESWidget *mt_autoback_never;
512  LiVESWidget *spinbutton_gmoni;
513  LiVESWidget *spinbutton_pmoni;
514  LiVESWidget *ce_thumbs;
516  LiVESWidget *pertrack_checkbutton;
517  LiVESWidget *backaudio_checkbutton;
521  LiVESWidget *checkbutton_auto_trim;
522  LiVESWidget *checkbutton_nobord;
524  LiVESWidget *forcesmon;
525  LiVESWidget *forcesmon_hbox;
526  LiVESList *pbq_list;
527  char *audp_name;
530  LiVESWidget *checkbutton_omc_js;
531  LiVESWidget *checkbutton_omc_midi;
532  LiVESWidget *omc_js_entry;
533  LiVESWidget *omc_midi_entry;
534  LiVESWidget *spinbutton_midicr;
535  LiVESWidget *spinbutton_midirpt;
536  LiVESWidget *alsa_midi;
537  LiVESWidget *button_midid;
538  LiVESWidget *rb_startup_ce;
539  LiVESWidget *rb_startup_mt;
540  LiVESWidget *jack_int_label;
542  LiVESWidget *temp_label;
545  LiVESWidget *wpp_entry;
546  LiVESWidget *frei0r_entry;
547  LiVESWidget *ladspa_entry;
548  LiVESWidget *cdda_hbox;
549  LiVESWidget *midi_hbox;
550  LiVESTreeSelection *selection;
551  boolean needs_restart;
552 } _prefsw;
553 
555 typedef struct {
556  boolean ign_clipset;
557  boolean ign_osc;
558  boolean ign_aplayer;
559  boolean ign_stmode;
560  boolean ign_vppdefs;
561 } _ign_opts;
562 
563 typedef struct {
564  char tmpdir[PATH_MAX];
565  char theme[64];
566  char vpp_name[64];
574  int vpp_argc;
575  char **vpp_argv;
576 
578  boolean show_recent;
579  boolean show_tool;
580  boolean osc_start;
582  uint32_t jack_opts;
583 
585 
586 
587  LiVESList *disabled_decoders;
589 
590 } _future_prefs;
591 
595 
597 void rdet_acodec_changed(LiVESCombo *acodec_combo, livespointer user_data);
598 
600 
601 boolean on_prefs_delete_event(LiVESWidget *, LiVESXEvent *, livespointer prefsw);
602 
603 void on_preferences_activate(LiVESMenuItem *, livespointer);
604 
605 void on_prefs_close_clicked(LiVESButton *, livespointer);
606 
607 void on_prefs_revert_clicked(LiVESButton *, livespointer);
608 
609 void set_vpp(boolean set_in_prefs);
610 
611 void on_prefDomainChanged(LiVESTreeSelection *, livespointer);
612 
613 void populate_combo_box(LiVESCombo *, LiVESList *data);
614 
615 void set_combo_box_active_string(LiVESCombo *, char *active_str);
616 
619 
620 void apply_button_set_enabled(LiVESWidget *widget, livespointer func_data);
621 
622 
623 // factories
624 enum {
629 };
630 
631 void pref_factory_bool(int prefidx, boolean newval);
632 void pref_factory_int(int prefidx, int newval);
633 void pref_factory_bitmapped(int prefidx, int bitfield, boolean newval);
634 
635 
636 // permissions
637 
638 #define LIVES_PERM_OSC_PORTS 1
639 
640 boolean lives_ask_permission(int what);
641 
642 
643 #endif
int sleep_time
Definition: preferences.h:113
LiVESWidget * vbox_right_midi
Definition: preferences.h:401
boolean letterbox
playback with letterbox
Definition: preferences.h:292
LiVESWidget * checkbutton_warn_after_dvgrab
Definition: preferences.h:467
LiVESWidget * raudio
Definition: preferences.h:443
LiVESWidget * audio_dir_entry
Definition: preferences.h:430
boolean ar_layout
Definition: preferences.h:217
LiVESWidget * checkbutton_warn_mplayer
Definition: preferences.h:452
LiVESWidget * scrollw_right_effects
Definition: preferences.h:408
Definition: plugins.h:147
boolean antialias
Definition: preferences.h:158
short audio_player
Definition: preferences.h:27
LiVESWidget * checkbutton_warn_no_pulse
Definition: preferences.h:468
LiVESWidget * vbox_right_misc
Definition: preferences.h:397
LiVESWidget * cdda_hbox
Definition: preferences.h:548
void pref_factory_bitmapped(int prefidx, int bitfield, boolean newval)
Definition: preferences.c:485
int vpp_YUV_clamping
Definition: preferences.h:571
LiVESWidget * ins_speed
Definition: preferences.h:481
LiVESWidget * scrollw_right_gui
Definition: preferences.h:402
Definition: events.h:108
boolean lives_ask_permission(int what)
Definition: preferences.c:4784
Definition: preferences.h:357
LiVESWidget * reffects
Definition: preferences.h:442
LiVESWidget * enable_OSC
Definition: preferences.h:489
LiVESWidget * audio_command_entry
Definition: preferences.h:427
#define PATH_MAX
Definition: main.h:254
LiVESWidget * vbox_right_warnings
Definition: preferences.h:395
LiVESWidget * rdesk_audio
Definition: preferences.h:445
LiVESWidget * scrollw_right_themes
Definition: preferences.h:412
LiVESWidget * backaudio_checkbutton
Definition: preferences.h:517
boolean present
Definition: preferences.h:337
LiVESWidget * checkbutton_mt_exit_render
Definition: preferences.h:515
boolean force_system_clock
Definition: preferences.h:295
boolean mt_pertrack_audio
Definition: preferences.h:211
Definition: preferences.h:362
boolean mt_enter_prompt
Definition: preferences.h:197
LiVESWidget * spinbutton_mt_ab_time
Definition: preferences.h:507
boolean auto_nobord
Definition: preferences.h:239
LiVESWidget * spinbutton_midirpt
Definition: preferences.h:535
Definition: preferences.h:363
LiVESWidget * midi_hbox
Definition: preferences.h:549
LiVESWidget * spinbutton_mt_def_height
Definition: preferences.h:504
short rte_keys_virtual
Definition: preferences.h:162
boolean stream_audio_out
Definition: preferences.h:290
boolean auto_deint
Definition: preferences.h:238
double mt_def_fps
Definition: preferences.h:201
LiVESWidget * rclips
Definition: preferences.h:441
int warn_file_size
Definition: preferences.h:117
boolean show_rdet
show render details (frame size, encoder type) before saving to file
Definition: preferences.h:192
LiVESTreeSelection * selection
Definition: preferences.h:550
uint32_t omc_dev_opts
Definition: preferences.h:252
char * fxdefsfile
Definition: preferences.h:178
boolean concat_images
Definition: preferences.h:232
LiVESWidget * checkbutton_jack_client
Definition: preferences.h:494
Definition: preferences.h:563
boolean on_prefs_delete_event(LiVESWidget *, LiVESXEvent *, livespointer prefsw)
LiVESWidget * vbox_right_multitrack
Definition: preferences.h:388
LiVESWidget * spinbutton_midicr
Definition: preferences.h:534
int mt_auto_back
Definition: preferences.h:214
LiVESWidget * spinbutton_mt_undo_buf
Definition: preferences.h:506
LiVESList * acodec_list
Definition: preferences.h:182
LiVESWidget * checkbutton_start_tjack
Definition: preferences.h:499
void on_prefDomainChanged(LiVESTreeSelection *, livespointer)
Definition: preferences.c:1861
LiVESWidget * checkbutton_jack_tb_start
Definition: preferences.h:495
boolean safer_preview
Definition: preferences.h:133
int mt_undo_buf
Definition: preferences.h:196
LiVESWidget * checkbutton_start_ajack
Definition: preferences.h:500
int play_monitor
Definition: preferences.h:242
LiVESWidget * prefs_list
Definition: preferences.h:385
Definition: preferences.h:626
LiVESWidget * checkbutton_warn_layout_close
Definition: preferences.h:458
LiVESWidget * spinbutton_rte_keys
Definition: preferences.h:487
int vpp_palette
Definition: preferences.h:570
LiVESWidget * scrollw_right_recording
Definition: preferences.h:406
int rec_stop_gb
Definition: preferences.h:278
Definition: preferences.h:352
LiVESWidget * checkbutton_aclips
Definition: preferences.h:502
LiVESWidget * show_tool
Definition: preferences.h:422
void prefsw_set_rec_after_settings(_vid_playback_plugin *)
Definition: preferences.c:1809
boolean osc_start
Definition: preferences.h:580
Definition: preferences.h:358
boolean show_splash
Definition: preferences.h:225
LiVESList * disabled_decoders
Definition: preferences.h:587
LiVESWidget * mt_enter_prompt
Definition: preferences.h:483
int vpp_fheight
Definition: preferences.h:573
LiVESWidget * scrollw_right_misc
Definition: preferences.h:411
LiVESWidget * mt_autoback_every
Definition: preferences.h:509
int dl_bandwidth
Definition: preferences.h:119
boolean omc_noisy
send success/fail
Definition: preferences.h:151
Definition: preferences.h:350
LiVESWidget * mt_autoback_never
Definition: preferences.h:511
Definition: preferences.h:354
LiVESWidget * audp_combo
Definition: preferences.h:438
boolean mt_exit_render
Definition: preferences.h:208
LiVESWidget * checkbutton_warn_layout_adel
Definition: preferences.h:462
boolean show_tool
Definition: preferences.h:579
boolean force_single_monitor
Definition: preferences.h:244
LiVESList * disabled_decoders
Definition: preferences.h:328
LiVESWidget * rframes
Definition: preferences.h:439
char * orig_audp_name
Definition: preferences.h:528
boolean open_maximised
Definition: preferences.h:17
boolean alpha_post
set to TRUE to force use of post alpha internally
Definition: preferences.h:288
LiVESWidget * ofmt_combo
Definition: preferences.h:437
LiVESWidget * spinbutton_warn_ds
Definition: preferences.h:449
LiVESWidget * table_right_directories
Definition: preferences.h:394
boolean show_button_images
Definition: preferences.h:341
LiVESWidget * jack_aserver_entry
Definition: preferences.h:492
short pb_quality
Definition: preferences.h:20
LiVESWidget * vid_load_dir_entry
Definition: preferences.h:428
LiVESWidget * vbox_right_themes
Definition: preferences.h:398
LiVESWidget * pertrack_checkbutton
Definition: preferences.h:516
uint32_t osc_udp_port
Definition: preferences.h:149
LiVESWidget * checkbutton_warn_mt_no_jack
Definition: preferences.h:473
LiVESWidget * rextaudio
Definition: preferences.h:444
int vpp_fwidth
Definition: preferences.h:572
_prefsw * create_prefs_dialog(void)
Definition: preferences.c:1997
boolean instant_open
Definition: preferences.h:237
LiVESWidget * checkbutton_warn_layout_aalt
Definition: preferences.h:463
LiVESWidget * jack_tserver_entry
Definition: preferences.h:491
LiVESWidget * checkbutton_auto_trim
Definition: preferences.h:521
boolean ign_clipset
Definition: preferences.h:556
boolean render_prompt
Definition: preferences.h:209
boolean push_audio_to_gens
Definition: preferences.h:343
boolean unstable_fx
Definition: preferences.h:291
LiVESWidget * prefs_dialog
Definition: preferences.h:383
void populate_combo_box(LiVESCombo *, LiVESList *data)
Definition: preferences.h:369
LiVESWidget * checkbutton_jack_pwp
Definition: preferences.h:497
Definition: preferences.h:628
LiVESWidget * checkbutton_warn_discard_layout
Definition: preferences.h:466
LiVESWidget * checkbutton_warn_save_set
Definition: preferences.h:453
LiVESWidget * check_midi
Definition: preferences.h:480
LiVESWidget * jack_int_label
Definition: preferences.h:540
boolean force64bit
< force system clock (rather than soundcard) for timing ( better for high framerates ) ...
Definition: preferences.h:297
LiVESWidget * right_shown
Definition: preferences.h:416
int virt_height
n screens vert.
Definition: preferences.h:230
LiVESWidget * wpp_entry
Definition: preferences.h:545
LiVESWidget * acodec_combo
Definition: preferences.h:485
LiVESWidget * vbox_right_playback
Definition: preferences.h:390
Definition: preferences.h:351
uint64_t ds_warn_level
diskspace warn level bytes
Definition: preferences.h:307
LiVESWidget * scrollw_right_encoding
Definition: preferences.h:407
LiVESWidget * scrollw_right_net
Definition: preferences.h:413
boolean enc_letterbox
encode with letterbox
Definition: preferences.h:293
ulong audp_entry_func
Definition: preferences.h:529
LiVESWidget * prefs_table
Definition: preferences.h:386
int num_rtaudiobufs
Definition: preferences.h:259
int mt_backaudio
Definition: preferences.h:212
int startup_interface
Definition: preferences.h:267
Definition: preferences.h:14
LiVESWidget * vbox_right_encoding
Definition: preferences.h:392
int bigendbug
Definition: preferences.h:302
char ** vpp_argv
Definition: preferences.h:575
_future_prefs * future_prefs
Definition: preferences.h:593
LiVESWidget * checkbutton_concat_images
Definition: preferences.h:523
LiVESWidget * spinbutton_bwidth
Definition: preferences.h:478
Definition: preferences.h:356
boolean event_window_show_frame_events
Definition: preferences.h:189
int mt_def_achans
Definition: preferences.h:204
void pref_factory_bool(int prefidx, boolean newval)
Definition: preferences.c:426
Definition: preferences.h:361
boolean show_recent
Definition: preferences.h:578
Definition: preferences.h:360
LiVESWidget * checkbutton_warn_encoders
Definition: preferences.h:456
LiVESWidget * checkbutton_warn_rendered_fx
Definition: preferences.h:455
uint32_t jack_opts
Definition: preferences.h:582
char * audp_name
Definition: preferences.h:527
LiVESWidget * scrollw_right_multitrack
Definition: preferences.h:403
double vpp_fixed_fpsd
Definition: preferences.h:569
boolean needs_restart
Definition: preferences.h:551
int mt_def_width
Definition: preferences.h:199
_prefs * prefs
Definition: preferences.h:592
LiVESWidget * fs_max_check
Definition: preferences.h:424
LiVESWidget * checkbutton_rec_after_pb
Definition: preferences.h:544
uint32_t audio_opts
Definition: preferences.h:185
boolean safe_symlinks
Definition: preferences.h:261
LiVESWidget * spinbutton_ocp
Definition: preferences.h:484
Definition: preferences.h:627
void prefsw_set_astream_settings(_vid_playback_plugin *)
Definition: preferences.c:1797
uint32_t clear_disk_opts
Definition: preferences.h:322
boolean show_subtitles
Definition: preferences.h:129
boolean perm_audio_reader
Definition: preferences.h:345
void rdet_acodec_changed(LiVESCombo *acodec_combo, livespointer user_data)
Definition: preferences.c:1487
LiVESWidget * vbox_right_effects
Definition: preferences.h:393
LiVESWidget * scrollw_right_midi
Definition: preferences.h:415
LiVESWidget * stop_screensaver_check
Definition: preferences.h:420
LiVESWidget * vbox_right_recording
Definition: preferences.h:391
boolean fileselmax
Definition: preferences.h:115
LiVESWidget * button_midid
Definition: preferences.h:537
LiVESWidget * vbox_right_net
Definition: preferences.h:399
Definition: preferences.h:359
int startup_interface
Definition: preferences.h:581
LiVESWidget * checkbutton_warn_layout_clips
Definition: preferences.h:457
LiVESWidget * cancelbutton
Definition: preferences.h:417
boolean show_playwin
Definition: preferences.h:226
LiVESWidget * rb_startup_ce
Definition: preferences.h:538
boolean autoload_subs
Definition: preferences.h:276
short sepwin_type
Definition: preferences.h:123
boolean show_player_stats
Definition: preferences.h:127
int mt_def_signed_endian
Definition: preferences.h:206
LiVESWidget * checkbutton_instant_open
Definition: preferences.h:519
prefs window
Definition: preferences.h:380
uint64_t ds_crit_level
diskspace critical level bytes
Definition: preferences.h:309
LiVESWidget * image_dir_entry
Definition: preferences.h:431
LiVESWidget * encoder_combo
Definition: preferences.h:446
LiVESWidget * checkbutton_jack_master
Definition: preferences.h:493
int nfx_threads
Definition: preferences.h:286
char * fxsizesfile
Definition: preferences.h:179
boolean mouse_scroll_clips
Definition: preferences.h:257
boolean open_decorated
Definition: preferences.h:112
boolean conserve_space
Definition: preferences.h:120
void on_preferences_activate(LiVESMenuItem *, livespointer)
Definition: preferences.c:4637
LiVESWidget * vbox_right_gui
Definition: preferences.h:387
LiVESWidget * spinbutton_warn_fsize
Definition: preferences.h:477
LiVESWidget * cdplay_entry
Definition: preferences.h:434
startup overrides from commandline
Definition: preferences.h:555
LiVESWidget * open_maximised_check
Definition: preferences.h:421
LiVESWidget * temp_label
Definition: preferences.h:542
LiVESWidget * checkbutton_show_stats
Definition: preferences.h:470
double default_fps
Definition: preferences.h:109
boolean save_directories
Definition: preferences.h:132
int atrans_fx
Definition: preferences.h:283
LiVESWidget * scrollw_right_directories
Definition: preferences.h:409
LiVESWidget * checkbutton_warn_layout_wipe
Definition: preferences.h:469
LiVESWidget * ce_thumbs
Definition: preferences.h:514
LiVESWidget * checkbutton_warn_fsize
Definition: preferences.h:471
char * vppdefaultsfile
Definition: preferences.h:180
LiVESWidget * spinbutton_gmoni
Definition: preferences.h:512
LiVESWidget * spinbutton_mt_def_width
Definition: preferences.h:503
LiVESWidget * checkbutton_warn_after_crash
Definition: preferences.h:476
LiVESWidget * mt_autoback_always
Definition: preferences.h:510
boolean show_framecount
Definition: preferences.h:128
int mt_def_height
Definition: preferences.h:200
LiVESWidget * scrollw_right_warnings
Definition: preferences.h:410
LiVESWidget * alsa_midi
Definition: preferences.h:536
void on_prefs_close_clicked(LiVESButton *, livespointer)
Definition: preferences.c:4656
boolean show_gui
Definition: preferences.h:224
void apply_button_set_enabled(LiVESWidget *widget, livespointer func_data)
Definition: preferences.c:1969
LiVESWidget * checkbutton_auto_deint
Definition: preferences.h:520
Definition: preferences.h:625
LiVESList * disabled_decoders_new
Definition: preferences.h:588
LiVESWidget * scrollw_right_playback
Definition: preferences.h:405
int bar_height
Definition: preferences.h:110
_encoder encoder
Definition: preferences.h:577
uint32_t warning_mask
Definition: preferences.h:57
int audio_src
Definition: preferences.h:143
boolean ins_resample
Definition: preferences.h:121
boolean ign_vppdefs
Definition: preferences.h:560
boolean ignore_tiny_fps_diffs
Definition: preferences.h:160
LiVESWidget * forcesmon
Definition: preferences.h:524
LiVESWidget * checkbutton_omc_js
Definition: preferences.h:530
Definition: preferences.h:370
short q_type
frame quantisation type
Definition: preferences.h:37
int vpp_fixed_fps_denom
Definition: preferences.h:568
#define AUDIO_CODEC_NONE
Definition: plugins.h:166
boolean osc_start
Definition: preferences.h:228
LiVESWidget * checkbutton_warn_layout_delete
Definition: preferences.h:459
LiVESWidget * video_open_entry
Definition: preferences.h:426
LiVESWidget * frei0r_entry
Definition: preferences.h:546
LiVESWidget * checkbutton_warn_layout_popup
Definition: preferences.h:465
boolean osc_udp_started
Definition: preferences.h:148
LiVESWidget * spinbutton_nfx_threads
Definition: preferences.h:488
LiVESWidget * checkbutton_omc_midi
Definition: preferences.h:531
_encoder encoder
from main.h
Definition: preferences.h:25
int ocp
open_compression_percent : get/set in prefs
Definition: preferences.h:156
int mt_def_arate
Definition: preferences.h:203
void on_prefs_revert_clicked(LiVESButton *, livespointer)
Definition: preferences.c:4743
LiVESWidget * checkbutton_jack_tb_client
Definition: preferences.h:496
void set_vpp(boolean set_in_prefs)
Definition: preferences.c:332
LiVESWidget * checkbutton_warn_layout_ashift
Definition: preferences.h:464
int gui_monitor
Definition: preferences.h:241
LiVESWidget * spinbutton_mt_def_fps
Definition: preferences.h:505
boolean show_tool
Definition: preferences.h:122
boolean ce_thumb_mode
Definition: preferences.h:339
boolean normalise_audio
Definition: preferences.h:235
boolean render_audio
Definition: preferences.h:234
LiVESWidget * recent_check
Definition: preferences.h:425
LiVESWidget * vid_save_dir_entry
Definition: preferences.h:429
char * wm
window manager name
Definition: preferences.h:155
void pref_factory_int(int prefidx, int newval)
Definition: preferences.c:479
LiVESWidget * checkbutton_render_prompt
Definition: preferences.h:518
LiVESWidget * enable_OSC_start
Definition: preferences.h:490
LiVESWidget * checkbutton_stream_audio
Definition: preferences.h:543
void set_combo_box_active_string(LiVESCombo *, char *active_str)
LiVESWidget * scrollw_right_jack
Definition: preferences.h:414
LiVESWidget * rb_startup_mt
Definition: preferences.h:539
int mt_def_asamps
Definition: preferences.h:205
LiVESWidget * pbq_combo
Definition: preferences.h:436
boolean ign_aplayer
Definition: preferences.h:558
Definition: preferences.h:367
boolean crash_recovery
TRUE==maintain mainw->recovery file.
Definition: preferences.h:190
Definition: preferences.h:353
LiVESWidget * spinbutton_rec_gb
Definition: preferences.h:508
LiVESWidget * checkbutton_warn_layout_alter
Definition: preferences.h:460
LiVESWidget * spinbutton_def_fps
Definition: preferences.h:435
void set_acodec_list_from_allowed(_prefsw *, render_details *)
Definition: preferences.c:1514
boolean pause_effect_during_preview
Definition: preferences.h:111
LiVESWidget * scrollw_right_decoding
Definition: preferences.h:404
short startup_phase
-1 = fresh install, 1 = tmpdir set, 2, pre-audio start, 3, pre-tests, 100 = all tests passed ...
Definition: preferences.h:154
boolean move_effects
Definition: preferences.h:194
LiVESWidget * vbox_right_jack
Definition: preferences.h:400
ulong encoder_name_fn
Definition: preferences.h:382
LiVESWidget * jpeg
Definition: preferences.h:482
boolean no_bandwidth
Definition: preferences.h:147
int vpp_fixed_fps_numer
Definition: preferences.h:567
LiVESWidget * forcesmon_hbox
Definition: preferences.h:525
LiVESWidget * checkbutton_jack_read_autocon
Definition: preferences.h:498
LiVESList * pbq_list
Definition: preferences.h:526
LiVESWidget * checkbutton_warn_dup_set
Definition: preferences.h:454
LiVESWidget * omc_js_entry
Definition: preferences.h:532
LiVESWidget * mouse_scroll
Definition: preferences.h:423
Definition: preferences.h:368
LiVESWidget * applybutton
Definition: preferences.h:418
boolean lamp_buttons
Definition: preferences.h:274
LiVESWidget * checkbutton_nobord
Definition: preferences.h:522
LiVESWidget * checkbutton_afollow
Definition: preferences.h:501
LiVESWidget * proj_dir_entry
Definition: preferences.h:432
boolean ign_osc
Definition: preferences.h:557
boolean show_recent
Definition: preferences.h:116
LiVESWidget * rfps
Definition: preferences.h:440
LiVESWidget * checkbutton_warn_layout_shift
Definition: preferences.h:461
_prefsw * prefsw
Definition: preferences.h:594
LiVESWidget * checkbutton_ce_maxspect
Definition: preferences.h:541
LiVESWidget * theme_combo
Definition: preferences.h:479
boolean stop_screensaver
Definition: preferences.h:16
LiVESWidget * checkbutton_warn_mt_achans
Definition: preferences.h:472
LiVESWidget * tmpdir_entry
Definition: preferences.h:433
LiVESWidget * ladspa_entry
Definition: preferences.h:547
int midi_check_rate
Definition: preferences.h:246
boolean discard_tv
Definition: preferences.h:131
boolean loop_recording
Definition: preferences.h:130
LiVESWidget * vbox_right_decoding
Definition: preferences.h:389
int nfx_threads
Definition: preferences.h:584
Definition: plugins.h:51
LiVESWidget * checkbutton_antialias
Definition: preferences.h:447
boolean midisynch
Definition: preferences.h:118
LiVESWidget * omc_midi_entry
Definition: preferences.h:533
LiVESWidget * checkbutton_warn_mt_backup_space
Definition: preferences.h:475
Definition: preferences.h:355
LiVESWidget * spinbutton_pmoni
Definition: preferences.h:513
LiVESWidget * spinbutton_crit_ds
Definition: preferences.h:450
boolean pause_during_pb
Definition: preferences.h:114
boolean omc_events
send other events
Definition: preferences.h:152
boolean auto_trim_audio
Definition: preferences.h:299
int rec_opts
Definition: preferences.h:134
boolean ar_clipset
Definition: preferences.h:216
int max_modes_per_key
maximum effect modes per key
Definition: preferences.h:280
LiVESWidget * checkbutton_warn_fps
Definition: preferences.h:451
LiVESWidget * checkbutton_warn_yuv4m_open
Definition: preferences.h:474
boolean ign_stmode
Definition: preferences.h:559
LiVESWidget * closebutton
Definition: preferences.h:419
int midi_rpt
Definition: preferences.h:247
LiVESWidget * spinbutton_osc_udp
Definition: preferences.h:486
LiVESWidget * checkbutton_threads
Definition: preferences.h:448
uint32_t jack_opts
Definition: preferences.h:164
int vpp_argc
Definition: preferences.h:574
ulong encoder_ofmt_fn
Definition: preferences.h:381
boolean rec_desktop_audio
Definition: preferences.h:222
boolean ce_maxspect
Definition: preferences.h:272