199
by osmoma at gmail
Changes towards v0.9.5 on Ubuntu 12.10 and Fedora 18. |
1 |
#ifndef __G_ST_PIPELINE_H__
|
2 |
#define __G_ST_PIPELINE_H__
|
|
40
by Osmo Antero Maatta
Added ability to record from multiple devices. Major changes in all modules. |
3 |
#include <glib.h> |
4 |
#include <gdk/gdk.h> |
|
5 |
#include <gst/gst.h> |
|
6 |
||
7 |
#include "log.h" |
|
8 |
#include "support.h" |
|
69
by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2 |
9 |
#include "dconf.h" |
40
by Osmo Antero Maatta
Added ability to record from multiple devices. Major changes in all modules. |
10 |
#include "utility.h" |
11 |
||
173
by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline. |
12 |
typedef struct { |
2192
by Osmo Antero
Version 3.3.0. Initial suport for PipeWire. Removed suport for Skype |
13 |
gchar *gst_plugin; // pulsesrc, pipewiresrc |
14 |
gchar *gst_plugin_attrib; // device=, path= |
|
173
by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline. |
15 |
|
416
by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes. |
16 |
GList *dev_list; // String list of device names (internal ids of audio input devices). |
463
by Osmo Antero
Updated README and INSTALL files. |
17 |
// See: pactl list | grep -A2 'Source #' | grep 'Name: ' | cut -d" " -f2
|
173
by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline. |
18 |
|
404
by Osmo Antero
Removed dependency to libpulse-dev. Using now Gstreamer to get the device list. Completed src/win-settings-pipe.[ch] module. |
19 |
gchar *profile_str; // Capabilities and encoder pipeline. Gstreamer 1.0 style. |
463
by Osmo Antero
Updated README and INSTALL files. |
20 |
// Eg. "audio/x-raw,rate=44100,channels=2 ! vorbisenc name=enc quality=0.5 ! oggmux"
|
173
by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline. |
21 |
|
22 |
gchar *file_ext; // File extension such as "ogg", "flac" or "mp3". |
|
23 |
||
24 |
gchar *filename; // Record to this file. |
|
199
by osmoma at gmail
Changes towards v0.9.5 on Ubuntu 12.10 and Fedora 18. |
25 |
gboolean append; // Append to file option? |
173
by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline. |
26 |
|
27 |
} PipelineParms; |
|
28 |
||
29 |
void pipeline_free_parms(PipelineParms *parms); |
|
30 |
||
31 |
GstElement *pipeline_create(PipelineParms *parms, gchar **err_msg); |
|
32 |
GstElement *pipeline_create_VAD(PipelineParms *parms, gchar **err_msg); |
|
40
by Osmo Antero Maatta
Added ability to record from multiple devices. Major changes in all modules. |
33 |
|
404
by Osmo Antero
Removed dependency to libpulse-dev. Using now Gstreamer to get the device list. Completed src/win-settings-pipe.[ch] module. |
34 |
GString *pipeline_create_command_str(PipelineParms *parms); |
40
by Osmo Antero Maatta
Added ability to record from multiple devices. Major changes in all modules. |
35 |
#endif
|
36 |