Profile

AuSetDeviceAttributes

AuSetDeviceAttributes

Name

AuSetDeviceAttributes - set device attributes

Synopsis

#include <audio/audiolib.h>

void AuSetDeviceAttributes(server, device, valuemask, attributes, status)

    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: 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

AuGetDeviceAttributes
Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions


Sign-in with one of the following services

Almost finished!

Please select a screen name for NET SOUP.



 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.

COMPLIMENTARY EXAMPLES

We have no example yet for this entry


Your Name
Now

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed