The ARSS

Main Page | Download | Code | Examples | Documentation | MFAQ | Roadmap
C:\msys\home\arss\clean code for 0.2d2\gpl.c.html
/* The Analysis & Resynthesis Sound Spectrograph
Copyright (C) 2005-2008 Michel Rouzic

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.*/
C:\msys\home\arss\0.2 source\util.h.html
#ifndef H_UTIL
#define H_UTIL

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <time.h>
#include <string.h>

#include "dsp.h"

int32_t quiet;

extern void win_return();
extern int32_t gettime();
extern inline double roundoff(double x);
extern inline int32_t roundup(double x);
extern float getfloat();
extern inline int32_t smallprimes(int32_t x);
extern inline int32_t nextsprime(int32_t x);
extern inline double log_b(double x);
extern inline uint32_t rand_u32();
extern inline double dblrand();
extern inline uint16_t fread_le_short(FILE *file);
extern inline uint32_t fread_le_word(FILE *file);
extern inline void fwrite_le_short(uint16_t s, FILE *file);
extern inline void fwrite_le_word(uint32_t w, FILE *file);
extern char *getstring();
extern int32_t str_isnumber(char *string);

#endif


This site is in hiatus. Last updated on February 23rd, 2009
©2007-2009 Michel Rouzic