require '_h2ph_pre.ph';

unless(defined(&_SOUNDMODEM_H)) {
    eval 'sub _SOUNDMODEM_H () {1;}' unless defined(&_SOUNDMODEM_H);
    eval 'sub SM_DIAGMODE_OFF () {0;}' unless defined(&SM_DIAGMODE_OFF);
    eval 'sub SM_DIAGMODE_INPUT () {1;}' unless defined(&SM_DIAGMODE_INPUT);
    eval 'sub SM_DIAGMODE_DEMOD () {2;}' unless defined(&SM_DIAGMODE_DEMOD);
    eval 'sub SM_DIAGMODE_CONSTELLATION () {3;}' unless defined(&SM_DIAGMODE_CONSTELLATION);
    eval 'sub SM_DIAGFLAG_DCDGATE () {(1<<0);}' unless defined(&SM_DIAGFLAG_DCDGATE);
    eval 'sub SM_DIAGFLAG_VALID () {(1<<1);}' unless defined(&SM_DIAGFLAG_VALID);
    eval 'sub SM_MIXER_INVALID () {0;}' unless defined(&SM_MIXER_INVALID);
    eval 'sub SM_MIXER_AD1848 () {0x10;}' unless defined(&SM_MIXER_AD1848);
    eval 'sub SM_MIXER_CRYSTAL () {0x11;}' unless defined(&SM_MIXER_CRYSTAL);
    eval 'sub SM_MIXER_CT1335 () {0x20;}' unless defined(&SM_MIXER_CT1335);
    eval 'sub SM_MIXER_CT1345 () {0x21;}' unless defined(&SM_MIXER_CT1345);
    eval 'sub SM_MIXER_CT1745 () {0x22;}' unless defined(&SM_MIXER_CT1745);
    eval 'sub SMCTL_DIAGNOSE () {0x82;}' unless defined(&SMCTL_DIAGNOSE);
    eval 'sub SMCTL_GETMIXER () {0x83;}' unless defined(&SMCTL_GETMIXER);
    eval 'sub SMCTL_SETMIXER () {0x84;}' unless defined(&SMCTL_SETMIXER);
    eval 'sub SMCTL_GETDEBUG () {0x85;}' unless defined(&SMCTL_GETDEBUG);
}
1;
