Top | ![]() |
![]() |
![]() |
![]() |
BtSinkBinBtSinkBin — bin to be used by BtSinkMachine |
gpointer | analyzers | Read / Write |
GstElement * | input-gain | Read / Write |
gdouble | master-volume | Read / Write |
BtSinkBinMode | mode | Read / Write |
gchar * | record-file-name | Read / Write |
BtSinkBinRecordFormat | record-format | Read / Write |
GEnum ├── BtSinkBinMode ╰── BtSinkBinRecordFormat GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBin ╰── BtSinkBin
The sink-bin provides switchable play and record facilities. It also provides controllable master-volume.
In play and record modes it plugs a chain of elements. In combined play and record mode it uses a tee and plugs both pipelines.
gboolean
bt_sink_bin_is_record_format_supported
(BtSinkBinRecordFormat format
);
Each record format might need a couple of GStreamer element to work. This function verifies that all needed element are available.
struct BtSinkBin;
Sub-class of a GstBin that implements a signal output (a machine with inputs only).
BtSinkBin supports several modes of operation. Playing is the default mode. Passthru is only needed if the song is plugged in another pipeline.
BtSinkMachine can record audio in several formats.
“input-gain”
property“input-gain” GstElement *
the input-gain element, if any.
Flags: Read / Write
“master-volume”
property“master-volume” gdouble
master volume for the song.
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“mode”
property“mode” BtSinkBinMode
mode of operation.
Flags: Read / Write
Default value: BT_SINK_BIN_MODE_PLAY
“record-file-name”
property“record-file-name” gchar *
the file-name to use for recording.
Flags: Read / Write
Default value: NULL
“record-format”
property“record-format” BtSinkBinRecordFormat
format to use when in record mode.
Flags: Read / Write
Default value: .vorbis.ogg