AuGetDeviceAttributes(3)

πŸ’– AuGetDeviceAttributes(3) πŸ’–

okay bestie, welcome to the audiolib girlies' corner β€” this is a page from the Library Functions Manual and it's literally all about peeking at what your audio device is up to πŸ‘€βœ¨


🌸 NAME 🌸

AuGetDeviceAttributes β€” get device attributes πŸŽ€

✨ SYNOPSIS ✨

#include <audio/audiolib.h>

AuDeviceAttributes *AuGetDeviceAttributes(server, device, status)
    AuServer *server;
    AuDeviceID device;
    AuStatus *status;   /* RETURN */

🫢 ARGUMENTS 🫢

  • server β€” the connection to the audio server. your lil hotline to the sound gods, no cap πŸ“ž
  • device β€” the ID of the audio device. which one are we checking up on, bestie? 🎧
  • status β€” if it's non-NULL, the output buffer gets flushed and the status from the server comes back to you. the /* RETURN */ is doing main character energy, it's giving "i bring gifts back" πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

AuGetDeviceAttributes returns the current attributes for the specified device, or NULL if there was an error 😭. fr fr, that's the whole vibe check.

When you're done with this structure, use AuFreeDeviceAttributes to free it β€” no leaving your toys on the floor, bestie 🧹✨

πŸ’€ ERRORS πŸ’€

  • AuBadDevice β€” yeah, that device said "not me" πŸ™ˆ

🌈 SEE ALSO 🌈

  • AuSetDeviceAttributes, AuListDevices
  • audiolib β€” Network Audio System C Language Interface

okay that's the page, love you, bye πŸ’– this was audiolib β€” device attributes, version 1.9.4, and it's the AuGetDeviceAttributes(3) energy, slay πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from