FreeBSD Manual Pages
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 di- rectly. 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: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUse- Mask, AuCompCommonFormatMask, AuCompCommonNumTracksMask, Au- CompCommonAccessMask, AuCompCommonDescriptionMask, AuCompDe- viceMinSampleRateMask, AuCompDeviceMaxSampleRateMask, AuCom- pDeviceLocationMask, AuCompDeviceGainMask, AuCompDevice- LineModeMask, and AuCompDeviceChildrenMask. AuDeviceChangableMask(da) Accesses the AuMask value indicating which attributes can be changed. This is a bitwise inclusive OR of these constants: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUse- Mask, AuCompCommonFormatMask, AuCompCommonNumTracksMask, Au- CompCommonAccessMask, AuCompCommonDescriptionMask, AuCompDe- viceMinSampleRateMask, AuCompDeviceMaxSampleRateMask, AuCom- pDeviceLocationMask, AuCompDeviceGainMask, AuCompDevice- LineModeMask, and AuCompDeviceChildrenMask. AuDeviceIdentifier(da) Accesses the AuFlowID ID of the device. AuDeviceKind(da) Accesses the int value indicating the kind of component. De- vices are either AuComponentKindPhysicalInput or AuComponen- tKindPhysicalOutput. AuDeviceUse(da) Accesses the AuMask value indicating what uses of the device are permitted. This is a bitwise inclusive OR of these con- stants: AuComponentUseImportMask and AuComponentUseExport- Mask. AuDeviceFormat(da) Accesses the int value indicating the audio data format the device uses. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinear- Signed8, AuFormatLinearSigned16MSB, AuFormatLinearUn- signed16MSB, AuFormatLinearSigned16LSB, and AuFormatLinearUn- signed16LSB. 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 descrip- tion 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 de- vice. This is a bitwise inclusive OR of these constants: Au- DeviceLocationLeftMask, AuDeviceLocationCenterMask, AuDevice- LocationRightMask, AuDeviceLocationTopMask, AuDeviceLocation- MiddleMask, AuDeviceLocationBottomMask, AuDeviceLocationBack- Mask, AuDeviceLocationFrontMask, AuDeviceLocationInternal- Mask, and AuDeviceLocationExternalMask AuDeviceGain(da) Accesses the AuFixedPoint value with the current hardware am- plification 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 inter- face. See Also AuGetDeviceAttributes, AuListDevices. audiolib - Network Audio System C Language Interface audiolib - device attributes stru... 1.9.4 AuDeviceAttributes(3)
Name | Structures | Members | Description | See Also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuDeviceAttributes&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>