require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&AM7930_IWRITE)) {
    sub AM7930_IWRITE {
	my($x,$y,$z) = @_;
	eval q((*($x)-> ($sc_glue->{codec_iwrite}))(($x),($y),($z)));
    }
}
unless(defined(&AM7930_IREAD)) {
    sub AM7930_IREAD {
	my($x,$y) = @_;
	eval q((*($x)-> ($sc_glue->{codec_iread}))(($x),($y)));
    }
}
unless(defined(&AM7930_IWRITE16)) {
    sub AM7930_IWRITE16 {
	my($x,$y,$z) = @_;
	eval q((*($x)-> ($sc_glue->{codec_iwrite16}))(($x),($y),($z)));
    }
}
unless(defined(&AM7930_IREAD16)) {
    sub AM7930_IREAD16 {
	my($x,$y) = @_;
	eval q((*($x)-> ($sc_glue->{codec_iread16}))(($x),($y)));
    }
}
unless(defined(&AUDIOAMD_POLL_MODE)) {
    sub AUDIOAMD_POLL_MODE () {	0;}
}
unless(defined(&AUDIOAMD_DMA_MODE)) {
    sub AUDIOAMD_DMA_MODE () {	1;}
}
unless(defined(&AUDIOAMD_SPEAKER_VOL)) {
    sub AUDIOAMD_SPEAKER_VOL () {	0;}
}
unless(defined(&AUDIOAMD_HEADPHONES_VOL)) {
    sub AUDIOAMD_HEADPHONES_VOL () {	1;}
}
unless(defined(&AUDIOAMD_OUTPUT_CLASS)) {
    sub AUDIOAMD_OUTPUT_CLASS () {	2;}
}
unless(defined(&AUDIOAMD_MONITOR_VOL)) {
    sub AUDIOAMD_MONITOR_VOL () {	3;}
}
unless(defined(&AUDIOAMD_MONITOR_OUTPUT)) {
    sub AUDIOAMD_MONITOR_OUTPUT () {	4;}
}
unless(defined(&AUDIOAMD_MONITOR_CLASS)) {
    sub AUDIOAMD_MONITOR_CLASS () {	5;}
}
unless(defined(&AUDIOAMD_MIC_VOL)) {
    sub AUDIOAMD_MIC_VOL () {	6;}
}
unless(defined(&AUDIOAMD_MIC_MUTE)) {
    sub AUDIOAMD_MIC_MUTE () {	7;}
}
unless(defined(&AUDIOAMD_INPUT_CLASS)) {
    sub AUDIOAMD_INPUT_CLASS () {	8;}
}
unless(defined(&AUDIOAMD_RECORD_SOURCE)) {
    sub AUDIOAMD_RECORD_SOURCE () {	9;}
}
unless(defined(&AUDIOAMD_RECORD_CLASS)) {
    sub AUDIOAMD_RECORD_CLASS () {	10;}
}
1;
