1AuSetDeviceAttributes(3)   Library Functions Manual   AuSetDeviceAttributes(3)
2
3
4

Name

6       AuSetDeviceAttributes - set device attributes
7

Synopsis

9       #include <audio/audiolib.h>
10
11       void  AuSetDeviceAttributes(server, device, valuemask, attributes, sta‐
12       tus)
13           AuServer *server;
14           AuDeviceID device;
15           AuMask valuemask;
16           AuDeviceAttributes *attributes;
17           AuStatus *status; /* RETURN */
18

Arguments

20       server    Specifies the connection to the audio server.
21
22       device    Specifies the ID of the device.
23
24       valuemask Specifies which values in attributes to used.  This must be a
25                 bitwise  inclusive  OR  of  one  or  more of these constants:
26                 AuCompCommonIDMask,  AuCompCommonKindMask,   AuCompCommonUse‐
27                 Mask,  AuCommonFormatMask, AuCommonNumTracksMask, AuCommonAc‐
28                 cessMask, AuCommonDescriptionMask,  AuCompDeviceGainMask,  or
29                 AuCompDeviceLineModeMask.
30
31       attributes
32                 Specifies  the  structure from which the values (as specified
33                 by the value mask) are to be taken.
34
35       status    If non-NULL, flush the output buffer and  return  the  status
36                 from the server.
37

Description

39       AuSetDeviceAttributes  sets  the  attributes of device using only those
40       values in attributes specified  by  valuemask.   Attempting  to  change
41       attributes not marked as changable will fail with a AuBadValue error.
42

Errors

44       AuBadDevice, AuBadLength, AuBadValue.
45

See Also

47       AuGetDeviceAttributes.
48
49       audiolib - Network Audio System C Language Interface
50
51
52
53audiolib - device attributes         1.9.2            AuSetDeviceAttributes(3)
Impressum