Rechercher une page de manuel
AuSetDeviceAttributes.3nas
Langue: en
Version: 1.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Name
AuSetDeviceAttributes - set device attributesSynopsis
void AuSetDeviceAttributes(server, device, valuemask, attributes, status)
AuServer *server;
AuDeviceID device;
AuMask valuemask;
AuDeviceAttributes *attributes;
AuStatus *status;
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: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUseMask, AuCommonFormatMask, AuCommonNumTracksMask, AuCommonAccessMask, AuCommonDescriptionMask, AuCompDeviceGainMask, or AuCompDeviceLineModeMask.
- 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 attributes not marked as changable will fail with a AuBadValue error.Errors
AuBadDevice, AuBadLength, AuBadValue.See Also
AuGetDeviceAttributes.audiolib - Network Audio System C Language Interface
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre