XMMS2
Macros | Functions
format.c File Reference
#include <math.h>
#include "common.h"

Macros

#define FFT_LEN   XMMSC_VISUALIZATION_WINDOW_SIZE
 
#define FFT_BITS   9
 
#define AMP_LOG_SCALE_THRESHOLD0   0.001f
 
#define AMP_LOG_SCALE_DIVISOR   6.908f /* divisor = -log threshold */
 
#define FREQ_LOG_SCALE_BASE   2.0f
 

Functions

void fft_init ()
 
short fill_buffer (int16_t *dest, xmmsc_vis_properties_t *prop, int channels, int size, short *src)
 

Macro Definition Documentation

#define AMP_LOG_SCALE_DIVISOR   6.908f /* divisor = -log threshold */
#define AMP_LOG_SCALE_THRESHOLD0   0.001f
#define FFT_BITS   9
#define FFT_LEN   XMMSC_VISUALIZATION_WINDOW_SIZE

Referenced by fft_init().

#define FREQ_LOG_SCALE_BASE   2.0f

Function Documentation

void fft_init ( void  )

Referenced by send_data().

short fill_buffer ( int16_t *  dest,
xmmsc_vis_properties_t prop,
int  channels,
int  size,
short *  src 
)

Referenced by write_shm(), and write_udp().