Generic audio hash algorithm interface Abstract class for interfacing with SoundAnalyser. More...
#include <hasher.h>
Public Member Functions | |
| Hasher () | |
| Default constructor. | |
| virtual void | feed ()=0 |
| Feed the hash algorithm. | |
| virtual void | compute ()=0 |
| Compute the hash of the current sequence. | |
| virtual string | getHash ()=0 |
| Get the current hash. | |
| virtual float | compare (string a, string b)=0 |
| Compare two hashes. | |
| virtual void | setBufferSize (int size)=0 |
| Change the buffer size of the algorithm (the time that it remembers hashes) | |
Generic audio hash algorithm interface Abstract class for interfacing with SoundAnalyser.
1.8.1.1