ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dmdls.h
Go to the documentation of this file.
00001 #ifndef _DMDLS_
00002 #define _DMDLS_
00003 
00004 #include "dls1.h"
00005 
00006 #define DMUS_DOWNLOADINFO_INSTRUMENT            1
00007 #define DMUS_DOWNLOADINFO_WAVE                  2
00008 #define DMUS_DOWNLOADINFO_INSTRUMENT2           3
00009 #define DMUS_DOWNLOADINFO_WAVEARTICULATION      4
00010 #define DMUS_DOWNLOADINFO_STREAMINGWAVE         5
00011 #define DMUS_DOWNLOADINFO_ONESHOTWAVE           6
00012 #define DMUS_DEFAULT_SIZE_OFFSETTABLE           1
00013 #define DMUS_INSTRUMENT_GM_INSTRUMENT           (1 << 0)
00014 #define DMUS_MIN_DATA_SIZE                      4
00015 
00016 typedef long PCENT;
00017 typedef long GCENT;
00018 typedef long TCENT;
00019 typedef long PERCENT;
00020 typedef LONGLONG REFERENCE_TIME;
00021 typedef REFERENCE_TIME *LPREFERENCE_TIME;
00022 
00023 #ifndef MAKEFOURCC
00024   #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
00025   typedef DWORD           FOURCC;
00026 #endif
00027 
00028 
00029 typedef struct _DMUS_LFOPARAMS
00030 {
00031   PCENT pcFrequency;
00032   TCENT tcDelay;
00033   GCENT gcVolumeScale;
00034   PCENT pcPitchScale;
00035   GCENT gcMWToVolume;
00036   PCENT pcMWToPitch;
00037 } DMUS_LFOPARAMS;
00038 
00039 typedef struct _DMUS_VEGPARAMS
00040 {
00041   TCENT tcAttack;
00042   TCENT tcDecay;
00043   PERCENT ptSustain;
00044   TCENT tcRelease;
00045   TCENT tcVel2Attack;
00046   TCENT tcKey2Decay;
00047 } DMUS_VEGPARAMS;
00048 
00049 typedef struct _DMUS_PEGPARAMS
00050 {
00051   TCENT tcAttack;
00052   TCENT tcDecay;
00053   PERCENT ptSustain;
00054   TCENT tcRelease;
00055   TCENT tcVel2Attack;
00056   TCENT tcKey2Decay;
00057   PCENT pcRange;
00058 } DMUS_PEGPARAMS;
00059 
00060 typedef struct _DMUS_MSCPARAMS
00061 {
00062   PERCENT ptDefaultPan;
00063 } DMUS_MSCPARAMS;
00064 
00065 typedef struct _DMUS_DOWNLOADINFO
00066 {
00067   DWORD dwDLType;
00068   DWORD dwDLId;
00069   DWORD dwNumOffsetTableEntries;
00070   DWORD cbSize;
00071 } DMUS_DOWNLOADINFO;
00072 
00073 typedef struct _DMUS_OFFSETTABLE
00074 {
00075   ULONG ulOffsetTable[DMUS_DEFAULT_SIZE_OFFSETTABLE];
00076 } DMUS_OFFSETTABLE;
00077 
00078 typedef struct _DMUS_INSTRUMENT
00079 {
00080   ULONG ulPatch;
00081   ULONG ulFirstRegionIdx;
00082   ULONG ulGlobalArtIdx;
00083   ULONG ulFirstExtCkIdx;
00084   ULONG ulCopyrightIdx;
00085   ULONG ulFlags;
00086 } DMUS_INSTRUMENT;
00087 
00088 typedef struct _DMUS_REGION
00089 {
00090   RGNRANGE RangeKey;
00091   RGNRANGE RangeVelocity;
00092   USHORT fusOptions;
00093   USHORT usKeyGroup;
00094   ULONG ulRegionArtIdx;
00095   ULONG ulNextRegionIdx;
00096   ULONG ulFirstExtCkIdx;
00097   WAVELINK WaveLink;
00098   WSMPL WSMP;
00099   WLOOP WLOOP[1];
00100 } DMUS_REGION;
00101 
00102 typedef struct _DMUS_NOTERANGE
00103 {
00104   DWORD dwLowNote;
00105   DWORD dwHighNote;
00106 } DMUS_NOTERANGE, *LPDMUS_NOTERANGE;
00107 
00108 typedef struct _DMUS_COPYRIGHT
00109 {
00110     ULONG cbSize;
00111     BYTE byCopyright[DMUS_MIN_DATA_SIZE];
00112 } DMUS_COPYRIGHT;
00113 
00114 
00115 typedef struct _DMUS_EXTENSIONCHUNK
00116 {
00117   ULONG cbSize;
00118   ULONG ulNextExtCkIdx;
00119   FOURCC ExtCkID;
00120   BYTE byExtCk[DMUS_MIN_DATA_SIZE];
00121 } DMUS_EXTENSIONCHUNK;
00122 
00123 
00124 typedef struct _DMUS_WAVE
00125 {
00126   ULONG ulFirstExtCkIdx;
00127   ULONG ulCopyrightIdx;
00128   ULONG ulWaveDataIdx;
00129   WAVEFORMATEX WaveformatEx;
00130 } DMUS_WAVE;
00131 
00132 typedef struct _DMUS_WAVEDATA
00133 {
00134   ULONG cbSize;
00135   BYTE byData[DMUS_MIN_DATA_SIZE];
00136 } DMUS_WAVEDATA;
00137 
00138 typedef struct _DMUS_ARTICULATION
00139 {
00140   ULONG ulArt1Idx;
00141   ULONG ulFirstExtCkIdx;
00142 } DMUS_ARTICULATION;
00143 
00144 typedef struct _DMUS_ARTICULATION2
00145 {
00146   ULONG ulArtIdx;
00147   ULONG ulFirstExtCkIdx;
00148   ULONG ulNextArtIdx;
00149 } DMUS_ARTICULATION2;
00150 
00151 typedef struct _DMUS_WAVEDL
00152 {
00153   ULONG cbWaveData;
00154 }   DMUS_WAVEDL, *LPDMUS_WAVEDL;
00155 
00156 typedef struct _DMUS_ARTICPARAMS
00157 {
00158   DMUS_LFOPARAMS LFO;
00159   DMUS_VEGPARAMS VolEG;
00160   DMUS_PEGPARAMS PitchEG;
00161   DMUS_MSCPARAMS Misc;
00162 } DMUS_ARTICPARAMS;
00163 
00164 typedef struct _DMUS_WAVEARTDL
00165 {
00166   ULONG ulDownloadIdIdx;
00167   ULONG ulBus;
00168   ULONG ulBuffers;
00169     ULONG ulMasterDLId;
00170   USHORT usOptions;
00171 } DMUS_WAVEARTDL, *LPDMUS_WAVEARTDL;
00172 
00173 
00174 #endif
00175 

Generated on Sun May 27 2012 04:30:37 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.