2020-06-05 00:17:44 +02:00
|
|
|
/* drmr2_hydrogen.h
|
|
|
|
* LV2 DrMr2 plugin
|
2012-02-07 12:52:59 +01:00
|
|
|
* Copyright 2012 Nick Lanham <nick@afternight.org>
|
|
|
|
*
|
|
|
|
* Public License v3. source code is available at
|
|
|
|
* <http://github.com/nicklan/drmr>
|
|
|
|
|
|
|
|
* THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2012-02-07 10:59:24 +01:00
|
|
|
|
2012-02-06 22:54:18 +01:00
|
|
|
#ifndef DRMR_HYDRO_H
|
|
|
|
#define DRMR_HYDRO_H
|
|
|
|
|
2012-02-07 10:59:24 +01:00
|
|
|
kits* scan_kits();
|
2012-02-15 12:20:11 +01:00
|
|
|
void free_kits(kits* kits);
|
2012-02-07 12:22:26 +01:00
|
|
|
void free_samples(drmr_sample* samples, int num_samples);
|
2012-02-14 12:03:18 +01:00
|
|
|
int load_sample(char* path,drmr_layer* layer,double target_rate);
|
2012-02-15 22:56:08 +01:00
|
|
|
drmr_sample *load_hydrogen_kit(char *path, double rate, int *num_samples);
|
2012-02-06 22:54:18 +01:00
|
|
|
|
|
|
|
#endif // DRMR_HYDRO_H
|