| 1 |
/* vim: set filetype=c: */ |
| 2 |
|
| 3 |
% instance-members |
| 4 |
% prototypes |
| 5 |
% pad-template |
| 6 |
/* FIXME add/remove the formats that you want to support */ |
| 7 |
static GstStaticPadTemplate gst_replace_src_template = |
| 8 |
GST_STATIC_PAD_TEMPLATE ("src", |
| 9 |
GST_PAD_SRC, |
| 10 |
GST_PAD_ALWAYS, |
| 11 |
GST_STATIC_CAPS ("audio/x-raw,format=S16LE,rate=[1,max]," |
| 12 |
"channels=[1,max],layout=interleaved") |
| 13 |
); |
| 14 |
|
| 15 |
% base-init |
| 16 |
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), |
| 17 |
&gst_replace_src_template); |
| 18 |
% instance-init |
| 19 |
% methods |
| 20 |
% end |
| 21 |
|