diff options
Diffstat (limited to 'gst/passthrough/filter.func')
-rw-r--r-- | gst/passthrough/filter.func | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gst/passthrough/filter.func b/gst/passthrough/filter.func new file mode 100644 index 00000000..99a9308b --- /dev/null +++ b/gst/passthrough/filter.func @@ -0,0 +1,18 @@ +{ + guint j; + static long int sample = 0; /* you can use this to count samples */ + + /* + * process data here + * *data contains the original 8 or 16 bit samples and is modified in place + * channels are interleaved in input data + */ + + /* do nothing */ + + for (j = 0; j < num_samples; j++) + { + data[j] = data[j]; + } + sample += num_samples; +} |