view src/libSAD/noicegen.h @ 4606:6b76f8589f5d

Added a temporary function str_assert_utf8() for finding points in code where string data should be UTF-8 but might not be. In case of valid UTF-8 a copy of string is returned. If string is NOT valid UTF-8, a call backtrace is printed and str_to_utf() is called instead.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jun 2008 23:17:47 +0300
parents b0ca963fd965
children
line wrap: on
line source

#ifndef NOICEGEN_H
#define NOICEGEN_H

#include <inttypes.h>

int triangular_dither_noise(int nbits);
double triangular_dither_noise_f(void);
void noicegen_init_rand(uint32_t seed);

#endif /*NOICEGEN_H*/