userENY7@mts.ucs.UAlberta.CA (Bill Burris) (01/05/91)
Does anyone know what the low_water and high_water parameters in this
function are.
k_err = snddriver_stream_setup(dev_port, owner_port,
SNDDRIVER_STREAM_FROM_DSP,
read_buf_size, read_width,
low_water, high_water,
&protocol, &read_port);
Here is what the on line documentation has to say.
"The low_water and high_water values are used by the driver to optimize
control flow on the stream."
This tells me what they are for, but not anything about how I should
choose approprite values.
Should they always have these values:
int low_water = 48*1024;
int high_water = 64*1024;
as used in "dsp_example_3.c".
Send replys to bill@geosparc.phys.ualberta.ca
Bill Burris
bill@geosparc.phys.ualberta.ca
University of Alberta