shithub: neindaw

ref: 262fbae1b70df3a7883a5c2b8df05e486622559b
dir: /piper/piper.c/

View raw version
#include <u.h>
#include <libc.h>
#include <thread.h>
#include "piper.h"

static Synth *synths[] = {
	&ay_3_8910,
	&kick_drum,
};

static void
usage(void)
{
	print("usage: %s DIR...\n", argv0);
	threadexitsall("usage");
}

void
threadmain(int argc, char **argv)
{
	int i;

	ARGBEGIN{
	default:
		usage();
	}ARGEND;

	if (argc < 1)
		usage();

	for (i = 0; i < argc; i++) {
	}

	threadexitsall(nil);
}