Miles Sound System SDK 7.2a

AIL_set_input_state

The function AIL_set_input_state controls whether the digital input channel is actively recording or not.

S32 AIL_set_input_state(
  HDIGINPUT input,
  S32 enable
);

In Parameters

input
gives the input handle to control.
enable
tells Miles whether to begin recording (non-zero) or stop recording (zero).

Returns

Non-zero if recording was successfully enabled, zero if recording is disabled (or couldn't be enabled).

Discussion

After opening, a Miles digital input handle won't start recording until this function is called.


Group: Digital Audio Input (Recording) Services
Related Functions: AIL_open_input
Related Basic Types: HDIGINPUT, S32

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