Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AuSetDeviceAttributes(3)   Library Functions Manual   AuSetDeviceAttributes(3)

Name
       AuSetDeviceAttributes - set device attributes

Synopsis
       #include	<audio/audiolib.h>

       void  AuSetDeviceAttributes(server, device, valuemask, attributes, sta-
       tus)
	   AuServer *server;
	   AuDeviceID device;
	   AuMask valuemask;
	   AuDeviceAttributes *attributes;
	   AuStatus *status; /*	RETURN */

Arguments
       server	 Specifies the connection to the audio server.

       device	 Specifies the ID of the device.

       valuemask Specifies which values	in attributes to used.	This must be a
		 bitwise inclusive OR of one or	more of	these  constants:  Au-
		 CompCommonIDMask,  AuCompCommonKindMask, AuCompCommonUseMask,
		 AuCommonFormatMask,  AuCommonNumTracksMask,   AuCommonAccess-
		 Mask,	AuCommonDescriptionMask,  AuCompDeviceGainMask,	or Au-
		 CompDeviceLineModeMask.

       attributes
		 Specifies the structure from which the	values	(as  specified
		 by the	value mask) are	to be taken.

       status	 If  non-NULL,	flush  the output buffer and return the	status
		 from the server.

Description
       AuSetDeviceAttributes sets the attributes of device  using  only	 those
       values  in attributes specified by valuemask.  Attempting to change at-
       tributes	not marked as changable	will fail with a AuBadValue error.

Errors
       AuBadDevice, AuBadLength, AuBadValue.

See Also
       AuGetDeviceAttributes.

       audiolib	- Network Audio	System C Language Interface

audiolib - device attributes	     1.9.4	      AuSetDeviceAttributes(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuSetDeviceAttributes&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help