Logo Search packages:      
Sourcecode: tapiir version File versions  Download package

main.cxx

#include <stdio.h>
#include <string.h>
#include "MTDdecl.hxx"

int run_alsa(int argc,char* argv[]);
int run_jack(int argc,char* argv[]);

MTDBase* mtd;

int main(int argc,char* argv[])
{
      if (argc>1)
      {
            if (!strcmp(argv[1],"--alsa")) return run_alsa(argc-1,argv+1);
            if (!strcmp(argv[1],"--jack")) return run_jack(argc-1,argv+1);
      }
      printf("Usage: tapiir [ --alsa | --jack ] [-h | --help ]\n");
      return -1;
}

Generated by  Doxygen 1.6.0   Back to index