typedef unsigned char Byte;
- /** Identical to jack_midi_event_t, but with double timestamp
- *
- * time is either a frame time (from/to Jack) or a beat time (internal
- * tempo time, used in MidiModel) depending on context.
- */
- struct MidiEvent {
- MidiEvent(double t=0, size_t s=0, Byte* b=NULL)
- : time(t), size(s), buffer(b)
- {}
-
- double time; /**< Sample index (or beat time) at which event is valid */
- size_t size; /**< Number of bytes of data in \a buffer */
- Byte* buffer; /**< Raw MIDI data */
- };
-
enum IOChange {
NoChange = 0,
ConfigurationChanged = 0x1,
Destructive
};
+ enum NoteMode {
+ Sustained,
+ Percussive
+ };
+
struct BBT_Time {
uint32_t bars;
uint32_t beats;
enum SampleFormat {
FormatFloat = 0,
- FormatInt24
+ FormatInt24,
+ FormatInt16
};
};
typedef std::vector<boost::shared_ptr<Source> > SourceList;
+
+ enum SrcQuality {
+ SrcBest,
+ SrcGood,
+ SrcQuick,
+ SrcFast,
+ SrcFastest
+ };
+
+ enum PortType {
+ Jack,
+ Internal
+ };
+
} // namespace ARDOUR
std::istream& operator>>(std::istream& o, ARDOUR::SampleFormat& sf);