mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fixed order of data transfer.
Reviewed by: NAGAO Tadaaki <nagao@cs.titech.ac.jp> Submitted by: Takuya SHIOZAKI <tshiozak@makino.ise.chuo-u.ac.jp>
This commit is contained in:
parent
f3e8d6550e
commit
b7b905e770
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26411
@ -25,7 +25,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: pcm86.c,v 1.3 1997/02/22 09:38:14 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1070,10 +1070,14 @@ fifo_send_mono_16be(pcm_data *buf, int count, int uflag)
|
||||
}
|
||||
d = ((d0 * (pcm_s.chipspeed - pcm_s.acc)) + (d1 * pcm_s.acc))
|
||||
/ pcm_s.chipspeed;
|
||||
/* outb(pcm_s.iobase + 12, d & 0xff);
|
||||
outb(pcm_s.iobase + 12, (d >> 8) & 0xff);
|
||||
outb(pcm_s.iobase + 12, d & 0xff);
|
||||
outb(pcm_s.iobase + 12, (d >> 8) & 0xff); */
|
||||
outb(pcm_s.iobase + 12, (d >> 8) & 0xff);
|
||||
outb(pcm_s.iobase + 12, d & 0xff);
|
||||
outb(pcm_s.iobase + 12, (d >> 8) & 0xff);
|
||||
outb(pcm_s.iobase + 12, d & 0xff);
|
||||
pcm_s.acc += pcm_s.speed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user