Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aufreedeviceattributes(3) [debian man page]

AuFreeDeviceAttributes(3)				     Library Functions Manual					 AuFreeDeviceAttributes(3)

Name
       AuFreeDeviceAttributes - free memory used by lists of device attributes

Synopsis
       #include <audio/audiolib.h>

       void AuFreeDeviceAttributes(server, nattributes, attributes)
	   AuServer *server;
	   int nattributes;
	   AuDeviceAttributes *attributes;

Arguments
       server	 Specifies the connection to the audio server.

       nattributes
		 Specifies the number of device attributes to free.

       attributes
		 Specifies  a  single  device  attribute  structure  returned  by AuGetDeviceAttributes or a list of device attributes returned by
		 AuListDevices.

Description
       AuFreeDeviceAttributes frees the memory allocated by AuGetDeviceAttributes or AuListDevices.

       audiolib - Network Audio System C Language Interface

audiolib - device attributes					       1.9.3						 AuFreeDeviceAttributes(3)

Check Out this Related Man Page

AuDeviceAttributes(3)					     Library Functions Manual					     AuDeviceAttributes(3)

Name
       AuDeviceAttributes - device attributes structure

Structures
       #include <audio/audiolib.h>

       typedef struct _AuDeviceAttributes
       {
	   . . .
       }AuDeviceAttributes;

Members
       Do not dereference the members of the AuDeviceAttributes structure directly.  Instead use the access macros.

       da is a pointer to a AuDeviceAttributes structure.

       AuDeviceValueMask(da)
		 Accesses  the AuMask value indicating what attributes are present.  This is a bitwise inclusive OR of these constants: AuCompCom-
		 monIDMask, AuCompCommonKindMask, AuCompCommonUseMask, AuCompCommonFormatMask, AuCompCommonNumTracksMask,  AuCompCommonAccessMask,
		 AuCompCommonDescriptionMask,  AuCompDeviceMinSampleRateMask,  AuCompDeviceMaxSampleRateMask,  AuCompDeviceLocationMask, AuCompDe-
		 viceGainMask, AuCompDeviceLineModeMask, and AuCompDeviceChildrenMask.

       AuDeviceChangableMask(da)
		 Accesses the AuMask value indicating which attributes can be changed.	This is a bitwise inclusive OR of these constants: AuComp-
		 CommonIDMask,	AuCompCommonKindMask,  AuCompCommonUseMask, AuCompCommonFormatMask, AuCompCommonNumTracksMask, AuCompCommonAccess-
		 Mask, AuCompCommonDescriptionMask, AuCompDeviceMinSampleRateMask, AuCompDeviceMaxSampleRateMask, AuCompDeviceLocationMask, AuCom-
		 pDeviceGainMask, AuCompDeviceLineModeMask, and AuCompDeviceChildrenMask.

       AuDeviceIdentifier(da)
		 Accesses the AuFlowID ID of the device.

       AuDeviceKind(da)
		 Accesses the int value indicating the kind of component.  Devices are either AuComponentKindPhysicalInput or AuComponentKindPhys-
		 icalOutput.

       AuDeviceUse(da)
		 Accesses the AuMask value indicating what uses of the device are permitted.  This is a bitwise inclusive OR of  these	constants:
		 AuComponentUseImportMask and AuComponentUseExportMask.

       AuDeviceFormat(da)
		 Accesses the int value indicating the audio data format the device uses.  Currently, the following formats are defined: AuFormat-
		 ULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8,  AuFormatLinearSigned16MSB,  AuFormatLinearUnsigned16MSB,  AuFormatLinear-
		 Signed16LSB, and AuFormatLinearUnsigned16LSB.

       AuDeviceNumTracks(da)
		 Accesses the int value indicating the number of tracks the device supports.

       AuDeviceAccess(da)
		 Accesses  the	AuMask	value  indicating  what  kinds	of access are allowed.	This is a bitwise inclusive OR of these constants:
		 AuAccessImportMask, AuAccessExportMask, AuAccessDestroyMask, and AuAccessListMask.

       AuDeviceDescription(da)
		 Accesses the AuString structure containing a textual description of the device.

       AuDeviceMinSampleRate(da)
		 Accesses the unsigned int value indicating the minimum sample rate supported by the device.

       AuDeviceMaxSampleRate(da)
		 Accesses the unsigned int value indicating the maximum sample rate supported by the device.

       AuDeviceLocation(da)
		 Accesses the AuMask value indicating the location of the device.  This is a bitwise inclusive OR of these constants:  AuDeviceLo-
		 cationLeftMask, AuDeviceLocationCenterMask, AuDeviceLocationRightMask, AuDeviceLocationTopMask, AuDeviceLocationMiddleMask, AuDe-
		 viceLocationBottomMask,  AuDeviceLocationBackMask,  AuDeviceLocationFrontMask,  AuDeviceLocationInternalMask,	and  AuDeviceLoca-
		 tionExternalMask

       AuDeviceGain(da)
		 Accesses the AuFixedPoint value with the current hardware amplification level.

       AuDeviceLineMode(da)
		 Accesses the AuInt32 value indicating the current line mode (input device only).

       AuDeviceNumChildren(da)
		 Accesses the int value indicating the number of subcomponents of the device.

       AuDeviceChildren(da)
		 Accesses the list of AuDeviceID's of the subcomponents of the device.

Description
       The AuDeviceAttributes structure describes the physical hardware interface.

See Also
       AuGetDeviceAttributes, AuListDevices.

       audiolib - Network Audio System C Language Interface

audiolib - device attributes structure				       1.9.3						     AuDeviceAttributes(3)
Man Page