~ubuntu-branches/debian/squeeze/bristol/squeeze

« back to all changes in this revision

Viewing changes to libbristolmidi/interface.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-05-29 09:34:47 UTC
  • mfrom: (1.2.3 upstream) (6.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100529093447-721k1xfrs7occgzp
Tags: 0.60.4-1
* New upstream release.
* Add autotools-dev debhelper addon support.
* debian/rules: Remove old lines used to update config.{guess,sub}
  files.
* debian/patches/01-destdir.patch: Removed, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
extern int bristolMidiDevSanity();
69
69
extern int bristolMidiALSARead();
70
70
extern int bristolMidiSeqRead();
71
 
extern int bristolMidiWrite();
72
71
extern int bristolPhysWrite();
73
72
 
74
73
extern int initMidiLib();
519
518
        if (msg->command != MIDI_SYSEX)
520
519
        {
521
520
                if (bristolPhysWrite(bmidi.dev[dev].fd,
522
 
                        (unsigned char *) &msg->params, size) != 0)
 
521
                        (unsigned char *) &msg->params, size - 1) != 0)
523
522
                        return(1);
524
523
        } else {
525
524
                if (msg->params.bristol.msgType < 8)