Last active
August 29, 2015 14:00
-
-
Save mhroth/11298666 to your computer and use it in GitHub Desktop.
Tannhäuser API: Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - Tannhäuser Tann Patch | |
#ifndef _TANNHAUSER_TANN_H_ | |
#define _TANNHAUSER_TANN_H_ | |
typedef struct Tann_tann Tann_tann; | |
/** | |
* Creates a new patch instance. Block size should be a power of two. | |
* Sample rate should be positive and in Hertz. | |
* Input and output channels should be non-negative. | |
*/ | |
Tann_tann *th_tann_new(int numInputChannels, int numOutputChannels, int blockSize, double sampleRate); | |
/** Frees a patch instance. */ | |
void th_tann_free(Tann_tann *c); | |
/** Processes one block of samples for a patch instance. */ | |
void th_tann_process(Tann_tann *c, float *inputBuffers, float *outputBuffer); | |
#endif // _TANNHAUSER_TANN_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment