#include <string.h>
#include <limits.h>
#include "utils_tests.h"
int main (int argc, char **argv)
{
if (argc < 3) {
PRINT_ERR("not enough arguments, running tests\n");
err = run_on_default_source_and_sink(main);
PRINT_MSG("usage: %s <input_path> <output_path> <sample_path> [samplerate]\n", argv[0]);
return err;
}
uint_t n_frames = 0, read = 0;
char_t *source_path = argv[1];
if ( argc >= 4 ) {
strncpy(sample_path, argv[3], PATH_MAX - 1);
} else {
strncpy(sample_path, source_path, PATH_MAX - 1);
}
sample_path[PATH_MAX - 1] = '\0';
if ( argc >= 5 ) samplerate = atoi(argv[4]);
do {
if (n_frames / hop_size == 10) {
}
if (n_frames / hop_size == 40) {
}
if (n_frames / hop_size == 70) {
}
if (n_frames > 10.0 * samplerate) {
}
n_frames += read;
} while ( read == hop_size );
return 0;
}