Scroll to navigation

AuMakeElementExportMonitor(3) Library Functions Manual AuMakeElementExportMonitor(3)


AuMakeElementExportMonitor - initialize an ExportMonitor element


#include <audio/audiolib.h>

AuMakeElementExportMonitor(element, input, event_rate, format, num_tracks)
AuElement *element; /* RETURN */
unsigned short input;
unsigned short event_rate;
unsigned char format;
unsigned char num_tracks;


Returns the initialized element.
Specifies the index of the element to supply the audio data to monitor.
Specifies the event rate for the monitor.
Specifies the format of the audio data. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB.
Specifies the number of tracks in the audio data.


AuMakeElementExportMonitor sets the type member of element to AuElementTypeExportMonitor and initializes the exportmonitor member of element with the remaining arguments.

AuMakeElementExportMonitor is implemented as a macro.

See Also

AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExportBucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMakeElementImportBucket, AuMakeElementImportClient, AuMakeElementImportDevice, AuMakeElementImportWaveForm, AuMakeElementMultiplyConstant, AuMakeElementSum.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - element initialization