gstreamer/gst/passthrough/filter.func
Andy Wingo ad6ed7da2d Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 23:26:33 +00:00

19 lines
363 B
Plaintext

{
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;
}