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

cam.c

/*
   CAM - Cpu's Audio Mixer for Linux 
   (c) 1994-1996 
   AUTHOR: Jan 'TWP' VANDENBERGHE (jvdbergh@uia.ua.ac.be)

 */


/*   
   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
 */



#include "cam.h"
jmp_buf env;

#include <stdlib.h>

int 
main (int argc, char *argv[])
{
  if (argc == 1)
    {
      signal (SIGINT, finish);
      signal (SIGTERM, finish);
      signal (SIGKILL, finish);
      setjmp (env);
      signal (SIGWINCH, finish);
      init_screen ();
      set_screen ();
      ctrl_sliders ();
      finish (0);
      exit (0);
    }
  else
    set_sound (argc, argv);
  return 0;
}
/* End of main() */

Generated by  Doxygen 1.6.0   Back to index