Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.5 KiB

  1. o What should we map to?
  2. The following needs to be supported in the CPL.
  3. 1) Many to many:
  4. For output this would allow multiple applications
  5. to open the mapper and we would merge this midi data
  6. to ALL output midi devices.
  7. For input this would allow multiple applications
  8. to open the mapper and we would merge the midi
  9. data from ALL midi input devices and send it to
  10. ALL the applications.
  11. 2) Many to one:
  12. For output this would allow multiple applications to
  13. open the mapper and we would merge the data from the
  14. applications to a single midi device.
  15. For input this would allow multiple applications to
  16. open the mapper and we would route the input from a
  17. single midi device to all applications.
  18. 3) One to many:
  19. For output this would allow a single application to
  20. open the mapper and we would route the data received
  21. from the application to all devcies.
  22. For input this would allow a single application to
  23. open the mapper and we would merge the data received
  24. from all devices to this application.
  25. 4) One to one:
  26. For output this would allow a single application to
  27. open the mapper and we would map the data to a single
  28. midi device.
  29. For input this would allow a single application to
  30. open the mapper and we would map the data from a
  31. single midi device to this application.
  32. o Do i autodoc the sample code? including the midimapper?
  33. o We need to do something about error codes.....
  34. For any error conditions that need expalanation we
  35. should Log the error.
  36. o How should i process the other MXDM_* messages?
  37. - MODM_RESET
  38. - MODM_POLYMSG
  39. - MIDM_POLYMSG
  40. Files
  41. =====
  42. modmsg.c - modMessage()
  43. modm.c - modmXXXX messages
  44. mapout.c - output mapping code and output code that needs to be fixed.
  45. midmsg.c - midMessage()
  46. midm.c - midmXXXX messages
  47. mapin.c - input mapping code and input code that needs to be fixed.
  48. debug.c - contains isr debug code
  49. commonf.c - contains common code that needs to be fixed.
  50. init.c - contains one time initialization code
  51. config.c - contains configuration code.
  52. drvproc.c - contains the DriverProc() and LibMain()
  53. fix.c - segment that is marked FIXED in def file.
  54. it contains the midi callback function.
  55.