mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
9672e60943
Original commit message from CVS: pull good old filterstamp back out of the attic
24 lines
790 B
Text
24 lines
790 B
Text
filterstamp.sh is a script to copy a filter and change filenames and all
|
|
occurrences of the old name to the new name.
|
|
|
|
This is used for writing new audio filters. The best one to copy for now is
|
|
passthrough; it works on raw/audio int or float data.
|
|
|
|
If your new filter is called StereoPan, for example, then do this :
|
|
|
|
cd gst
|
|
../tools/filterstamp.sh Passthrough StereoPan
|
|
cd stereopan
|
|
make
|
|
|
|
(Please note the upper- and lower-case !)
|
|
|
|
You should also add a line to configure.ac to make sure the Makefiles are built
|
|
correctly. Just search for "passthrough" and add corresponding "stereopan" (or
|
|
whatever your plugin is) lines.
|
|
|
|
Register it, then try it out. It shouldn't do anything !
|
|
|
|
Now edit the filter.func in the new directory; this file contains the body
|
|
of the main processing loop.
|
|
|