~ubuntu-branches/ubuntu/wily/ecasound/wily-proposed

« back to all changes in this revision

Viewing changes to libecasound/midi-parser.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghedini
  • Date: 2011-05-12 17:58:03 UTC
  • Revision ID: james.westby@ubuntu.com-20110512175803-zy3lodjecabt9r3v
Tags: upstream-2.8.0
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef INCLUDED_MIDI_PARSER_H
 
2
#define INCLUDED_MIDI_PARSER_H
 
3
 
 
4
/**
 
5
 * Collection of static functions and small stateful 
 
6
 * machines for parsing MIDI messages.
 
7
 */
 
8
class MIDI_PARSER {
 
9
  
 
10
 public:
 
11
 
 
12
  static bool is_voice_category_status_byte(unsigned char byte);
 
13
  static bool is_system_common_category_status_byte(unsigned char byte);
 
14
  static bool is_realtime_category_status_byte(unsigned char byte);  
 
15
  static bool is_status_byte(unsigned char byte);
 
16
 
 
17
};
 
18
 
 
19
#endif
 
20
 
 
21
 
 
22