AuServer(3)

๐Ÿ“ฆ version 1.9.5, in fedora 43, fedora 44

๐Ÿ’– AuServer โ€” the tea on the AuServer structure

ok so bestie, welcome to AuServer(3) from the Library Functions Manual ๐Ÿ’… this is the page that explains the AuServer structure, and it's genuinely so important, so let's get into it โœจ


๐ŸŒธ Name

AuServer โ€” the AuServer structure. that's it, that's the name, she's simple and she's iconic ๐Ÿ‘‘


๐ŸŽ€ Structures

first up, the glow-up itself:

#include <audio/audiolib.h>

typedef struct _AuServer
{
    . . .
}AuServer;

yeah the members are literally . . . in the docs, and there is a reason for that, keep reading bestie ๐Ÿซถ


โœจ MACROS โœจ

๐Ÿšจ GIRL. DO NOT. Do not dereference the members of the AuServer structure directly. Use the access macros instead. that's the whole rule, no cap.

and just so we're clear: server is a pointer to a AuServer structure. got it? good ๐Ÿ’–

  • AuServerConnectionNumber(server) โ€” accesses the int connection number. ๐Ÿ”Œ
  • AuServerQLength(server) โ€” accesses the int value with the length of the input queue. ๐Ÿ“ฅ
  • AuServerVendor(server) โ€” accesses the NUL-terminated string giving the identification of the audio server vendor. ๐Ÿท๏ธ
  • AuServerProtocolMajorVersion(server) โ€” accesses the int value of the major protocol revision number of the audio server. ๐Ÿ”ข
  • AuServerProtocolMinorVersion(server) โ€” accesses the int value of the minor protocol revision number of the audio server. ๐Ÿ”ข
  • AuServerVendorRelease(server) โ€” accesses the int value with the release number of the audio server. ๐Ÿš€
  • AuServerString(server) โ€” accesses the NUL-terminated string giving the server name. ๐Ÿ“›
  • AuServerNextRequest(server) โ€” accesses the AuUint32 serial ID of the next protocol request to be sent. ๐Ÿ“ค
  • AuServerLastKnownRequestProcessed(server) โ€” accesses the AuUint32 serial ID of the last known protocol request sent. ๐Ÿ“ฌ
  • AuServerResourceBase(server) โ€” accesses the AuID base used in constructing resource ID's. ๐Ÿงฑ
  • AuServerResourceMask(server) โ€” accesses the AuID mask used in constructing resource ID's. ๐ŸŽญ
  • AuServerMinSampleRate(server) โ€” accesses the int value with the minimum sample rate supported by the server. ๐Ÿข
  • AuServerMaxSampleRate(server) โ€” accesses the int value with the maximum sample rate supported by the server. ๐Ÿ‡
  • AuServerMaxTracks(server) โ€” accesses the int value indicating the maximum number of tracks supported by the server. ๐ŸŽš๏ธ
  • AuServerNumFormats(server) โ€” accesses the int value indicating the number of formats supported by the server. ๐ŸŽ›๏ธ
  • AuServerNumElementTypes(server) โ€” accesses the int value indicating the number of element types supported by the server. ๐Ÿงฉ
  • AuServerNumWaveForms(server) โ€” accesses the int value indicating the number of waveform generators supported by the server. ๐ŸŒŠ
  • AuServerNumActions(server) โ€” accesses the int value indicating the number of actions supported by the server. โšก
  • AuServerNumDevices(server) โ€” accesses the int value indicating the number of server devices. ๐ŸŽง
  • AuServerNumBuckets(server) โ€” accesses the int value indicating the number of server buckets. ๐Ÿชฃ
  • AuServerFormat(server, n) โ€” accesses the int value of the n'th format supported by the server. ๐Ÿ”
  • AuServerElementType(server, n) โ€” accesses the int value of the n'th element supported by the server. ๐Ÿ”
  • AuServerWaveForm(server, n) โ€” accesses the int value of the n'th waveform supported by the server. ๐Ÿ”
  • AuServerAction(server, n) โ€” accesses the int value of the n'th action supported by the server. ๐Ÿ”
  • AuServerDevice(server, n) โ€” accesses the AuDeviceAttributes structure of the n'th server device. ๐ŸŽฎ
  • AuServerBucket(server, n) โ€” accesses the AuBucketAttributes structure of the n'th server bucket. ๐Ÿชฃ
  • AuClientOfID(server, resource) โ€” extracts the ClientID from resource. ๐Ÿชช
  • AuID AuAllocID(server) โ€” invokes the ID allocator function. ๐Ÿ†”

๐Ÿฆ‹ Description

The AuServer structure describes the connection to the audio server. that's the vibe, that's the whole point, she's literally the main character of your audio-server connection โœจ


๐ŸŒˆ See Also

  • AuCloseServer.
  • audiolib โ€” Network Audio System C Language Interface ๐Ÿ’œ

and that's the page bestie!! mwah ๐Ÿ’‹ stay hydrated, don't dereference those struct members, and remember: access macros are your besties fr fr ๐Ÿซถ

this has been audiolib, version 1.9.5, and it's giving AuServer(3) energy โ€” see you in the next manpage, love u, bye!! ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from