Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AuMakeElementAddConstant(3) Library Functions Manual AuMakeElementAddConstant(3)

Name
     AuMakeElementAddConstant - initialize an AddConstant element

Synopsis
     #include <audio/audiolib.h>

     AuMakeElementAddConstant(element, input, constant)
	 AuElement *element; /* RETURN */
	 unsigned short input;
	 AuFixedPoint constant;

Arguments
     element   Returns the initialized element.

     input     Specifies  the  index of the element to supply the audio data for
	       this element.

     constant  Specifies the fixed point value to be added to each  sample  from
	       input.	Fixed point values can be constructed with AuFixedPoint-
	       FromSum and AuFixedPointFromFraction.

Description
     AuMakeElementAddConstant sets the type member of  element	to  AuElementTy-
     peAddConstant  and  initializes  the addconstant member of element with the
     remaining arguments.

     AuMakeElementAddConstant is implemented as a macro.

See Also
     AuMakeElementBundle, AuMakeElementExportBucket,  AuMakeElementExportClient,
     AuMakeElementExportDevice, AuMakeElementExportMonitor, AuMakeElementImport-
     Bucket,  AuMakeElementImportClient,  AuMakeElementImportDevice,  AuMakeEle-
     mentImportWaveForm, AuMakeElementMultiplyConstant, AuMakeElementSum.

     audiolib - Network Audio System C Language Interface

audiolib - element initialization     1.9.4	     AuMakeElementAddConstant(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuMakeElementAddConstant&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help