Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4716323

ShortMessage may return bogus status byte

XMLWordPrintable

    • mantis
    • generic
    • generic



      Name: fb126949 Date: 07/17/2002


      ShortMessages received via an external MIDI input port always return
      0x90 in getStatus(). To get the real status byte, use getCommand() and
      getChannel().

      This can be verified with the DumpReceiver from the Java Sound Examples,
      by modifying the switch cases which use getCommand() and getChannel() to
      use (getStatus() & 0xF0) and (getStatus() & 0x0F).


      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            fbomerssunw Florian Bomers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: