AuWriteElement - Online Linux Manual PageSection : 3
Updated : 1.9.4
Source : audiolib - write to element

NameAuWriteElement − write data to an ImportClient element in a flow

Synopsis#include <audio/audiolib.h> void AuWriteElement(server, flow, element, num_bytes, data, end_of_data, status)

    
AuServer *server;

    
AuFlowID flow;

    int
element;

    
AuUint32 num_bytes;

    
AuPointer data;

    
AuBool end_of_data;

    
AuStatus *status; /* RETURN */

Argumentsserver Specifies the connection to the audio server. flow Specifies the ID of the flow. element Specifies the index of the ImportClient element to write the data to. num_bytes Specifies the number of bytes of audio data to write. data Specifies the buffer to get the audio data from. end_of_data Specifies if this is the last write for this import. status If non-NULL, flush the output buffer and return the status from the server.

DescriptionAuWriteElement transfers audio data from the client application to the server, writing num_bytes from data to the ImportClient specified by element in the audio flow flow. If end_of_data is AuTrue, the ImportClient's eof flag will be set when the write is completed.

NoteIf the flow is "trivial" (consisting only of an ImportClient and an ExportBucket), the num_samples fields in the ImportClient and ExportBucket are ignored and a write past the end of the bucket will result in an AuBadLength error.

ErrorsAuBadFlow, AuBadElement, AuBadValue, AuBadLength.

See AlsoAuReadElement. audiolib − Network Audio System C Language Interface
0
Johanes Gumabo
Data Size   :   9,602 byte
man-AuWriteElement.3xBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 173,894
Visitor ID   :     :  
Visitor IP   :   18.191.26.149   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.