---
name: "njb_eax_struct"
section: "3"
platform: "linux"
package: "libnjb-doc"
version: "2.2.5-4.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/njb_eax_struct"
---

# njb\_eax\_struct(3)

## NAME

njb\_eax\_struct -

## SYNOPSIS

`#include <libnjb.h>`

### Data Fields

u\_int16\_t **number**\
 char \* **name**\
 u\_int8\_t **exclusive**\
 u\_int8\_t **group**\
 **njb\_eax\_control\_t** **type**\
 int16\_t **current\_value**\
 int16\_t **min\_value**\
 int16\_t **max\_value**\
 char \*\* **option\_names**\
 **njb\_eax\_t** \* **next**\

## Detailed Description

This is the EAX API type.

**Examples:**

**dumpeax.c**.

## Field Documentation

### int16\_t njb\_eax\_struct::current\_value The current value of this effect. Notice that this value may be negative!

**Examples:**  **dumpeax.c**.

Referenced by eax\_unpack(), and new\_eax\_type().

### u\_int8\_t njb\_eax\_struct::exclusive 0x00 = not exclusive, 0x01 = exclusive The 'exclusive' attribute signifies if this effect can be used in parallell with other EAX effects, GUI:s shall make sure all other effects are reset to default values when one effect is chosen.

**Examples:**  **dumpeax.c**.

Referenced by new\_eax\_type().

### u\_int8\_t njb\_eax\_struct::group The visual group for this effect - effects appearing after each other are grouped if their group numbers are identical

**Examples:**  **dumpeax.c**.

Referenced by eax\_unpack(), and new\_eax\_type().

### int16\_t njb\_eax\_struct::max\_value The maximum value for this effect.

**Examples:**  **dumpeax.c**.

Referenced by destroy\_eax\_type(), eax\_unpack(), and new\_eax\_type().

### int16\_t njb\_eax\_struct::min\_value The minumum value for this effect. Notice that this value may be negative!

**Examples:**  **dumpeax.c**.

Referenced by destroy\_eax\_type(), eax\_unpack(), and new\_eax\_type().

### char\* njb\_eax\_struct::name The name of this effect

**Examples:**  **dumpeax.c**.

Referenced by destroy\_eax\_type(), eax\_unpack(), and new\_eax\_type().

### njb\_eax\_t\* njb\_eax\_struct::next Only to be used inside of libnjb

Referenced by eax\_unpack(), new\_eax\_type(), and njb\_get\_nexteax().

### u\_int16\_t njb\_eax\_struct::number The number of this effect

**Examples:**  **dumpeax.c**.

Referenced by eax\_unpack(), and new\_eax\_type().

### char\*\* njb\_eax\_struct::option\_names Array with names for the selections, if this is a fixed option control. It may not be dereferenced for slider controls.

**Examples:**  **dumpeax.c**.

Referenced by destroy\_eax\_type(), eax\_unpack(), and new\_eax\_type().

### njb\_eax\_control\_t njb\_eax\_struct::type NJB\_EAX\_NO\_CONTROL, NJB\_EAX\_SLIDER\_CONTROL, NJB\_EAX\_FIXED\_OPTION\_CONTROL

this replaces selectable, scalable with a single variable

**Examples:**  **dumpeax.c**.

Referenced by destroy\_eax\_type(), eax\_unpack(), and new\_eax\_type().

## Author

Generated automatically by Doxygen for libnjb from the source code.
