~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to seq.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//  $Id: seq.h,v 1.3 2002/02/13 11:42:56 muse Exp $
 
5
//
 
6
//  (C) Copyright 1999/2000 Werner Schweer (ws@seh.de)
 
7
//=========================================================
 
8
 
 
9
#ifndef __SEQ_H__
 
10
#define __SEQ_H__
 
11
 
 
12
#include <qobject.h>
 
13
#include <pthread.h>
 
14
#include <qstring.h>
 
15
#include <unistd.h>
 
16
#include "mtc.h"
 
17
#include "value.h"
 
18
#include "audiomix.h"
 
19
#include "tempo.h"
 
20
 
 
21
class Xml;
 
22
class AudioPort;
 
23
class EventList;
 
24
class SEventList;
 
25
class MidiEvent;
 
26
 
 
27
class SndFile;
 
28
 
 
29
//---------------------------------------------------------
 
30
//   Sequencer
 
31
//---------------------------------------------------------
 
32
 
 
33
class Sequencer : public QObject {
 
34
      // recording values
 
35
      int recStartTick;
 
36
      int nextClick;
 
37
 
 
38
      Q_OBJECT;
 
39
      void loadConfigMetronom(Xml& xml);
 
40
      void readConfigAudioPort(Xml& xml);
 
41
      void readConfigAudioGroup(Xml& xml);
 
42
      void readConfigAudioMaster(Xml& xml);
 
43
      void readConfigMidiPort(Xml& xml);
 
44
      void readMixdown(Xml& xml);
 
45
      bool notify();
 
46
 
 
47
   public:
 
48
      Sequencer();
 
49
      ~Sequencer();
 
50
 
 
51
      void startThread();
 
52
      void stopThread();
 
53
 
 
54
      void writeConfiguration(int, Xml&);
 
55
      void readConfiguration(Xml&);
 
56
      };
 
57
#endif
 
58