Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
wavefront.h File Reference

Go to the source code of this file.

Data Structures

struct  wf_envelope
 
struct  wf_lfo
 
struct  wf_patch
 
struct  wf_layer
 
struct  wf_program
 
struct  wf_sample_offset
 
struct  wf_sample
 
struct  wf_multisample
 
struct  wf_alias
 
struct  wf_drum
 
struct  wf_drumkit
 
struct  wf_channel_programs
 
union  wf_any
 
struct  wf_patch_info
 
struct  wavefront_control
 
struct  wf_fx_info
 

Macros

#define NUM_MIDIKEYS   128
 
#define NUM_MIDICHANNELS   16
 
#define WFC_DEBUG_DRIVER   0
 
#define WFC_FX_IOCTL   1
 
#define WFC_PATCH_STATUS   2
 
#define WFC_PROGRAM_STATUS   3
 
#define WFC_SAMPLE_STATUS   4
 
#define WFC_DISABLE_INTERRUPTS   5
 
#define WFC_ENABLE_INTERRUPTS   6
 
#define WFC_INTERRUPT_STATUS   7
 
#define WFC_ROMSAMPLES_RDONLY   8
 
#define WFC_IDENTIFY_SLOT_TYPE   9
 
#define WFC_DOWNLOAD_SAMPLE   0x80
 
#define WFC_DOWNLOAD_BLOCK   0x81
 
#define WFC_DOWNLOAD_MULTISAMPLE   0x82
 
#define WFC_DOWNLOAD_SAMPLE_ALIAS   0x83
 
#define WFC_DELETE_SAMPLE   0x84
 
#define WFC_REPORT_FREE_MEMORY   0x85
 
#define WFC_DOWNLOAD_PATCH   0x86
 
#define WFC_DOWNLOAD_PROGRAM   0x87
 
#define WFC_SET_SYNTHVOL   0x89
 
#define WFC_SET_NVOICES   0x8B
 
#define WFC_DOWNLOAD_DRUM   0x90
 
#define WFC_GET_SYNTHVOL   0x92
 
#define WFC_GET_NVOICES   0x94
 
#define WFC_DISABLE_CHANNEL   0x9A
 
#define WFC_ENABLE_CHANNEL   0x9B
 
#define WFC_MISYNTH_OFF   0x9D
 
#define WFC_MISYNTH_ON   0x9E
 
#define WFC_FIRMWARE_VERSION   0x9F
 
#define WFC_GET_NSAMPLES   0xA0
 
#define WFC_DISABLE_DRUM_PROGRAM   0xA2
 
#define WFC_UPLOAD_PATCH   0xA3
 
#define WFC_UPLOAD_PROGRAM   0xA4
 
#define WFC_SET_TUNING   0xA6
 
#define WFC_GET_TUNING   0xA7
 
#define WFC_VMIDI_ON   0xA8
 
#define WFC_VMIDI_OFF   0xA9
 
#define WFC_MIDI_STATUS   0xAA
 
#define WFC_GET_CHANNEL_STATUS   0xAB
 
#define WFC_DOWNLOAD_SAMPLE_HEADER   0xAC
 
#define WFC_UPLOAD_SAMPLE_HEADER   0xAD
 
#define WFC_UPLOAD_MULTISAMPLE   0xAE
 
#define WFC_UPLOAD_SAMPLE_ALIAS   0xAF
 
#define WFC_IDENTIFY_SAMPLE_TYPE   0xB0
 
#define WFC_DOWNLOAD_EDRUM_PROGRAM   0xB1
 
#define WFC_UPLOAD_EDRUM_PROGRAM   0xB2
 
#define WFC_SET_EDRUM_CHANNEL   0xB3
 
#define WFC_INSTOUT_LEVELS   0xB4
 
#define WFC_PEAKOUT_LEVELS   0xB5
 
#define WFC_REPORT_CHANNEL_PROGRAMS   0xB6
 
#define WFC_HARDWARE_VERSION   0xCF
 
#define WFC_UPLOAD_SAMPLE_PARAMS   0xD7
 
#define WFC_DOWNLOAD_OS   0xF1
 
#define WFC_NOOP   0xFF
 
#define WF_MAX_SAMPLE   512
 
#define WF_MAX_PATCH   256
 
#define WF_MAX_PROGRAM   128
 
#define WF_SECTION_MAX   44 /* longest OS section length */
 
#define WF_PROGRAM_BYTES   32
 
#define WF_PATCH_BYTES   132
 
#define WF_SAMPLE_BYTES   27
 
#define WF_SAMPLE_HDR_BYTES   25
 
#define WF_ALIAS_BYTES   25
 
#define WF_DRUM_BYTES   9
 
#define WF_MSAMPLE_BYTES   259 /* (MIDI_KEYS * 2) + 3 */
 
#define WF_ACK   0x80
 
#define WF_DMA_ACK   0x81
 
#define WF_MIDI_VIRTUAL_ENABLED   0x1
 
#define WF_MIDI_VIRTUAL_IS_EXTERNAL   0x2
 
#define WF_MIDI_IN_TO_SYNTH_DISABLED   0x4
 
#define WF_SYNTH_SLOT   0
 
#define WF_INTERNAL_MIDI_SLOT   1
 
#define WF_EXTERNAL_MIDI_SLOT   2
 
#define WF_EXTERNAL_SWITCH   0xFD
 
#define WF_INTERNAL_SWITCH   0xF9
 
#define WF_DEBUG_CMD   0x1
 
#define WF_DEBUG_DATA   0x2
 
#define WF_DEBUG_LOAD_PATCH   0x4
 
#define WF_DEBUG_IO   0x8
 
#define WF_WAVEPATCH_VERSION   120; /* Current version number (1.2) */
 
#define WF_MAX_COMMENT   64 /* Comment length */
 
#define WF_NUM_LAYERS   4
 
#define WF_NAME_LENGTH   32
 
#define WF_SOURCE_LENGTH   260
 
#define BankFileID   "Bank"
 
#define DrumkitFileID   "DrumKit"
 
#define ProgramFileID   "Program"
 
#define WF_ST_SAMPLE   0
 
#define WF_ST_MULTISAMPLE   1
 
#define WF_ST_ALIAS   2
 
#define WF_ST_EMPTY   3
 
#define WF_ST_DRUM   4
 
#define WF_ST_PROGRAM   5
 
#define WF_ST_PATCH   6
 
#define WF_ST_SAMPLEHDR   7
 
#define WF_ST_MASK   0xf
 
#define WF_SLOT_USED   0x80 /* XXX don't rely on this being accurate */
 
#define WF_SLOT_FILLED   0x40
 
#define WF_SLOT_ROM   0x20
 
#define WF_SLOT_MASK   0xf0
 
#define WF_CH_MONO   0
 
#define WF_CH_LEFT   1
 
#define WF_CH_RIGHT   2
 
#define LINEAR_16BIT   0
 
#define WHITE_NOISE   1
 
#define LINEAR_8BIT   2
 
#define MULAW_8BIT   3
 
#define WF_SAMPLE_IS_8BIT(smpl)   ((smpl)->SampleResolution&2)
 
#define WF_SET_CHANNEL(samp, chn)
 
#define WF_GET_CHANNEL(samp)   (((samp)->Unused3 << 2)|((samp)->Unused2<<1)|(samp)->Unused1)
 
#define WF_CHANNEL_STATUS(ch, wcp)   (wcp)[(ch/7)] & (1<<((ch)%7))
 
#define WAVEFRONT_FIND_FREE_SAMPLE_SLOT   999
 
#define WF_MAX_READ   sizeof(wavefront_multisample)
 
#define WF_MAX_WRITE   sizeof(wavefront_multisample)
 
#define WFCTL_WFCMD   0x1
 
#define WFCTL_LOAD_SPP   0x2
 
#define WF_MOD_LFO1   0
 
#define WF_MOD_LFO2   1
 
#define WF_MOD_ENV1   2
 
#define WF_MOD_ENV2   3
 
#define WF_MOD_KEYBOARD   4
 
#define WF_MOD_LOGKEY   5
 
#define WF_MOD_VELOCITY   6
 
#define WF_MOD_LOGVEL   7
 
#define WF_MOD_RANDOM   8
 
#define WF_MOD_PRESSURE   9
 
#define WF_MOD_MOD_WHEEL   10
 
#define WF_MOD_1   WF_MOD_MOD_WHEEL
 
#define WF_MOD_BREATH   11
 
#define WF_MOD_2   WF_MOD_BREATH
 
#define WF_MOD_FOOT   12
 
#define WF_MOD_4   WF_MOD_FOOT
 
#define WF_MOD_VOLUME   13
 
#define WF_MOD_7   WF_MOD_VOLUME
 
#define WF_MOD_PAN   14
 
#define WF_MOD_10   WF_MOD_PAN
 
#define WF_MOD_EXPR   15
 
#define WF_MOD_11   WF_MOD_EXPR
 
#define WFFX_SETOUTGAIN   0
 
#define WFFX_SETSTEREOOUTGAIN   1
 
#define WFFX_SETREVERBIN1GAIN   2
 
#define WFFX_SETREVERBIN2GAIN   3
 
#define WFFX_SETREVERBIN3GAIN   4
 
#define WFFX_SETCHORUSINPORT   5
 
#define WFFX_SETREVERBIN1PORT   6
 
#define WFFX_SETREVERBIN2PORT   7
 
#define WFFX_SETREVERBIN3PORT   8
 
#define WFFX_SETEFFECTPORT   9
 
#define WFFX_SETAUXPORT   10
 
#define WFFX_SETREVERBTYPE   11
 
#define WFFX_SETREVERBDELAY   12
 
#define WFFX_SETCHORUSLFO   13
 
#define WFFX_SETCHORUSPMD   14
 
#define WFFX_SETCHORUSAMD   15
 
#define WFFX_SETEFFECT   16
 
#define WFFX_SETBASEALL   17
 
#define WFFX_SETREVERBALL   18
 
#define WFFX_SETCHORUSALL   20
 
#define WFFX_SETREVERBDEF   22
 
#define WFFX_SETCHORUSDEF   23
 
#define WFFX_DELAYSETINGAIN   24
 
#define WFFX_DELAYSETFBGAIN   25
 
#define WFFX_DELAYSETFBLPF   26
 
#define WFFX_DELAYSETGAIN   27
 
#define WFFX_DELAYSETTIME   28
 
#define WFFX_DELAYSETFBTIME   29
 
#define WFFX_DELAYSETALL   30
 
#define WFFX_DELAYSETDEF   32
 
#define WFFX_SDELAYSETINGAIN   33
 
#define WFFX_SDELAYSETFBGAIN   34
 
#define WFFX_SDELAYSETFBLPF   35
 
#define WFFX_SDELAYSETGAIN   36
 
#define WFFX_SDELAYSETTIME   37
 
#define WFFX_SDELAYSETFBTIME   38
 
#define WFFX_SDELAYSETALL   39
 
#define WFFX_SDELAYSETDEF   41
 
#define WFFX_DEQSETINGAIN   42
 
#define WFFX_DEQSETFILTER   43
 
#define WFFX_DEQSETALL   44
 
#define WFFX_DEQSETDEF   46
 
#define WFFX_MUTE   47
 
#define WFFX_FLANGESETBALANCE   48
 
#define WFFX_FLANGESETDELAY   49
 
#define WFFX_FLANGESETDWFFX_TH   50
 
#define WFFX_FLANGESETFBGAIN   51
 
#define WFFX_FLANGESETINGAIN   52
 
#define WFFX_FLANGESETLFO   53
 
#define WFFX_FLANGESETALL   54
 
#define WFFX_FLANGESETDEF   56
 
#define WFFX_PITCHSETSHIFT   57
 
#define WFFX_PITCHSETBALANCE   58
 
#define WFFX_PITCHSETALL   59
 
#define WFFX_PITCHSETDEF   61
 
#define WFFX_SRSSETINGAIN   62
 
#define WFFX_SRSSETSPACE   63
 
#define WFFX_SRSSETCENTER   64
 
#define WFFX_SRSSETGAIN   65
 
#define WFFX_SRSSETMODE   66
 
#define WFFX_SRSSETDEF   68
 
#define WFFX_MEMSET   69
 

Typedefs

typedef unsigned short u16
 
typedef int s32
 
typedef unsigned int u32
 
typedef char s8
 
typedef unsigned char u8
 
typedef s16 INT16
 
typedef u16 UINT16
 
typedef s32 INT32
 
typedef u32 UINT32
 
typedef s8 CHAR8
 
typedef u8 UCHAR8
 
typedef struct wf_envelope wavefront_envelope
 
typedef struct wf_lfo wavefront_lfo
 
typedef struct wf_patch wavefront_patch
 
typedef struct wf_layer wavefront_layer
 
typedef struct wf_program wavefront_program
 
typedef struct wf_sample_offset wavefront_sample_offset
 
typedef struct wf_sample wavefront_sample
 
typedef struct wf_multisample wavefront_multisample
 
typedef struct wf_drum wavefront_drum
 
typedef struct wf_drumkit wavefront_drumkit
 
typedef struct wf_channel_programs wavefront_channel_programs
 
typedef union wf_any wavefront_any
 
typedef struct wf_patch_info wavefront_patch_info
 
typedef struct wavefront_control wavefront_control
 
typedef struct wf_fx_info wavefront_fx_info
 

Functions

You will not be able to
compile this file correctly
without because it is
necessary to pack the
wavefront_alias structure to a
size of corresponding to bit 
alignment (as would have been the case on the original platform, MS-DOS).If this is not done
 
You will not be able to
compile this file correctly
without because it is
necessary to pack the
wavefront_alias structure to a
size of corresponding to bit
then WavePatch format files
cannot be read written
correctly The method used to
do this 
here ("__attribute__((packed)") is completely compiler dependent.All other wavefront_ *types end up aligned to 32 bit values and still have the same(correct) size.typedef short s16
 
struct wf_alias __attribute__ ((packed)) wavefront_alias
 

Variables

You will not be able to
compile this file correctly
without 
gcc
 
You will not be able to
compile this file correctly
without because it is
necessary to pack the
wavefront_alias structure to a
size of 
bytes
 
s16 OriginalSample
 
struct wf_sample_offset sampleStartOffset
 
struct wf_sample_offset loopStartOffset
 
struct wf_sample_offset sampleEndOffset
 
struct wf_sample_offset loopEndOffset
 
s16 FrequencyBias
 
u8 SampleResolution
 
u8 Unused1
 
u8 Loop
 
u8 Bidirectional
 
u8 Unused2
 
u8 Reverse
 
u8 Unused3
 
u8 sixteen_bit_padding
 

Macro Definition Documentation

#define BankFileID   "Bank"

Definition at line 203 of file wavefront.h.

#define DrumkitFileID   "DrumKit"

Definition at line 204 of file wavefront.h.

#define LINEAR_16BIT   0

Definition at line 387 of file wavefront.h.

#define LINEAR_8BIT   2

Definition at line 389 of file wavefront.h.

#define MULAW_8BIT   3

Definition at line 390 of file wavefront.h.

#define NUM_MIDICHANNELS   16
#define NUM_MIDIKEYS   128
#define ProgramFileID   "Program"

Definition at line 205 of file wavefront.h.

#define WAVEFRONT_FIND_FREE_SAMPLE_SLOT   999

Definition at line 538 of file wavefront.h.

#define WF_ACK   0x80

Definition at line 164 of file wavefront.h.

#define WF_ALIAS_BYTES   25

Definition at line 160 of file wavefront.h.

#define WF_CH_LEFT   1

Definition at line 382 of file wavefront.h.

#define WF_CH_MONO   0

Definition at line 381 of file wavefront.h.

#define WF_CH_RIGHT   2

Definition at line 383 of file wavefront.h.

#define WF_CHANNEL_STATUS (   ch,
  wcp 
)    (wcp)[(ch/7)] & (1<<((ch)%7))

Definition at line 510 of file wavefront.h.

#define WF_DEBUG_CMD   0x1

Definition at line 190 of file wavefront.h.

#define WF_DEBUG_DATA   0x2

Definition at line 191 of file wavefront.h.

#define WF_DEBUG_IO   0x8

Definition at line 193 of file wavefront.h.

#define WF_DEBUG_LOAD_PATCH   0x4

Definition at line 192 of file wavefront.h.

#define WF_DMA_ACK   0x81

Definition at line 165 of file wavefront.h.

#define WF_DRUM_BYTES   9

Definition at line 161 of file wavefront.h.

#define WF_EXTERNAL_MIDI_SLOT   2

Definition at line 177 of file wavefront.h.

#define WF_EXTERNAL_SWITCH   0xFD

Definition at line 185 of file wavefront.h.

#define WF_GET_CHANNEL (   samp)    (((samp)->Unused3 << 2)|((samp)->Unused2<<1)|(samp)->Unused1)

Definition at line 433 of file wavefront.h.

#define WF_INTERNAL_MIDI_SLOT   1

Definition at line 176 of file wavefront.h.

#define WF_INTERNAL_SWITCH   0xF9

Definition at line 186 of file wavefront.h.

#define WF_MAX_COMMENT   64 /* Comment length */

Definition at line 198 of file wavefront.h.

#define WF_MAX_PATCH   256

Definition at line 147 of file wavefront.h.

#define WF_MAX_PROGRAM   128

Definition at line 148 of file wavefront.h.

#define WF_MAX_READ   sizeof(wavefront_multisample)

Definition at line 568 of file wavefront.h.

#define WF_MAX_SAMPLE   512

Definition at line 146 of file wavefront.h.

#define WF_MAX_WRITE   sizeof(wavefront_multisample)

Definition at line 569 of file wavefront.h.

#define WF_MIDI_IN_TO_SYNTH_DISABLED   0x4

Definition at line 171 of file wavefront.h.

#define WF_MIDI_VIRTUAL_ENABLED   0x1

Definition at line 169 of file wavefront.h.

#define WF_MIDI_VIRTUAL_IS_EXTERNAL   0x2

Definition at line 170 of file wavefront.h.

#define WF_MOD_1   WF_MOD_MOD_WHEEL

Definition at line 600 of file wavefront.h.

#define WF_MOD_10   WF_MOD_PAN

Definition at line 608 of file wavefront.h.

#define WF_MOD_11   WF_MOD_EXPR

Definition at line 610 of file wavefront.h.

#define WF_MOD_2   WF_MOD_BREATH

Definition at line 602 of file wavefront.h.

#define WF_MOD_4   WF_MOD_FOOT

Definition at line 604 of file wavefront.h.

#define WF_MOD_7   WF_MOD_VOLUME

Definition at line 606 of file wavefront.h.

#define WF_MOD_BREATH   11

Definition at line 601 of file wavefront.h.

#define WF_MOD_ENV1   2

Definition at line 591 of file wavefront.h.

#define WF_MOD_ENV2   3

Definition at line 592 of file wavefront.h.

#define WF_MOD_EXPR   15

Definition at line 609 of file wavefront.h.

#define WF_MOD_FOOT   12

Definition at line 603 of file wavefront.h.

#define WF_MOD_KEYBOARD   4

Definition at line 593 of file wavefront.h.

#define WF_MOD_LFO1   0

Definition at line 589 of file wavefront.h.

#define WF_MOD_LFO2   1

Definition at line 590 of file wavefront.h.

#define WF_MOD_LOGKEY   5

Definition at line 594 of file wavefront.h.

#define WF_MOD_LOGVEL   7

Definition at line 596 of file wavefront.h.

#define WF_MOD_MOD_WHEEL   10

Definition at line 599 of file wavefront.h.

#define WF_MOD_PAN   14

Definition at line 607 of file wavefront.h.

#define WF_MOD_PRESSURE   9

Definition at line 598 of file wavefront.h.

#define WF_MOD_RANDOM   8

Definition at line 597 of file wavefront.h.

#define WF_MOD_VELOCITY   6

Definition at line 595 of file wavefront.h.

#define WF_MOD_VOLUME   13

Definition at line 605 of file wavefront.h.

#define WF_MSAMPLE_BYTES   259 /* (MIDI_KEYS * 2) + 3 */

Definition at line 162 of file wavefront.h.

#define WF_NAME_LENGTH   32

Definition at line 200 of file wavefront.h.

#define WF_NUM_LAYERS   4

Definition at line 199 of file wavefront.h.

#define WF_PATCH_BYTES   132

Definition at line 157 of file wavefront.h.

#define WF_PROGRAM_BYTES   32

Definition at line 156 of file wavefront.h.

#define WF_SAMPLE_BYTES   27

Definition at line 158 of file wavefront.h.

#define WF_SAMPLE_HDR_BYTES   25

Definition at line 159 of file wavefront.h.

#define WF_SAMPLE_IS_8BIT (   smpl)    ((smpl)->SampleResolution&2)

Definition at line 392 of file wavefront.h.

#define WF_SECTION_MAX   44 /* longest OS section length */

Definition at line 150 of file wavefront.h.

#define WF_SET_CHANNEL (   samp,
  chn 
)
Value:
(samp)->Unused1 = chn & 0x1; \
(samp)->Unused2 = chn & 0x2; \
(samp)->Unused3 = chn & 0x4

Definition at line 428 of file wavefront.h.

#define WF_SLOT_FILLED   0x40

Definition at line 374 of file wavefront.h.

#define WF_SLOT_MASK   0xf0

Definition at line 377 of file wavefront.h.

#define WF_SLOT_ROM   0x20

Definition at line 375 of file wavefront.h.

#define WF_SLOT_USED   0x80 /* XXX don't rely on this being accurate */

Definition at line 373 of file wavefront.h.

#define WF_SOURCE_LENGTH   260

Definition at line 201 of file wavefront.h.

#define WF_ST_ALIAS   2

Definition at line 357 of file wavefront.h.

#define WF_ST_DRUM   4

Definition at line 362 of file wavefront.h.

#define WF_ST_EMPTY   3

Definition at line 358 of file wavefront.h.

#define WF_ST_MASK   0xf

Definition at line 367 of file wavefront.h.

#define WF_ST_MULTISAMPLE   1

Definition at line 356 of file wavefront.h.

#define WF_ST_PATCH   6

Definition at line 364 of file wavefront.h.

#define WF_ST_PROGRAM   5

Definition at line 363 of file wavefront.h.

#define WF_ST_SAMPLE   0

Definition at line 355 of file wavefront.h.

#define WF_ST_SAMPLEHDR   7

Definition at line 365 of file wavefront.h.

#define WF_SYNTH_SLOT   0

Definition at line 175 of file wavefront.h.

#define WF_WAVEPATCH_VERSION   120; /* Current version number (1.2) */

Definition at line 197 of file wavefront.h.

#define WFC_DEBUG_DRIVER   0

Definition at line 88 of file wavefront.h.

#define WFC_DELETE_SAMPLE   0x84

Definition at line 106 of file wavefront.h.

#define WFC_DISABLE_CHANNEL   0x9A

Definition at line 115 of file wavefront.h.

#define WFC_DISABLE_DRUM_PROGRAM   0xA2

Definition at line 121 of file wavefront.h.

#define WFC_DISABLE_INTERRUPTS   5

Definition at line 93 of file wavefront.h.

#define WFC_DOWNLOAD_BLOCK   0x81

Definition at line 103 of file wavefront.h.

#define WFC_DOWNLOAD_DRUM   0x90

Definition at line 112 of file wavefront.h.

#define WFC_DOWNLOAD_EDRUM_PROGRAM   0xB1

Definition at line 135 of file wavefront.h.

#define WFC_DOWNLOAD_MULTISAMPLE   0x82

Definition at line 104 of file wavefront.h.

#define WFC_DOWNLOAD_OS   0xF1

Definition at line 143 of file wavefront.h.

#define WFC_DOWNLOAD_PATCH   0x86

Definition at line 108 of file wavefront.h.

#define WFC_DOWNLOAD_PROGRAM   0x87

Definition at line 109 of file wavefront.h.

#define WFC_DOWNLOAD_SAMPLE   0x80

Definition at line 102 of file wavefront.h.

#define WFC_DOWNLOAD_SAMPLE_ALIAS   0x83

Definition at line 105 of file wavefront.h.

#define WFC_DOWNLOAD_SAMPLE_HEADER   0xAC

Definition at line 130 of file wavefront.h.

#define WFC_ENABLE_CHANNEL   0x9B

Definition at line 116 of file wavefront.h.

#define WFC_ENABLE_INTERRUPTS   6

Definition at line 94 of file wavefront.h.

#define WFC_FIRMWARE_VERSION   0x9F

Definition at line 119 of file wavefront.h.

#define WFC_FX_IOCTL   1

Definition at line 89 of file wavefront.h.

#define WFC_GET_CHANNEL_STATUS   0xAB

Definition at line 129 of file wavefront.h.

#define WFC_GET_NSAMPLES   0xA0

Definition at line 120 of file wavefront.h.

#define WFC_GET_NVOICES   0x94

Definition at line 114 of file wavefront.h.

#define WFC_GET_SYNTHVOL   0x92

Definition at line 113 of file wavefront.h.

#define WFC_GET_TUNING   0xA7

Definition at line 125 of file wavefront.h.

#define WFC_HARDWARE_VERSION   0xCF

Definition at line 141 of file wavefront.h.

#define WFC_IDENTIFY_SAMPLE_TYPE   0xB0

Definition at line 134 of file wavefront.h.

#define WFC_IDENTIFY_SLOT_TYPE   9

Definition at line 97 of file wavefront.h.

#define WFC_INSTOUT_LEVELS   0xB4

Definition at line 138 of file wavefront.h.

#define WFC_INTERRUPT_STATUS   7

Definition at line 95 of file wavefront.h.

#define WFC_MIDI_STATUS   0xAA

Definition at line 128 of file wavefront.h.

#define WFC_MISYNTH_OFF   0x9D

Definition at line 117 of file wavefront.h.

#define WFC_MISYNTH_ON   0x9E

Definition at line 118 of file wavefront.h.

#define WFC_NOOP   0xFF

Definition at line 144 of file wavefront.h.

#define WFC_PATCH_STATUS   2

Definition at line 90 of file wavefront.h.

#define WFC_PEAKOUT_LEVELS   0xB5

Definition at line 139 of file wavefront.h.

#define WFC_PROGRAM_STATUS   3

Definition at line 91 of file wavefront.h.

#define WFC_REPORT_CHANNEL_PROGRAMS   0xB6

Definition at line 140 of file wavefront.h.

#define WFC_REPORT_FREE_MEMORY   0x85

Definition at line 107 of file wavefront.h.

#define WFC_ROMSAMPLES_RDONLY   8

Definition at line 96 of file wavefront.h.

#define WFC_SAMPLE_STATUS   4

Definition at line 92 of file wavefront.h.

#define WFC_SET_EDRUM_CHANNEL   0xB3

Definition at line 137 of file wavefront.h.

#define WFC_SET_NVOICES   0x8B

Definition at line 111 of file wavefront.h.

#define WFC_SET_SYNTHVOL   0x89

Definition at line 110 of file wavefront.h.

#define WFC_SET_TUNING   0xA6

Definition at line 124 of file wavefront.h.

#define WFC_UPLOAD_EDRUM_PROGRAM   0xB2

Definition at line 136 of file wavefront.h.

#define WFC_UPLOAD_MULTISAMPLE   0xAE

Definition at line 132 of file wavefront.h.

#define WFC_UPLOAD_PATCH   0xA3

Definition at line 122 of file wavefront.h.

#define WFC_UPLOAD_PROGRAM   0xA4

Definition at line 123 of file wavefront.h.

#define WFC_UPLOAD_SAMPLE_ALIAS   0xAF

Definition at line 133 of file wavefront.h.

#define WFC_UPLOAD_SAMPLE_HEADER   0xAD

Definition at line 131 of file wavefront.h.

#define WFC_UPLOAD_SAMPLE_PARAMS   0xD7

Definition at line 142 of file wavefront.h.

#define WFC_VMIDI_OFF   0xA9

Definition at line 127 of file wavefront.h.

#define WFC_VMIDI_ON   0xA8

Definition at line 126 of file wavefront.h.

#define WFCTL_LOAD_SPP   0x2

Definition at line 585 of file wavefront.h.

#define WFCTL_WFCMD   0x1

Definition at line 584 of file wavefront.h.

#define WFFX_DELAYSETALL   30

Definition at line 654 of file wavefront.h.

#define WFFX_DELAYSETDEF   32

Definition at line 655 of file wavefront.h.

#define WFFX_DELAYSETFBGAIN   25

Definition at line 649 of file wavefront.h.

#define WFFX_DELAYSETFBLPF   26

Definition at line 650 of file wavefront.h.

#define WFFX_DELAYSETFBTIME   29

Definition at line 653 of file wavefront.h.

#define WFFX_DELAYSETGAIN   27

Definition at line 651 of file wavefront.h.

#define WFFX_DELAYSETINGAIN   24

Definition at line 648 of file wavefront.h.

#define WFFX_DELAYSETTIME   28

Definition at line 652 of file wavefront.h.

#define WFFX_DEQSETALL   44

Definition at line 666 of file wavefront.h.

#define WFFX_DEQSETDEF   46

Definition at line 667 of file wavefront.h.

#define WFFX_DEQSETFILTER   43

Definition at line 665 of file wavefront.h.

#define WFFX_DEQSETINGAIN   42

Definition at line 664 of file wavefront.h.

#define WFFX_FLANGESETALL   54

Definition at line 675 of file wavefront.h.

#define WFFX_FLANGESETBALANCE   48

Definition at line 669 of file wavefront.h.

#define WFFX_FLANGESETDEF   56

Definition at line 676 of file wavefront.h.

#define WFFX_FLANGESETDELAY   49

Definition at line 670 of file wavefront.h.

#define WFFX_FLANGESETDWFFX_TH   50

Definition at line 671 of file wavefront.h.

#define WFFX_FLANGESETFBGAIN   51

Definition at line 672 of file wavefront.h.

#define WFFX_FLANGESETINGAIN   52

Definition at line 673 of file wavefront.h.

#define WFFX_FLANGESETLFO   53

Definition at line 674 of file wavefront.h.

#define WFFX_MEMSET   69

Definition at line 693 of file wavefront.h.

#define WFFX_MUTE   47

Definition at line 668 of file wavefront.h.

#define WFFX_PITCHSETALL   59

Definition at line 679 of file wavefront.h.

#define WFFX_PITCHSETBALANCE   58

Definition at line 678 of file wavefront.h.

#define WFFX_PITCHSETDEF   61

Definition at line 680 of file wavefront.h.

#define WFFX_PITCHSETSHIFT   57

Definition at line 677 of file wavefront.h.

#define WFFX_SDELAYSETALL   39

Definition at line 662 of file wavefront.h.

#define WFFX_SDELAYSETDEF   41

Definition at line 663 of file wavefront.h.

#define WFFX_SDELAYSETFBGAIN   34

Definition at line 657 of file wavefront.h.

#define WFFX_SDELAYSETFBLPF   35

Definition at line 658 of file wavefront.h.

#define WFFX_SDELAYSETFBTIME   38

Definition at line 661 of file wavefront.h.

#define WFFX_SDELAYSETGAIN   36

Definition at line 659 of file wavefront.h.

#define WFFX_SDELAYSETINGAIN   33

Definition at line 656 of file wavefront.h.

#define WFFX_SDELAYSETTIME   37

Definition at line 660 of file wavefront.h.

#define WFFX_SETAUXPORT   10

Definition at line 636 of file wavefront.h.

#define WFFX_SETBASEALL   17

Definition at line 643 of file wavefront.h.

#define WFFX_SETCHORUSALL   20

Definition at line 645 of file wavefront.h.

#define WFFX_SETCHORUSAMD   15

Definition at line 641 of file wavefront.h.

#define WFFX_SETCHORUSDEF   23

Definition at line 647 of file wavefront.h.

#define WFFX_SETCHORUSINPORT   5

Definition at line 631 of file wavefront.h.

#define WFFX_SETCHORUSLFO   13

Definition at line 639 of file wavefront.h.

#define WFFX_SETCHORUSPMD   14

Definition at line 640 of file wavefront.h.

#define WFFX_SETEFFECT   16

Definition at line 642 of file wavefront.h.

#define WFFX_SETEFFECTPORT   9

Definition at line 635 of file wavefront.h.

#define WFFX_SETOUTGAIN   0

Definition at line 626 of file wavefront.h.

#define WFFX_SETREVERBALL   18

Definition at line 644 of file wavefront.h.

#define WFFX_SETREVERBDEF   22

Definition at line 646 of file wavefront.h.

#define WFFX_SETREVERBDELAY   12

Definition at line 638 of file wavefront.h.

#define WFFX_SETREVERBIN1GAIN   2

Definition at line 628 of file wavefront.h.

#define WFFX_SETREVERBIN1PORT   6

Definition at line 632 of file wavefront.h.

#define WFFX_SETREVERBIN2GAIN   3

Definition at line 629 of file wavefront.h.

#define WFFX_SETREVERBIN2PORT   7

Definition at line 633 of file wavefront.h.

#define WFFX_SETREVERBIN3GAIN   4

Definition at line 630 of file wavefront.h.

#define WFFX_SETREVERBIN3PORT   8

Definition at line 634 of file wavefront.h.

#define WFFX_SETREVERBTYPE   11

Definition at line 637 of file wavefront.h.

#define WFFX_SETSTEREOOUTGAIN   1

Definition at line 627 of file wavefront.h.

#define WFFX_SRSSETCENTER   64

Definition at line 683 of file wavefront.h.

#define WFFX_SRSSETDEF   68

Definition at line 686 of file wavefront.h.

#define WFFX_SRSSETGAIN   65

Definition at line 684 of file wavefront.h.

#define WFFX_SRSSETINGAIN   62

Definition at line 681 of file wavefront.h.

#define WFFX_SRSSETMODE   66

Definition at line 685 of file wavefront.h.

#define WFFX_SRSSETSPACE   63

Definition at line 682 of file wavefront.h.

#define WHITE_NOISE   1

Definition at line 388 of file wavefront.h.

Typedef Documentation

typedef s8 CHAR8

Definition at line 79 of file wavefront.h.

typedef s16 INT16

Definition at line 75 of file wavefront.h.

typedef s32 INT32

Definition at line 77 of file wavefront.h.

typedef int s32

Definition at line 71 of file wavefront.h.

typedef char s8

Definition at line 73 of file wavefront.h.

typedef unsigned short u16

Definition at line 70 of file wavefront.h.

typedef unsigned int u32

Definition at line 72 of file wavefront.h.

typedef unsigned char u8

Definition at line 74 of file wavefront.h.

typedef u8 UCHAR8

Definition at line 80 of file wavefront.h.

typedef u16 UINT16

Definition at line 76 of file wavefront.h.

typedef u32 UINT32

Definition at line 78 of file wavefront.h.

typedef union wf_any wavefront_any

Definition at line 242 of file wavefront.h.

Definition at line 337 of file wavefront.h.

Definition at line 265 of file wavefront.h.

Definition at line 320 of file wavefront.h.

Definition at line 343 of file wavefront.h.

Definition at line 351 of file wavefront.h.

Function Documentation

struct wf_alias __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

You will not be able to compile this file correctly without because it is necessary to pack the wavefront_alias structure to a size of corresponding to bit alignment ( as would have been the case on the original  platform,
MS DOS 
)
You will not be able to compile this file correctly without because it is necessary to pack the wavefront_alias structure to a size of corresponding to bit then WavePatch format files cannot be read written correctly The method used to do this here ( )

Variable Documentation

u8 Bidirectional

Definition at line 497 of file wavefront.h.

You will not be able to compile this file correctly without because it is necessary to pack the wavefront_alias structure to a size of bytes

Definition at line 26 of file wavefront.h.

s16 FrequencyBias

Definition at line 492 of file wavefront.h.

You will not be able to compile this file correctly without gcc

Definition at line 26 of file wavefront.h.

u8 Loop

Definition at line 496 of file wavefront.h.

struct wf_sample_offset loopEndOffset

Definition at line 490 of file wavefront.h.

struct wf_sample_offset loopStartOffset

Definition at line 488 of file wavefront.h.

s16 OriginalSample

Definition at line 485 of file wavefront.h.

u8 Reverse

Definition at line 499 of file wavefront.h.

struct wf_sample_offset sampleEndOffset

Definition at line 489 of file wavefront.h.

u8 SampleResolution

Definition at line 494 of file wavefront.h.

struct wf_sample_offset sampleStartOffset

Definition at line 487 of file wavefront.h.

u8 sixteen_bit_padding

Definition at line 511 of file wavefront.h.

u8 Unused1

Definition at line 495 of file wavefront.h.

u8 Unused2

Definition at line 498 of file wavefront.h.

u8 Unused3

Definition at line 500 of file wavefront.h.