Text File

Aucbvax.5433 fa.info-vax utzoo!decvax!ucbvax!info-vax Thu Dec 10 22:46:34 1981 funny vax >From sdcarl!rusty@Berkeley Thu Dec 10 22:41:04 1981 This seems a bit obscure to us, maybe someone out there can shed some light.

We have a set of Digital Sound Corp. digital to analog and analog to digital converters on our Vax 11/780. We typically run our converters at a 50kHz sampling rate, we are doing computer music. The way the driver is set up it does dma into or out of a buffer in user space. The problem is that if the buffer isn't page aligned we get clicks in the sound, 1 click per buffer (it uses buffer chaining with 2 buffers, the 2 buffers are reused circularly). Our solution is to use valloc to get the buffers properly aligned.

Any ideas about the clicking?

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.