Miles Sound System SDK 7.2a

AIL_service_stream

The function AIL_service_stream services the given stream handle.

S32 AIL_service_stream(
  HSTREAM stream,
  S32 fillup
);

In Parameters

stream
specifies which stream to service.
fillup
specifies whether MSS should fill all of its input buffers. If you have a CPU-intensive task to perform, passing a non-zero value can help avoid sound drop-outs. Normally, however, just pass in zero (don't fill).

Returns

The total number of bytes read during the call.

Discussion

This function should normally only be necessary under DOS - Windows and MacOS application will usually use auto-streaming. You should try to call this function at least 10 times per second to avoid sound drop-outs.

Under DOS and MacOS 9, this function must not be invoked from an interrupt-based callback function.

Example files that use this function: Demo.C, Streamer.C


Group: Digital Audio Streaming Services
Related Sections: Sharing the CPU under DOS
Related Functions: AIL_auto_service_stream, AIL_open_stream, AIL_serve, AIL_start_stream
Related Basic Types: HSTREAM, S32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.