summaryrefslogtreecommitdiffstats
path: root/tools/README.filterstamp
blob: a7b3d21e6fb186fc6729c3cbdad34987c3fc9c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.