AuMakeElementAddConstant(3nas)

AuMakeElementAddConstant3nas

Initialize an addconstant element

Usage

#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 AuFixedPointFromSum and AuFixedPointFromFraction.

Overview

AuMakeElementAddConstant sets the type member of element to AuElementTypeAddConstant and initializes the addconstant member of element with the remaining arguments.

AuMakeElementAddConstant is implemented as a macro.

Releases

14 releases since Debian 2.1 (Slink); the text changed 6 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0–6.0
  6. 7
  7. 8–13

From libaudio-dev 1.9.4-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.