#ifndef __SOUND_WAVEFRONT_H__
#define __SOUND_WAVEFRONT_H__
#ifndef NUM_MIDIKEYS
#define NUM_MIDIKEYS …
#endif
#ifndef NUM_MIDICHANNELS
#define NUM_MIDICHANNELS …
#endif
#define WFC_DEBUG_DRIVER …
#define WFC_FX_IOCTL …
#define WFC_PATCH_STATUS …
#define WFC_PROGRAM_STATUS …
#define WFC_SAMPLE_STATUS …
#define WFC_DISABLE_INTERRUPTS …
#define WFC_ENABLE_INTERRUPTS …
#define WFC_INTERRUPT_STATUS …
#define WFC_ROMSAMPLES_RDONLY …
#define WFC_IDENTIFY_SLOT_TYPE …
#define WFC_DOWNLOAD_SAMPLE …
#define WFC_DOWNLOAD_BLOCK …
#define WFC_DOWNLOAD_MULTISAMPLE …
#define WFC_DOWNLOAD_SAMPLE_ALIAS …
#define WFC_DELETE_SAMPLE …
#define WFC_REPORT_FREE_MEMORY …
#define WFC_DOWNLOAD_PATCH …
#define WFC_DOWNLOAD_PROGRAM …
#define WFC_SET_SYNTHVOL …
#define WFC_SET_NVOICES …
#define WFC_DOWNLOAD_DRUM …
#define WFC_GET_SYNTHVOL …
#define WFC_GET_NVOICES …
#define WFC_DISABLE_CHANNEL …
#define WFC_ENABLE_CHANNEL …
#define WFC_MISYNTH_OFF …
#define WFC_MISYNTH_ON …
#define WFC_FIRMWARE_VERSION …
#define WFC_GET_NSAMPLES …
#define WFC_DISABLE_DRUM_PROGRAM …
#define WFC_UPLOAD_PATCH …
#define WFC_UPLOAD_PROGRAM …
#define WFC_SET_TUNING …
#define WFC_GET_TUNING …
#define WFC_VMIDI_ON …
#define WFC_VMIDI_OFF …
#define WFC_MIDI_STATUS …
#define WFC_GET_CHANNEL_STATUS …
#define WFC_DOWNLOAD_SAMPLE_HEADER …
#define WFC_UPLOAD_SAMPLE_HEADER …
#define WFC_UPLOAD_MULTISAMPLE …
#define WFC_UPLOAD_SAMPLE_ALIAS …
#define WFC_IDENTIFY_SAMPLE_TYPE …
#define WFC_DOWNLOAD_EDRUM_PROGRAM …
#define WFC_UPLOAD_EDRUM_PROGRAM …
#define WFC_SET_EDRUM_CHANNEL …
#define WFC_INSTOUT_LEVELS …
#define WFC_PEAKOUT_LEVELS …
#define WFC_REPORT_CHANNEL_PROGRAMS …
#define WFC_HARDWARE_VERSION …
#define WFC_UPLOAD_SAMPLE_PARAMS …
#define WFC_DOWNLOAD_OS …
#define WFC_NOOP …
#define WF_MAX_SAMPLE …
#define WF_MAX_PATCH …
#define WF_MAX_PROGRAM …
#define WF_SECTION_MAX …
#define WF_PROGRAM_BYTES …
#define WF_PATCH_BYTES …
#define WF_SAMPLE_BYTES …
#define WF_SAMPLE_HDR_BYTES …
#define WF_ALIAS_BYTES …
#define WF_DRUM_BYTES …
#define WF_MSAMPLE_BYTES …
#define WF_ACK …
#define WF_DMA_ACK …
#define WF_MIDI_VIRTUAL_ENABLED …
#define WF_MIDI_VIRTUAL_IS_EXTERNAL …
#define WF_MIDI_IN_TO_SYNTH_DISABLED …
#define WF_SYNTH_SLOT …
#define WF_INTERNAL_MIDI_SLOT …
#define WF_EXTERNAL_MIDI_SLOT …
#define WF_EXTERNAL_SWITCH …
#define WF_INTERNAL_SWITCH …
#define WF_DEBUG_CMD …
#define WF_DEBUG_DATA …
#define WF_DEBUG_LOAD_PATCH …
#define WF_DEBUG_IO …
#define WF_WAVEPATCH_VERSION …
#define WF_MAX_COMMENT …
#define WF_NUM_LAYERS …
#define WF_NAME_LENGTH …
#define WF_SOURCE_LENGTH …
#define BankFileID …
#define DrumkitFileID …
#define ProgramFileID …
struct wf_envelope
{ … };
wavefront_envelope;
struct wf_lfo
{ … };
wavefront_lfo;
struct wf_patch
{ … };
wavefront_patch;
struct wf_layer
{ … };
wavefront_layer;
struct wf_program
{ … };
wavefront_program;
struct wf_sample_offset
{ … };
wavefront_sample_offset;
#define WF_ST_SAMPLE …
#define WF_ST_MULTISAMPLE …
#define WF_ST_ALIAS …
#define WF_ST_EMPTY …
#define WF_ST_DRUM …
#define WF_ST_PROGRAM …
#define WF_ST_PATCH …
#define WF_ST_SAMPLEHDR …
#define WF_ST_MASK …
#define WF_SLOT_USED …
#define WF_SLOT_FILLED …
#define WF_SLOT_ROM …
#define WF_SLOT_MASK …
#define WF_CH_MONO …
#define WF_CH_LEFT …
#define WF_CH_RIGHT …
#define LINEAR_16BIT …
#define WHITE_NOISE …
#define LINEAR_8BIT …
#define MULAW_8BIT …
#define WF_SAMPLE_IS_8BIT(smpl) …
#define WF_SET_CHANNEL(samp,chn) …
#define WF_GET_CHANNEL(samp) …
wavefront_sample;
wavefront_multisample;
wavefront_alias;
wavefront_drum;
wavefront_drumkit;
wavefront_channel_programs;
#define WF_CHANNEL_STATUS(ch,wcp) …
wavefront_any;
wavefront_patch_info;
#define WF_MAX_READ …
#define WF_MAX_WRITE …
wavefront_control;
#define WFCTL_WFCMD …
#define WFCTL_LOAD_SPP …
#define WF_MOD_LFO1 …
#define WF_MOD_LFO2 …
#define WF_MOD_ENV1 …
#define WF_MOD_ENV2 …
#define WF_MOD_KEYBOARD …
#define WF_MOD_LOGKEY …
#define WF_MOD_VELOCITY …
#define WF_MOD_LOGVEL …
#define WF_MOD_RANDOM …
#define WF_MOD_PRESSURE …
#define WF_MOD_MOD_WHEEL …
#define WF_MOD_1 …
#define WF_MOD_BREATH …
#define WF_MOD_2 …
#define WF_MOD_FOOT …
#define WF_MOD_4 …
#define WF_MOD_VOLUME …
#define WF_MOD_7 …
#define WF_MOD_PAN …
#define WF_MOD_10 …
#define WF_MOD_EXPR …
#define WF_MOD_11 …
wavefront_fx_info;
#define WFFX_SETOUTGAIN …
#define WFFX_SETSTEREOOUTGAIN …
#define WFFX_SETREVERBIN1GAIN …
#define WFFX_SETREVERBIN2GAIN …
#define WFFX_SETREVERBIN3GAIN …
#define WFFX_SETCHORUSINPORT …
#define WFFX_SETREVERBIN1PORT …
#define WFFX_SETREVERBIN2PORT …
#define WFFX_SETREVERBIN3PORT …
#define WFFX_SETEFFECTPORT …
#define WFFX_SETAUXPORT …
#define WFFX_SETREVERBTYPE …
#define WFFX_SETREVERBDELAY …
#define WFFX_SETCHORUSLFO …
#define WFFX_SETCHORUSPMD …
#define WFFX_SETCHORUSAMD …
#define WFFX_SETEFFECT …
#define WFFX_SETBASEALL …
#define WFFX_SETREVERBALL …
#define WFFX_SETCHORUSALL …
#define WFFX_SETREVERBDEF …
#define WFFX_SETCHORUSDEF …
#define WFFX_DELAYSETINGAIN …
#define WFFX_DELAYSETFBGAIN …
#define WFFX_DELAYSETFBLPF …
#define WFFX_DELAYSETGAIN …
#define WFFX_DELAYSETTIME …
#define WFFX_DELAYSETFBTIME …
#define WFFX_DELAYSETALL …
#define WFFX_DELAYSETDEF …
#define WFFX_SDELAYSETINGAIN …
#define WFFX_SDELAYSETFBGAIN …
#define WFFX_SDELAYSETFBLPF …
#define WFFX_SDELAYSETGAIN …
#define WFFX_SDELAYSETTIME …
#define WFFX_SDELAYSETFBTIME …
#define WFFX_SDELAYSETALL …
#define WFFX_SDELAYSETDEF …
#define WFFX_DEQSETINGAIN …
#define WFFX_DEQSETFILTER …
#define WFFX_DEQSETALL …
#define WFFX_DEQSETDEF …
#define WFFX_MUTE …
#define WFFX_FLANGESETBALANCE …
#define WFFX_FLANGESETDELAY …
#define WFFX_FLANGESETDWFFX_TH …
#define WFFX_FLANGESETFBGAIN …
#define WFFX_FLANGESETINGAIN …
#define WFFX_FLANGESETLFO …
#define WFFX_FLANGESETALL …
#define WFFX_FLANGESETDEF …
#define WFFX_PITCHSETSHIFT …
#define WFFX_PITCHSETBALANCE …
#define WFFX_PITCHSETALL …
#define WFFX_PITCHSETDEF …
#define WFFX_SRSSETINGAIN …
#define WFFX_SRSSETSPACE …
#define WFFX_SRSSETCENTER …
#define WFFX_SRSSETGAIN …
#define WFFX_SRSSETMODE …
#define WFFX_SRSSETDEF …
#define WFFX_MEMSET …
#endif