require '_h2ph_pre.ph';

unless(defined(&AWE_VOICE_H)) {
    eval 'sub AWE_VOICE_H () {1;}' unless defined(&AWE_VOICE_H);
    unless(defined(&SAMPLE_TYPE_AWE32)) {
	eval 'sub SAMPLE_TYPE_AWE32 () {0x20;}' unless defined(&SAMPLE_TYPE_AWE32);
    }
    unless(defined(&_PATCHKEY)) {
	eval 'sub _PATCHKEY {
	    local($id) = @_;
    	    eval q((($id<<8)|0xfd));
	}' unless defined(&_PATCHKEY);
    }
    eval 'sub AWE_PATCH () { &_PATCHKEY(0x7);}' unless defined(&AWE_PATCH);
    eval 'sub AWE_LOAD_INFO () {0;}' unless defined(&AWE_LOAD_INFO);
    eval 'sub AWE_LOAD_DATA () {1;}' unless defined(&AWE_LOAD_DATA);
    eval 'sub AWE_OPEN_PATCH () {2;}' unless defined(&AWE_OPEN_PATCH);
    eval 'sub AWE_CLOSE_PATCH () {3;}' unless defined(&AWE_CLOSE_PATCH);
    eval 'sub AWE_UNLOAD_PATCH () {4;}' unless defined(&AWE_UNLOAD_PATCH);
    eval 'sub AWE_REPLACE_DATA () {5;}' unless defined(&AWE_REPLACE_DATA);
    eval 'sub AWE_MAP_PRESET () {6;}' unless defined(&AWE_MAP_PRESET);
    eval 'sub AWE_PROBE_DATA () {8;}' unless defined(&AWE_PROBE_DATA);
    eval 'sub AWE_REMOVE_INFO () {9;}' unless defined(&AWE_REMOVE_INFO);
    eval 'sub AWE_LOAD_CHORUS_FX () {0x10;}' unless defined(&AWE_LOAD_CHORUS_FX);
    eval 'sub AWE_LOAD_REVERB_FX () {0x11;}' unless defined(&AWE_LOAD_REVERB_FX);
    if(defined( &AWE_COMPAT_030)  && (defined(&AWE_COMPAT_030) ? &AWE_COMPAT_030 : 0)) {
    }
    eval 'sub AWE_PATCH_INFO_SIZE () {$sizeof{ &awe_patch_info};}' unless defined(&AWE_PATCH_INFO_SIZE);
    eval 'sub AWE_PATCH_NAME_LEN () {32;}' unless defined(&AWE_PATCH_NAME_LEN);
    eval 'sub AWE_PAT_TYPE_MISC () {0;}' unless defined(&AWE_PAT_TYPE_MISC);
    eval 'sub AWE_PAT_TYPE_GM () {1;}' unless defined(&AWE_PAT_TYPE_GM);
    eval 'sub AWE_PAT_TYPE_GS () {2;}' unless defined(&AWE_PAT_TYPE_GS);
    eval 'sub AWE_PAT_TYPE_MT32 () {3;}' unless defined(&AWE_PAT_TYPE_MT32);
    eval 'sub AWE_PAT_TYPE_XG () {4;}' unless defined(&AWE_PAT_TYPE_XG);
    eval 'sub AWE_PAT_TYPE_SFX () {5;}' unless defined(&AWE_PAT_TYPE_SFX);
    eval 'sub AWE_PAT_TYPE_GUS () {6;}' unless defined(&AWE_PAT_TYPE_GUS);
    eval 'sub AWE_PAT_TYPE_MAP () {7;}' unless defined(&AWE_PAT_TYPE_MAP);
    eval 'sub AWE_PAT_LOCKED () {0x100;}' unless defined(&AWE_PAT_LOCKED);
    eval 'sub AWE_PAT_SHARED () {0x200;}' unless defined(&AWE_PAT_SHARED);
    eval 'sub AWE_OPEN_PARM_SIZE () {$sizeof{ &awe_open_parm};}' unless defined(&AWE_OPEN_PARM_SIZE);
    eval 'sub AWE_VOICE_PARM_SIZE () {48;}' unless defined(&AWE_VOICE_PARM_SIZE);
    eval 'sub AWE_MODE_ROMSOUND () {0x8000;}' unless defined(&AWE_MODE_ROMSOUND);
    eval 'sub AWE_MODE_STEREO () {1;}' unless defined(&AWE_MODE_STEREO);
    eval 'sub AWE_MODE_LOOPING () {2;}' unless defined(&AWE_MODE_LOOPING);
    eval 'sub AWE_MODE_NORELEASE () {4;}' unless defined(&AWE_MODE_NORELEASE);
    eval 'sub AWE_MODE_INIT_PARM () {8;}' unless defined(&AWE_MODE_INIT_PARM);
    eval 'sub AWE_VOICE_INFO_SIZE () {$sizeof{ &awe_voice_info};}' unless defined(&AWE_VOICE_INFO_SIZE);
    eval 'sub AWE_WR_APPEND () {0;}' unless defined(&AWE_WR_APPEND);
    eval 'sub AWE_WR_EXCLUSIVE () {1;}' unless defined(&AWE_WR_EXCLUSIVE);
    eval 'sub AWE_WR_REPLACE () {2;}' unless defined(&AWE_WR_REPLACE);
    eval 'sub AWE_VOICE_REC_SIZE () {$sizeof{ &awe_voice_rec_hdr};}' unless defined(&AWE_VOICE_REC_SIZE);
    if(defined( &AWE_COMPAT_030)  && (defined(&AWE_COMPAT_030) ? &AWE_COMPAT_030 : 0)) {
	eval 'sub AWE_INFOARRAY_SIZE () {0;}' unless defined(&AWE_INFOARRAY_SIZE);
    } else {
	eval 'sub AWE_INFOARRAY_SIZE () {1;}' unless defined(&AWE_INFOARRAY_SIZE);
    }
    eval 'sub AWE_SAMPLE_8BITS () {1;}' unless defined(&AWE_SAMPLE_8BITS);
    eval 'sub AWE_SAMPLE_UNSIGNED () {2;}' unless defined(&AWE_SAMPLE_UNSIGNED);
    eval 'sub AWE_SAMPLE_NO_BLANK () {4;}' unless defined(&AWE_SAMPLE_NO_BLANK);
    eval 'sub AWE_SAMPLE_SINGLESHOT () {8;}' unless defined(&AWE_SAMPLE_SINGLESHOT);
    eval 'sub AWE_SAMPLE_BIDIR_LOOP () {16;}' unless defined(&AWE_SAMPLE_BIDIR_LOOP);
    eval 'sub AWE_SAMPLE_STEREO_LEFT () {32;}' unless defined(&AWE_SAMPLE_STEREO_LEFT);
    eval 'sub AWE_SAMPLE_STEREO_RIGHT () {64;}' unless defined(&AWE_SAMPLE_STEREO_RIGHT);
    eval 'sub AWE_SAMPLE_REVERSE_LOOP () {128;}' unless defined(&AWE_SAMPLE_REVERSE_LOOP);
    if(defined( &AWE_COMPAT_030)  && (defined(&AWE_COMPAT_030) ? &AWE_COMPAT_030 : 0)) {
    }
    eval 'sub AWE_SAMPLE_INFO_SIZE () {$sizeof{ &awe_sample_info};}' unless defined(&AWE_SAMPLE_INFO_SIZE);
    eval 'sub AWE_VOICE_MAP_SIZE () {$sizeof{ &awe_voice_map};}' unless defined(&AWE_VOICE_MAP_SIZE);
    eval 'sub _AWE_DEBUG_MODE () {0x;}' unless defined(&_AWE_DEBUG_MODE);
    eval 'sub _AWE_REVERB_MODE () {0x1;}' unless defined(&_AWE_REVERB_MODE);
    eval 'sub _AWE_CHORUS_MODE () {0x2;}' unless defined(&_AWE_CHORUS_MODE);
    eval 'sub _AWE_REMOVE_LAST_SAMPLES () {0x3;}' unless defined(&_AWE_REMOVE_LAST_SAMPLES);
    eval 'sub _AWE_INITIALIZE_CHIP () {0x4;}' unless defined(&_AWE_INITIALIZE_CHIP);
    eval 'sub _AWE_SEND_EFFECT () {0x5;}' unless defined(&_AWE_SEND_EFFECT);
    eval 'sub _AWE_TERMINATE_CHANNEL () {0x6;}' unless defined(&_AWE_TERMINATE_CHANNEL);
    eval 'sub _AWE_TERMINATE_ALL () {0x7;}' unless defined(&_AWE_TERMINATE_ALL);
    eval 'sub _AWE_INITIAL_VOLUME () {0x8;}' unless defined(&_AWE_INITIAL_VOLUME);
    eval 'sub _AWE_INITIAL_ATTEN () { &_AWE_INITIAL_VOLUME;}' unless defined(&_AWE_INITIAL_ATTEN);
    eval 'sub _AWE_RESET_CHANNEL () {0x9;}' unless defined(&_AWE_RESET_CHANNEL);
    eval 'sub _AWE_CHANNEL_MODE () {0xa;}' unless defined(&_AWE_CHANNEL_MODE);
    eval 'sub _AWE_DRUM_CHANNELS () {0xb;}' unless defined(&_AWE_DRUM_CHANNELS);
    eval 'sub _AWE_MISC_MODE () {0xc;}' unless defined(&_AWE_MISC_MODE);
    eval 'sub _AWE_RELEASE_ALL () {0xd;}' unless defined(&_AWE_RELEASE_ALL);
    eval 'sub _AWE_NOTEOFF_ALL () {0xe;}' unless defined(&_AWE_NOTEOFF_ALL);
    eval 'sub _AWE_CHN_PRESSURE () {0xf;}' unless defined(&_AWE_CHN_PRESSURE);
    eval 'sub _AWE_EQUALIZER () {0x11;}' unless defined(&_AWE_EQUALIZER);
    eval 'sub _AWE_MODE_FLAG () {0x80;}' unless defined(&_AWE_MODE_FLAG);
    eval 'sub _AWE_COOKED_FLAG () {0x40;}' unless defined(&_AWE_COOKED_FLAG);
    eval 'sub _AWE_MODE_VALUE_MASK () {0x3f;}' unless defined(&_AWE_MODE_VALUE_MASK);
    eval 'sub _AWE_SET_CMD {
        local($p,$dev,$voice,$cmd,$p1,$p2) = @_;
	    eval q({()[0] =  &SEQ_PRIVATE; ()[1] = $dev; ()[2] =  &_AWE_MODE_FLAG|; ()[3] = $voice; ()[2] = $p1; (($p))[3] = $p2;});
    }' unless defined(&_AWE_SET_CMD);
    eval 'sub _AWE_CMD {
        local($dev, $voice, $cmd, $p1, $p2) = @_;
	    eval q({ &_SEQ_NEEDBUF(8);  &_AWE_SET_CMD( &_seqbuf +  &_seqbufptr, $dev, $voice, $cmd, $p1, $p2);  &_SEQ_ADVBUF(8);});
    }' unless defined(&_AWE_CMD);
    eval 'sub _AWE_CMD_NOW {
        local($seqfd,$dev,$voice,$cmd,$p1,$p2) = @_;
	    eval q({\'struct seq_event_rec\'  &tmp;  &_AWE_SET_CMD( &tmp, $dev, $voice, $cmd, $p1, $p2);  &ioctl($seqfd,  &SNDCTL_SEQ_OUTOFBAND,  &tmp);});
    }' unless defined(&_AWE_CMD_NOW);
    eval 'sub AWE_DEBUG_MODE {
        local($dev,$p1) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_DEBUG_MODE, $p1, 0));
    }' unless defined(&AWE_DEBUG_MODE);
    eval 'sub AWE_REVERB_MODE {
        local($dev,$p1) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_REVERB_MODE, $p1, 0));
    }' unless defined(&AWE_REVERB_MODE);
    eval 'sub AWE_CHORUS_MODE {
        local($dev,$p1) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_CHORUS_MODE, $p1, 0));
    }' unless defined(&AWE_CHORUS_MODE);
    eval 'sub AWE_RESET_CHANNEL {
        local($dev,$ch) = @_;
	    eval q( &_AWE_CMD($dev, $ch,  &_AWE_RESET_CHANNEL, 0, 0));
    }' unless defined(&AWE_RESET_CHANNEL);
    eval 'sub AWE_RESET_CONTROL {
        local($dev,$ch) = @_;
	    eval q( &_AWE_CMD($dev, $ch,  &_AWE_RESET_CHANNEL, 1, 0));
    }' unless defined(&AWE_RESET_CONTROL);
    eval 'sub AWE_SEND_EFFECT {
        local($dev,$voice,$type,$value) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,$type,$value));
    }' unless defined(&AWE_SEND_EFFECT);
    eval 'sub AWE_ADD_EFFECT {
        local($dev,$voice,$type,$value) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,(($type)|0x80),$value));
    }' unless defined(&AWE_ADD_EFFECT);
    eval 'sub AWE_UNSET_EFFECT {
        local($dev,$voice,$type) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,(($type)|0x40),0));
    }' unless defined(&AWE_UNSET_EFFECT);
    eval 'sub AWE_SEND_LAYER_EFFECT {
        local($dev,$voice,$layer,$type,$value) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,(($layer+1)<<8|($type)),$value));
    }' unless defined(&AWE_SEND_LAYER_EFFECT);
    eval 'sub AWE_ADD_LAYER_EFFECT {
        local($dev,$voice,$layer,$type,$value) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,(($layer+1)<<8|($type)|0x80),$value));
    }' unless defined(&AWE_ADD_LAYER_EFFECT);
    eval 'sub AWE_UNSET_LAYER_EFFECT {
        local($dev,$voice,$layer,$type) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_SEND_EFFECT,(($layer+1)<<8|($type)|0x40),0));
    }' unless defined(&AWE_UNSET_LAYER_EFFECT);
    eval 'sub AWE_TERMINATE_CHANNEL {
        local($dev,$voice) = @_;
	    eval q( &_AWE_CMD($dev,$voice, &_AWE_TERMINATE_CHANNEL,0,0));
    }' unless defined(&AWE_TERMINATE_CHANNEL);
    eval 'sub AWE_TERMINATE_ALL {
        local($dev) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_TERMINATE_ALL, 0, 0));
    }' unless defined(&AWE_TERMINATE_ALL);
    eval 'sub AWE_RELEASE_ALL {
        local($dev) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_RELEASE_ALL, 0, 0));
    }' unless defined(&AWE_RELEASE_ALL);
    eval 'sub AWE_NOTEOFF_ALL {
        local($dev) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_NOTEOFF_ALL, 0, 0));
    }' unless defined(&AWE_NOTEOFF_ALL);
    eval 'sub AWE_INITIAL_VOLUME {
        local($dev,$atten) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_INITIAL_VOLUME, $atten, 0));
    }' unless defined(&AWE_INITIAL_VOLUME);
    eval 'sub AWE_INITIAL_ATTEN () { &AWE_INITIAL_VOLUME;}' unless defined(&AWE_INITIAL_ATTEN);
    eval 'sub AWE_SET_ATTEN {
        local($dev,$atten) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_INITIAL_VOLUME, $atten, 1));
    }' unless defined(&AWE_SET_ATTEN);
    eval 'sub AWE_SET_CHANNEL_MODE {
        local($dev,$mode) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_CHANNEL_MODE, $mode, 0));
    }' unless defined(&AWE_SET_CHANNEL_MODE);
    eval 'sub AWE_PLAY_INDIRECT () {0;}' unless defined(&AWE_PLAY_INDIRECT);
    eval 'sub AWE_PLAY_MULTI () {1;}' unless defined(&AWE_PLAY_MULTI);
    eval 'sub AWE_PLAY_DIRECT () {2;}' unless defined(&AWE_PLAY_DIRECT);
    eval 'sub AWE_PLAY_MULTI2 () {3;}' unless defined(&AWE_PLAY_MULTI2);
    eval 'sub AWE_DRUM_CHANNELS {
        local($dev,$channels) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_DRUM_CHANNELS, (($channels) & 0xffff), (($channels) >> 16)));
    }' unless defined(&AWE_DRUM_CHANNELS);
    eval 'sub AWE_EQUALIZER {
        local($dev,$bass,$treble) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_EQUALIZER, $bass, $treble));
    }' unless defined(&AWE_EQUALIZER);
    eval 'sub AWE_REMOVE_LAST_SAMPLES {
        local($seqfd,$dev) = @_;
	    eval q( &_AWE_CMD_NOW($seqfd, $dev, 0,  &_AWE_REMOVE_LAST_SAMPLES, 0, 0));
    }' unless defined(&AWE_REMOVE_LAST_SAMPLES);
    eval 'sub AWE_INITIALIZE_CHIP {
        local($seqfd,$dev) = @_;
	    eval q( &_AWE_CMD_NOW($seqfd, $dev, 0,  &_AWE_INITIALIZE_CHIP, 0, 0));
    }' unless defined(&AWE_INITIALIZE_CHIP);
    eval 'sub AWE_MISC_MODE {
        local($dev,$mode,$value) = @_;
	    eval q( &_AWE_CMD($dev, 0,  &_AWE_MISC_MODE, $mode, $value));
    }' unless defined(&AWE_MISC_MODE);
    eval 'sub AWE_EXCLUSIVE_SOUND {
        local($dev,$mode) = @_;
	    eval q( &AWE_MISC_MODE($dev, &AWE_MD_EXCLUSIVE_SOUND,$mode));
    }' unless defined(&AWE_EXCLUSIVE_SOUND);
    eval 'sub AWE_SET_GUS_BANK {
        local($dev,$bank) = @_;
	    eval q( &AWE_MISC_MODE($dev, &AWE_MD_GUS_BANK,$bank));
    }' unless defined(&AWE_SET_GUS_BANK);
    eval 'sub AWE_REALTIME_PAN {
        local($dev,$mode) = @_;
	    eval q( &AWE_MISC_MODE($dev, &AWE_MD_REALTIME_PAN,$mode));
    }' unless defined(&AWE_REALTIME_PAN);
    eval 'sub AWE_KEY_PRESSURE {
        local($dev,$ch,$note,$vel) = @_;
	    eval q( &SEQ_START_NOTE($dev,$ch,($note)+128,$vel));
    }' unless defined(&AWE_KEY_PRESSURE);
    eval 'sub AWE_CHN_PRESSURE {
        local($dev,$ch,$vel) = @_;
	    eval q( &_AWE_CMD($dev,$ch, &_AWE_CHN_PRESSURE,$vel,0));
    }' unless defined(&AWE_CHN_PRESSURE);
    eval 'sub AWE_REVERB_ROOM1 () {0;}' unless defined(&AWE_REVERB_ROOM1);
    eval 'sub AWE_REVERB_ROOM2 () {1;}' unless defined(&AWE_REVERB_ROOM2);
    eval 'sub AWE_REVERB_ROOM3 () {2;}' unless defined(&AWE_REVERB_ROOM3);
    eval 'sub AWE_REVERB_HALL1 () {3;}' unless defined(&AWE_REVERB_HALL1);
    eval 'sub AWE_REVERB_HALL2 () {4;}' unless defined(&AWE_REVERB_HALL2);
    eval 'sub AWE_REVERB_PLATE () {5;}' unless defined(&AWE_REVERB_PLATE);
    eval 'sub AWE_REVERB_DELAY () {6;}' unless defined(&AWE_REVERB_DELAY);
    eval 'sub AWE_REVERB_PANNINGDELAY () {7;}' unless defined(&AWE_REVERB_PANNINGDELAY);
    eval 'sub AWE_REVERB_PREDEFINED () {8;}' unless defined(&AWE_REVERB_PREDEFINED);
    eval 'sub AWE_REVERB_NUMBERS () {32;}' unless defined(&AWE_REVERB_NUMBERS);
    eval 'sub AWE_CHORUS_1 () {0;}' unless defined(&AWE_CHORUS_1);
    eval 'sub AWE_CHORUS_2 () {1;}' unless defined(&AWE_CHORUS_2);
    eval 'sub AWE_CHORUS_3 () {2;}' unless defined(&AWE_CHORUS_3);
    eval 'sub AWE_CHORUS_4 () {3;}' unless defined(&AWE_CHORUS_4);
    eval 'sub AWE_CHORUS_FEEDBACK () {4;}' unless defined(&AWE_CHORUS_FEEDBACK);
    eval 'sub AWE_CHORUS_FLANGER () {5;}' unless defined(&AWE_CHORUS_FLANGER);
    eval 'sub AWE_CHORUS_SHORTDELAY () {6;}' unless defined(&AWE_CHORUS_SHORTDELAY);
    eval 'sub AWE_CHORUS_SHORTDELAY2 () {7;}' unless defined(&AWE_CHORUS_SHORTDELAY2);
    eval 'sub AWE_CHORUS_PREDEFINED () {8;}' unless defined(&AWE_CHORUS_PREDEFINED);
    eval 'sub AWE_CHORUS_NUMBERS () {32;}' unless defined(&AWE_CHORUS_NUMBERS);
    eval("sub AWE_MD_EXCLUSIVE_OFF () { 0; }") unless defined(&AWE_MD_EXCLUSIVE_OFF);
    eval("sub AWE_MD_EXCLUSIVE_ON () { 1; }") unless defined(&AWE_MD_EXCLUSIVE_ON);
    eval("sub AWE_MD_VERSION () { 2; }") unless defined(&AWE_MD_VERSION);
    eval("sub AWE_MD_EXCLUSIVE_SOUND () { 3; }") unless defined(&AWE_MD_EXCLUSIVE_SOUND);
    eval("sub AWE_MD_REALTIME_PAN () { 4; }") unless defined(&AWE_MD_REALTIME_PAN);
    eval("sub AWE_MD_GUS_BANK () { 5; }") unless defined(&AWE_MD_GUS_BANK);
    eval("sub AWE_MD_KEEP_EFFECT () { 6; }") unless defined(&AWE_MD_KEEP_EFFECT);
    eval("sub AWE_MD_ZERO_ATTEN () { 7; }") unless defined(&AWE_MD_ZERO_ATTEN);
    eval("sub AWE_MD_CHN_PRIOR () { 8; }") unless defined(&AWE_MD_CHN_PRIOR);
    eval("sub AWE_MD_MOD_SENSE () { 9; }") unless defined(&AWE_MD_MOD_SENSE);
    eval("sub AWE_MD_DEF_PRESET () { 10; }") unless defined(&AWE_MD_DEF_PRESET);
    eval("sub AWE_MD_DEF_BANK () { 11; }") unless defined(&AWE_MD_DEF_BANK);
    eval("sub AWE_MD_DEF_DRUM () { 12; }") unless defined(&AWE_MD_DEF_DRUM);
    eval("sub AWE_MD_TOGGLE_DRUM_BANK () { 13; }") unless defined(&AWE_MD_TOGGLE_DRUM_BANK);
    eval("sub AWE_MD_NEW_VOLUME_CALC () { 14; }") unless defined(&AWE_MD_NEW_VOLUME_CALC);
    eval("sub AWE_MD_CHORUS_MODE () { 15; }") unless defined(&AWE_MD_CHORUS_MODE);
    eval("sub AWE_MD_REVERB_MODE () { 16; }") unless defined(&AWE_MD_REVERB_MODE);
    eval("sub AWE_MD_BASS_LEVEL () { 17; }") unless defined(&AWE_MD_BASS_LEVEL);
    eval("sub AWE_MD_TREBLE_LEVEL () { 18; }") unless defined(&AWE_MD_TREBLE_LEVEL);
    eval("sub AWE_MD_DEBUG_MODE () { 19; }") unless defined(&AWE_MD_DEBUG_MODE);
    eval("sub AWE_MD_PAN_EXCHANGE () { 20; }") unless defined(&AWE_MD_PAN_EXCHANGE);
    eval("sub AWE_MD_END () { 21; }") unless defined(&AWE_MD_END);
    eval("sub AWE_FX_ENV1_DELAY () { 0; }") unless defined(&AWE_FX_ENV1_DELAY);
    eval("sub AWE_FX_ENV1_ATTACK () { 1; }") unless defined(&AWE_FX_ENV1_ATTACK);
    eval("sub AWE_FX_ENV1_HOLD () { 2; }") unless defined(&AWE_FX_ENV1_HOLD);
    eval("sub AWE_FX_ENV1_DECAY () { 3; }") unless defined(&AWE_FX_ENV1_DECAY);
    eval("sub AWE_FX_ENV1_RELEASE () { 4; }") unless defined(&AWE_FX_ENV1_RELEASE);
    eval("sub AWE_FX_ENV1_SUSTAIN () { 5; }") unless defined(&AWE_FX_ENV1_SUSTAIN);
    eval("sub AWE_FX_ENV1_PITCH () { 6; }") unless defined(&AWE_FX_ENV1_PITCH);
    eval("sub AWE_FX_ENV1_CUTOFF () { 7; }") unless defined(&AWE_FX_ENV1_CUTOFF);
    eval("sub AWE_FX_ENV2_DELAY () { 8; }") unless defined(&AWE_FX_ENV2_DELAY);
    eval("sub AWE_FX_ENV2_ATTACK () { 9; }") unless defined(&AWE_FX_ENV2_ATTACK);
    eval("sub AWE_FX_ENV2_HOLD () { 10; }") unless defined(&AWE_FX_ENV2_HOLD);
    eval("sub AWE_FX_ENV2_DECAY () { 11; }") unless defined(&AWE_FX_ENV2_DECAY);
    eval("sub AWE_FX_ENV2_RELEASE () { 12; }") unless defined(&AWE_FX_ENV2_RELEASE);
    eval("sub AWE_FX_ENV2_SUSTAIN () { 13; }") unless defined(&AWE_FX_ENV2_SUSTAIN);
    eval("sub AWE_FX_LFO1_DELAY () { 14; }") unless defined(&AWE_FX_LFO1_DELAY);
    eval("sub AWE_FX_LFO1_FREQ () { 15; }") unless defined(&AWE_FX_LFO1_FREQ);
    eval("sub AWE_FX_LFO1_VOLUME () { 16; }") unless defined(&AWE_FX_LFO1_VOLUME);
    eval("sub AWE_FX_LFO1_PITCH () { 17; }") unless defined(&AWE_FX_LFO1_PITCH);
    eval("sub AWE_FX_LFO1_CUTOFF () { 18; }") unless defined(&AWE_FX_LFO1_CUTOFF);
    eval("sub AWE_FX_LFO2_DELAY () { 19; }") unless defined(&AWE_FX_LFO2_DELAY);
    eval("sub AWE_FX_LFO2_FREQ () { 20; }") unless defined(&AWE_FX_LFO2_FREQ);
    eval("sub AWE_FX_LFO2_PITCH () { 21; }") unless defined(&AWE_FX_LFO2_PITCH);
    eval("sub AWE_FX_INIT_PITCH () { 22; }") unless defined(&AWE_FX_INIT_PITCH);
    eval("sub AWE_FX_CHORUS () { 23; }") unless defined(&AWE_FX_CHORUS);
    eval("sub AWE_FX_REVERB () { 24; }") unless defined(&AWE_FX_REVERB);
    eval("sub AWE_FX_CUTOFF () { 25; }") unless defined(&AWE_FX_CUTOFF);
    eval("sub AWE_FX_FILTERQ () { 26; }") unless defined(&AWE_FX_FILTERQ);
    eval("sub AWE_FX_SAMPLE_START () { 27; }") unless defined(&AWE_FX_SAMPLE_START);
    eval("sub AWE_FX_LOOP_START () { 28; }") unless defined(&AWE_FX_LOOP_START);
    eval("sub AWE_FX_LOOP_END () { 29; }") unless defined(&AWE_FX_LOOP_END);
    eval("sub AWE_FX_COARSE_SAMPLE_START () { 30; }") unless defined(&AWE_FX_COARSE_SAMPLE_START);
    eval("sub AWE_FX_COARSE_LOOP_START () { 31; }") unless defined(&AWE_FX_COARSE_LOOP_START);
    eval("sub AWE_FX_COARSE_LOOP_END () { 32; }") unless defined(&AWE_FX_COARSE_LOOP_END);
    eval("sub AWE_FX_ATTEN () { 33; }") unless defined(&AWE_FX_ATTEN);
    eval("sub AWE_FX_END () { 34; }") unless defined(&AWE_FX_END);
}
1;
