xine-lib: xine-lib-1.2.13/src/post/goom/sound_tester.c File Reference

xine-lib 1.2.13-20230125hg15249

Macros | Functions
sound_tester.c File Reference
`#include "sound_tester.h"`
`#include <stdlib.h>`
`#include <string.h>`

## Macros
#define | BIG_GOOM_DURATION 100
#define | BIG_GOOM_SPEED_LIMIT 0.1f
#define | ACCEL_MULT 0.95f
#define | SPEED_MULT 0.99f

## Functions
void | evaluate_sound (signed short int data[2][512], SoundInfo *info)

## Macro Definition Documentation

## ◆ ACCEL_MULT

#define ACCEL_MULT 0.95f

Referenced by evaluate_sound().

## ◆ BIG_GOOM_DURATION

#define BIG_GOOM_DURATION 100

Referenced by evaluate_sound().

## ◆ BIG_GOOM_SPEED_LIMIT

#define BIG_GOOM_SPEED_LIMIT 0.1f

## ◆ SPEED_MULT

#define SPEED_MULT 0.99f

Referenced by evaluate_sound().

## Function Documentation

## ◆ evaluate_sound()

void evaluate_sound | ( | signed short int | data[2][512],
|  | SoundInfo * | sndInfo )

change les donnees du SoundInfo

References ACCEL_MULT, _SOUND_INFO::accel_p, _SOUND_INFO::accelvar, _SOUND_INFO::allTimesMax, BIG_GOOM_DURATION, _SOUND_INFO::biggoom_factor_p, _SOUND_INFO::biggoom_speed_limit_p, _SOUND_INFO::bigGoomLimit, _PARAM::change_listener, _SOUND_INFO::cycle, FVAL, _SOUND_INFO::goom_limit, _SOUND_INFO::goom_limit_p, _SOUND_INFO::goom_power_p, _SOUND_INFO::goomPower, IVAL, _SOUND_INFO::last_biggoom_p, _SOUND_INFO::last_goom_p, _SOUND_INFO::prov_max, _SOUND_INFO::samples, SPEED_MULT, _SOUND_INFO::speed_p, _SOUND_INFO::speedvar, _SOUND_INFO::timeSinceLastBigGoom, _SOUND_INFO::timeSinceLastGoom, _SOUND_INFO::totalgoom, _SOUND_INFO::volume, and _SOUND_INFO::volume_p.

Referenced by goom_update().