AuServer(3)
๐ 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 theintconnection number. ๐AuServerQLength(server)โ accesses theintvalue 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 theintvalue of the major protocol revision number of the audio server. ๐ขAuServerProtocolMinorVersion(server)โ accesses theintvalue of the minor protocol revision number of the audio server. ๐ขAuServerVendorRelease(server)โ accesses theintvalue with the release number of the audio server. ๐AuServerString(server)โ accesses the NUL-terminated string giving the server name. ๐AuServerNextRequest(server)โ accesses theAuUint32serial ID of the next protocol request to be sent. ๐คAuServerLastKnownRequestProcessed(server)โ accesses theAuUint32serial ID of the last known protocol request sent. ๐ฌAuServerResourceBase(server)โ accesses theAuIDbase used in constructing resource ID's. ๐งฑAuServerResourceMask(server)โ accesses theAuIDmask used in constructing resource ID's. ๐ญAuServerMinSampleRate(server)โ accesses theintvalue with the minimum sample rate supported by the server. ๐ขAuServerMaxSampleRate(server)โ accesses theintvalue with the maximum sample rate supported by the server. ๐AuServerMaxTracks(server)โ accesses theintvalue indicating the maximum number of tracks supported by the server. ๐๏ธAuServerNumFormats(server)โ accesses theintvalue indicating the number of formats supported by the server. ๐๏ธAuServerNumElementTypes(server)โ accesses theintvalue indicating the number of element types supported by the server. ๐งฉAuServerNumWaveForms(server)โ accesses theintvalue indicating the number of waveform generators supported by the server. ๐AuServerNumActions(server)โ accesses theintvalue indicating the number of actions supported by the server. โกAuServerNumDevices(server)โ accesses theintvalue indicating the number of server devices. ๐งAuServerNumBuckets(server)โ accesses theintvalue indicating the number of server buckets. ๐ชฃAuServerFormat(server, n)โ accesses theintvalue of the n'th format supported by the server. ๐AuServerElementType(server, n)โ accesses theintvalue of the n'th element supported by the server. ๐AuServerWaveForm(server, n)โ accesses theintvalue of the n'th waveform supported by the server. ๐AuServerAction(server, n)โ accesses theintvalue of the n'th action supported by the server. ๐AuServerDevice(server, n)โ accesses theAuDeviceAttributesstructure of the n'th server device. ๐ฎAuServerBucket(server, n)โ accesses theAuBucketAttributesstructure of the n'th server bucket. ๐ชฃAuClientOfID(server, resource)โ extracts theClientIDfrom 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
- fedora 43: nas-devel 1.9.5-11.fc41 ยท MIT
- fedora 43: nas-devel 1.9.5-11.fc41 ยท MIT
- fedora 43: nas-devel 1.9.5-14.fc43 ยท MIT
- fedora 43: nas-devel 1.9.5-14.fc43 ยท MIT
- fedora 44: nas-devel 1.9.5-15.fc44 ยท MIT
- fedora 44: nas-devel 1.9.5-15.fc44 ยท MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms