njb_adjust_sound(3)

NAME

NJB_Adjust_Sound - Adjust sound settings on the NJB

LIBRARY

libnjb

SYNOPSIS

#include <libnjb.h>
extern int njb_error
int   NJB_Adjust_Sound(njb_t   *njb,   u_int8_t    effect,
u_int16_t value);

DESCRIPTION

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 val
ue 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 set
ting 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 se
lected EAX type. Valid value range retrieved from the EAX struc
ture.
NJB_SOUND_SET_HEADPHONE
Sets the headphone mode. Valid value range re
trieved 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.

SEE ALSO

NJB_Get_EAX(3)
January 2003
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout