forked from kfish/sweep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.h
More file actions
83 lines (64 loc) · 2.02 KB
/
Copy pathsample.h
File metadata and controls
83 lines (64 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
* Sweep, a sound wave editor.
*
* Copyright (C) 2000 Conrad Parker
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __SAMPLE_H__
#define __SAMPLE_H__
#include <sweep/sweep_types.h>
#include "sweep_app.h"
void
create_sample_new_dialog_defaults (char * pathname);
void
create_sample_new_dialog_like (sw_sample * s);
void
sample_add_view (sw_sample * s, sw_view * v);
void
sample_remove_view (sw_sample * s, sw_view * v);
gint
sample_clear_tmp_message (gpointer data);
void
sample_set_monitor (sw_sample * s, gboolean monitor);
void
sample_set_offset_next_bound_left (sw_sample * s);
void
sample_set_offset_next_bound_right (sw_sample * s);
void
sample_refresh_rec_marker (sw_sample * s);
/*
* Functions to handle the temporary selection.
*/
void
sample_clear_tmp_sel (sw_sample * s);
/* sample_set_tmp_sel (s, tsel)
*
* sets the tmp_sel of sample s to a list containing only tsel.
* If tsel was part of the actual selection of s, it is first
* removed from the selection.
*/
void
sample_set_tmp_sel (sw_sample * s, sw_view * tview, sw_sel * tsel);
void
sample_set_tmp_sel_1 (sw_sample * s, sw_view * tview,
sw_framecount_t start, sw_framecount_t end);
void
sample_selection_insert_tmp_sel (sw_sample * s);
void
sample_selection_subtract_tmp_sel (sw_sample * s);
void
sample_selection_replace_with_tmp_sel (sw_sample * s);
#endif /* __SAMPLE_H__ */