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

« back to all changes in this revision

Viewing changes to muse/sync.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    int _idIn;
27
27
    
28
28
    bool _sendMC;
 
29
    bool _sendMRT;
29
30
    bool _sendMMC;
30
31
    bool _sendMTC;
31
32
    bool _recMC;
 
33
    bool _recMRT;
32
34
    bool _recMMC;
33
35
    bool _recMTC;
34
36
    
 
37
    int _recMTCtype;
 
38
    
 
39
    bool _recRewOnStart;
 
40
    //bool _sendContNotStart;
 
41
    
35
42
    double   _lastClkTime;
36
43
    double   _lastTickTime;
 
44
    double   _lastMRTTime;
 
45
    double   _lastMMCTime;
 
46
    double   _lastMTCTime;
37
47
    double   _lastActTime[MIDI_CHANNELS];
38
48
    bool     _clockTrig;
39
49
    bool     _tickTrig;
 
50
    bool     _MRTTrig;
 
51
    bool     _MMCTrig;
 
52
    bool     _MTCTrig;
40
53
    bool     _actTrig[MIDI_CHANNELS];
41
54
    bool     _clockDetect;
42
55
    bool     _tickDetect;
 
56
    bool     _MRTDetect;
 
57
    bool     _MMCDetect;
 
58
    bool     _MTCDetect;
43
59
    bool     _actDetect[MIDI_CHANNELS];
44
60
    int      _actDetectBits;
45
61
    
57
73
    void setIdIn(const int v)     { _idIn = v; }
58
74
    
59
75
    bool MCOut() const            { return _sendMC; }
 
76
    bool MRTOut() const           { return _sendMRT; }
60
77
    bool MMCOut() const           { return _sendMMC; }
61
78
    bool MTCOut() const           { return _sendMTC; }
62
79
    
63
80
    bool MCIn() const             { return _recMC; }
 
81
    bool MRTIn() const            { return _recMRT; }
64
82
    bool MMCIn() const            { return _recMMC; }
65
83
    bool MTCIn() const            { return _recMTC; }
66
84
    
67
85
    void setMCOut(const bool v)   { _sendMC = v; }
 
86
    void setMRTOut(const bool v)  { _sendMRT = v; }
68
87
    void setMMCOut(const bool v)  { _sendMMC = v; }
69
88
    void setMTCOut(const bool v)  { _sendMTC = v; }
70
89
    
71
90
    void setMCIn(const bool v);   
72
 
    void setMMCIn(const bool v)   { _recMMC = v; }
73
 
    void setMTCIn(const bool v)   { _recMTC = v; }
 
91
    void setMRTIn(const bool v);   
 
92
    void setMMCIn(const bool v);   
 
93
    void setMTCIn(const bool v);   
74
94
    
75
95
    void setTime(); 
76
96
    
77
 
    bool MCSyncDetect() const     { return _clockDetect; }          
 
97
    bool recRewOnStart() const            { return _recRewOnStart; }
 
98
    void setRecRewOnStart(const bool v)   { _recRewOnStart = v; }
 
99
    //bool sendContNotStart() const           { return _sendContNotStart; }
 
100
    //void setSendContNotStart(const bool v)  { _sendContNotStart = v; }
 
101
    
 
102
    bool MCSyncDetect() const             { return _clockDetect; }          
78
103
    void trigMCSyncDetect();
79
104
    
80
105
    bool tickDetect() const       { return _tickDetect; }           
81
106
    void trigTickDetect();
82
107
    
 
108
    bool MTCDetect() const       { return _MTCDetect; }           
 
109
    void trigMTCDetect();
 
110
    int recMTCtype() const       { return _recMTCtype; }
 
111
    void setRecMTCtype(int t)    { _recMTCtype = t; }
 
112
    
 
113
    bool MRTDetect() const       { return _MRTDetect; }           
 
114
    void trigMRTDetect();
 
115
    
 
116
    bool MMCDetect() const       { return _MMCDetect; }           
 
117
    void trigMMCDetect();
 
118
    
83
119
    int  actDetectBits() const    { return _actDetectBits; }
84
120
    bool actDetect(const int ch) const;
85
121
    void trigActDetect(const int ch);
107
143
//extern bool acceptMTC;
108
144
//extern bool acceptMC;
109
145
//extern bool acceptMMC;
110
 
extern int curMidiSyncInPort;
111
 
extern bool useJackTransport;
 
146
extern int volatile curMidiSyncInPort;
 
147
extern BValue useJackTransport;
 
148
extern bool volatile jackTransportMaster;
 
149
extern unsigned int syncSendFirstClockDelay; // In milliseconds.
 
150
 
112
151
 
113
152
#endif
114
153