NJB_Adjust_Sound(3)

NJB_Adjust_Sound3

Adjust sound settings on the njb

Usage

#include <libnjb.h>

extern int njb_error

int NJB_Adjust_Sound(njb_t *njb, u_int8_t effect, u_int16_t value);

Library

libnjb

Overview

This function modified a sound parameter in the NJB, it is used for both volume and EAX settings. The previous values can be accessed using NJB_Get_EAX(). This struct also provide maximum and minimum values for some of the values, as well as the offset value for different EAX effects.

The following values are valid effect numbers:

NJB_SOUND_SET_VOLUME

Sets the volume, valid values 1-99.

NJB_SOUND_SET_BASS

Sets the bass value of the equalizer. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_TREBLE

Sets the treble value of the equalizer. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_MUTING

Set the muting status on the Jukebox. 1 = mute device, 0 = unmute device.

NJB_SOUND_SET_MIDRANGE

Sets the midrange value of the equalizer. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_MIDFREQ

Sets the middle frequency for the midrange setting of the equalizer. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_EAX

Sets the EAX type. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_EAXAMT

Sets the EAX value (amount) for currently selected EAX type. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_HEADPHONE

Sets the headphone mode. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_REAR

Sets the rear speaker mode. Valid value range retrieved from the EAX structure.

NJB_SOUND_SET_EQSTATUS

Sets the equalizer status, 1 = equalizer active, 0 = equalizer deactivated.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

From libnjb1-doc 1.1-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.