dls2.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /* Defines and Structures for Instrument Collection Form RIFF DLS2
  2. *
  3. * Copyright (C) 2003-2004 Rok Mandeljc
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  18. */
  19. #ifndef __WINE_INCLUDE_DLS2_H
  20. #define __WINE_INCLUDE_DLS2_H
  21. /*****************************************************************************
  22. * DLSIDs - property set
  23. */
  24. DEFINE_GUID(DLSID_GMInHardware, 0x178f2f24,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12);
  25. DEFINE_GUID(DLSID_GSInHardware, 0x178f2f25,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12);
  26. DEFINE_GUID(DLSID_ManufacturersID, 0xb03e1181,0x8095,0x11d2,0xa1,0xef,0x00,0x60,0x08,0x33,0xdb,0xd8);
  27. DEFINE_GUID(DLSID_ProductID, 0xb03e1182,0x8095,0x11d2,0xa1,0xef,0x00,0x60,0x08,0x33,0xdb,0xd8);
  28. DEFINE_GUID(DLSID_SampleMemorySize, 0x178f2f28,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12);
  29. DEFINE_GUID(DLSID_SupportsDLS1, 0x178f2f27,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12);
  30. DEFINE_GUID(DLSID_SupportsDLS2, 0xf14599e5,0x4689,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
  31. DEFINE_GUID(DLSID_SamplePlaybackRate, 0x2a91f713,0xa4bf,0x11d2,0xbb,0xdf,0x00,0x60,0x08,0x33,0xdb,0xd8);
  32. DEFINE_GUID(DLSID_XGInHardware, 0x178f2f26,0xc364,0x11d1,0xa7,0x60,0x00,0x00,0xf8,0x75,0xac,0x12);
  33. /*****************************************************************************
  34. * FOURCCs
  35. */
  36. #define FOURCC_RGN2 mmioFOURCC('r','g','n','2')
  37. #define FOURCC_LAR2 mmioFOURCC('l','a','r','2')
  38. #define FOURCC_ART2 mmioFOURCC('a','r','t','2')
  39. #define FOURCC_CDL mmioFOURCC('c','d','l',' ')
  40. #define FOURCC_DLID mmioFOURCC('d','l','i','d')
  41. /*****************************************************************************
  42. * Flags
  43. */
  44. #define CONN_DST_GAIN 0x001
  45. #define CONN_DST_KEYNUMBER 0x005
  46. #define CONN_DST_LEFT 0x010
  47. #define CONN_DST_RIGHT 0x011
  48. #define CONN_DST_CENTER 0x012
  49. #define CONN_DST_LEFTREAR 0x013
  50. #define CONN_DST_RIGHTREAR 0x014
  51. #define CONN_DST_LFE_CHANNEL 0x015
  52. #define CONN_DST_CHORUS 0x080
  53. #define CONN_DST_REVERB 0x081
  54. #define CONN_DST_VIB_FREQUENCY 0x114
  55. #define CONN_DST_VIB_STARTDELAY 0x115
  56. #define CONN_DST_EG1_DELAYTIME 0x20B
  57. #define CONN_DST_EG1_HOLDTIME 0x20C
  58. #define CONN_DST_EG1_SHUTDOWNTIME 0x20D
  59. #define CONN_DST_EG2_DELAYTIME 0x30F
  60. #define CONN_DST_EG2_HOLDTIME 0x310
  61. #define CONN_DST_FILTER_CUTOFF 0x500
  62. #define CONN_DST_FILTER_Q 0x501
  63. #define CONN_SRC_POLYPRESSURE 0x007
  64. #define CONN_SRC_CHANNELPRESSURE 0x008
  65. #define CONN_SRC_VIBRATO 0x009
  66. #define CONN_SRC_MONOPRESSURE 0x00A
  67. #define CONN_SRC_CC91 0x0DB
  68. #define CONN_SRC_CC93 0x0DD
  69. #define CONN_TRN_CONVEX 0x002
  70. #define CONN_TRN_SWITCH 0x003
  71. #define DLS_CDL_AND 0x01
  72. #define DLS_CDL_OR 0x02
  73. #define DLS_CDL_XOR 0x03
  74. #define DLS_CDL_ADD 0x04
  75. #define DLS_CDL_SUBTRACT 0x05
  76. #define DLS_CDL_MULTIPLY 0x06
  77. #define DLS_CDL_DIVIDE 0x07
  78. #define DLS_CDL_LOGICAL_AND 0x08
  79. #define DLS_CDL_LOGICAL_OR 0x09
  80. #define DLS_CDL_LT 0x0A
  81. #define DLS_CDL_LE 0x0B
  82. #define DLS_CDL_GT 0x0C
  83. #define DLS_CDL_GE 0x0D
  84. #define DLS_CDL_EQ 0x0E
  85. #define DLS_CDL_NOT 0x0F
  86. #define DLS_CDL_CONST 0x10
  87. #define DLS_CDL_QUERY 0x11
  88. #define DLS_CDL_QUERYSUPPORTED 0x12
  89. #define F_WAVELINK_MULTICHANNEL 0x2
  90. #define WLOOP_TYPE_RELEASE 0x1
  91. #endif /* __WINE_INCLUDE_DLS2_H */