diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-18 14:32:14 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-18 14:32:14 +0000 |
commit | 6216df4475441edce2840d2a01664cefb5a0a225 (patch) | |
tree | 891c0e2678dc01cab8b15a11d3d03f6e8274821e | |
parent | f9fba03375e83e76e82171ab2e03938143a25be4 (diff) |
intial -> initial
ok mickey@
-rw-r--r-- | sys/dev/pci/emuxki.c | 8 | ||||
-rw-r--r-- | sys/dev/pci/emuxkivar.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c index 922ce0f790b..bcc6a416148 100644 --- a/sys/dev/pci/emuxki.c +++ b/sys/dev/pci/emuxki.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emuxki.c,v 1.11 2002/06/03 21:13:20 mickey Exp $ */ +/* $OpenBSD: emuxki.c,v 1.12 2003/02/18 14:32:13 jmc Exp $ */ /* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */ /*- @@ -935,7 +935,7 @@ emuxki_chanparms_set_defaults(struct emuxki_channel *chan) chan->fxsend.c.dest = 0x2; chan->fxsend.d.dest = 0x3; - chan->pitch.intial = 0x0000; /* shouldn't it be 0xE000 ? */ + chan->pitch.initial = 0x0000; /* shouldn't it be 0xE000 ? */ chan->pitch.current = 0x0000; /* should it be 0x0400 */ chan->pitch.target = 0x0000; /* the unity pitch shift ? */ chan->pitch.envelope_amount = 0x00; /* none */ @@ -1024,7 +1024,7 @@ emuxki_channel_set_srate(struct emuxki_channel *chan, u_int32_t srate) (chan->pitch.target & 1); chan->pitch.target &= 0xffff; chan->pitch.current = chan->pitch.target; - chan->pitch.intial = + chan->pitch.initial = (emuxki_rate_to_pitch(srate) >> 8) & EMU_CHAN_IP_MASK; } @@ -1150,7 +1150,7 @@ emuxki_channel_start(struct emuxki_channel *chan) chan->pitch.target); emuxki_write(sc, chano, EMU_CHAN_CPF_PITCH, chan->pitch.current); - emuxki_write(sc, chano, EMU_CHAN_IP, chan->pitch.intial); + emuxki_write(sc, chano, EMU_CHAN_IP, chan->pitch.initial); splx(s); } diff --git a/sys/dev/pci/emuxkivar.h b/sys/dev/pci/emuxkivar.h index d609a26ce25..bf8d3c73838 100644 --- a/sys/dev/pci/emuxkivar.h +++ b/sys/dev/pci/emuxkivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: emuxkivar.h,v 1.4 2002/06/03 21:13:20 mickey Exp $ */ +/* $OpenBSD: emuxkivar.h,v 1.5 2003/02/18 14:32:13 jmc Exp $ */ /* $NetBSD: emuxkivar.h,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */ /*- @@ -99,7 +99,7 @@ struct emuxki_chanparms_fxsend { }; struct emuxki_chanparms_pitch { - u_int16_t intial; /* 4 bits of octave, 12 bits of fractional + u_int16_t initial;/* 4 bits of octave, 12 bits of fractional * octave */ u_int16_t current;/* 0x4000 == unity pitch shift */ u_int16_t target; /* 0x4000 == unity pitch shift */ |