~audio-recorder/audio-recorder/trunk

1 by Osmo Antero Maatta
Initial import 17.jan.2011
1
#ifndef _GST_RECORDER_H
2
#define _GST_RECORDER_H
3
4
#include <glib.h>
5
#include <gdk/gdk.h>
6
#include <glib/gstdio.h>
7
#include <gst/gst.h>
8
9
void rec_start_stop_recording();
10
11
void rec_module_init();
12
void rec_module_exit();
13
14
void rec_set_data_lock();
15
void rec_free_data_lock();
16
9 by Osmo Antero Maatta
Cleaning up the rec_stop_recording() code + other improvements
17
void rec_get_state(gint *state, gint *pending);
1423 by Osmo Antero
Fix problem with duplicate messages from media players.
18
1 by Osmo Antero Maatta
Initial import 17.jan.2011
19
gboolean rec_is_recording();
1423 by Osmo Antero
Fix problem with duplicate messages from media players.
20
gboolean rec_is_paused();
21
22
const gchar *rec_get_state_name(gint state);
1 by Osmo Antero Maatta
Initial import 17.jan.2011
23
24
gboolean rec_start_recording();
25
void rec_stop_recording(gboolean delete_file);
26
void rec_pause_recording();
27
void rec_continue_recording();
28
29
void rec_start_stop_recording();
30
void rec_stop_and_reset();
31
32
gint64 rec_get_stream_time();
33
34
gchar *rec_get_output_filename();
35
36
void rec_test_func();
37
38
#endif