Browse Source

Sequencer: Fix signal handlers.

tags/non-daw-v1.2.0
Jonathan Moore Liles 13 years ago
parent
commit
0abfd44031
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      sequencer/src/main.C

+ 5
- 1
sequencer/src/main.C View File

@@ -29,7 +29,7 @@

#include "pattern.H"
#include "phrase.H"
#include <signal.h>

#ifdef HAVE_XPM
#include "FL/Fl.H"
@@ -232,6 +232,10 @@ main ( int argc, char **argv )
(char**)icon_16x16, &p, &mask, NULL);
#endif

::signal( SIGTERM, sigterm_handler );
::signal( SIGHUP, sigterm_handler );
::signal( SIGINT, sigterm_handler );

config.follow_playhead = true;
config.record_mode = MERGE;
song.play_mode = PATTERN;


Loading…
Cancel
Save