![]() |
![]() |
![]() |
Buzztard Bt-Core Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
BtSinkBinBtSinkBin — bin to be used by BtSinkMachine |
"input-gain" GstElement* : Read / Write "master-volume" gdouble : Read / Write "mode" BtSinkBinMode : Read / Write "record-file-name" gchar* : Read / Write "record-format" BtSinkBinRecordFormat : Read / Write
The sink-bin provides switchable play and record facillities. It also provides controlable master-volume.
typedef struct _BtSinkBin BtSinkBin;
Sub-class of a GstBin that implements a signal output (a machine with inputs only).
typedef enum { BT_SINK_BIN_MODE_PLAY=0, BT_SINK_BIN_MODE_RECORD, BT_SINK_BIN_MODE_PLAY_AND_RECORD, BT_SINK_BIN_MODE_PASS_THRU } BtSinkBinMode;
BtSinkMachine supports several modes of operation. Playing is the default mode. Passthru is only needed if the song is plugged in another pipeline.
typedef enum { BT_SINK_BIN_RECORD_FORMAT_OGG_VORBIS=0, BT_SINK_BIN_RECORD_FORMAT_MP3, BT_SINK_BIN_RECORD_FORMAT_WAV, BT_SINK_BIN_RECORD_FORMAT_OGG_FLAC, BT_SINK_BIN_RECORD_FORMAT_MP4_AAC, BT_SINK_BIN_RECORD_FORMAT_RAW } BtSinkBinRecordFormat;
BtSinkMachine can record audio in several formats.
"master-volume"
property "master-volume" gdouble : Read / Write
master volume for the song.
Allowed values: [0,10]
Default value: 1
"mode"
property"mode" BtSinkBinMode : Read / Write
mode of operation.
Default value: BT_SINK_BIN_MODE_PLAY
"record-file-name"
property "record-file-name" gchar* : Read / Write
the file-name to use for recording.
Default value: NULL
"record-format"
property"record-format" BtSinkBinRecordFormat : Read / Write
format to use when in record mode.
Default value: .ogg