AFEnableInput(3)					     AFEnableInput(3)



NAME
  AFEnableInput, AFDisableInput, AFEnableOutput, AFDisableOutput - enable or
  disable input	or output

SYNTAX
  #include <AF/AFlib.h>

  void AFEnableInput (AC ac, AMask mask, AMask *old_state, AMask *new_state)

  void AFDisableInput (AC ac, AMask mask, AMask	*old_state, AMask *new_state)

  void AFEnableOutput (AC ac, AMask mask, AMask	*old_state, AMask *new_state)

  void AFDisableOutput (AC ac, AMask mask, AMask *old_state,
			      AMask *new_state)

ARGUMENTS

  ac	    The	audio context of an audio device.

  mask	    A bit vector indicating the	inputs (or outputs) to enable (or
	    disable).

  old_state The	state of the previous input(output) mask is returned in	the
	    location pointed to	by old_state.

  new_state The	state of the input(output) mask	set by the server as a result
	    of this call is returned in	the location pointed to	by new_state.

DESCRIPTION
  Individual inputs on an audio	device can be enabled using AFEnableInput and
  disabled with	AFDisableInput.

  Individual outputs on	an audio device	can be enabled using AFEnableOutput
  and disabled with AFDisableOutput.

SEE ALSO
  AF(1)


BUGS
  If you encounter a reproducible bug, please submit a problem report to
  (af-bugs@crl.dec.com).

COPYRIGHT
  Copyright 1990-1994, Digital Equipment Corporation.
  See AF(1) for	a full statement of rights and permissions.

AUTHORS
  Digital Cambridge Research Lab