Mercurial > hg > audiostuff
comparison spandsp-0.0.6pre17/src/spandsp/private/noise.h @ 4:26cd8f1ef0b1
import spandsp-0.0.6pre17
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 15:50:58 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:c6c5a16ce2f2 | 4:26cd8f1ef0b1 |
---|---|
1 /* | |
2 * SpanDSP - a series of DSP components for telephony | |
3 * | |
4 * private/noise.h - A low complexity audio noise generator, suitable for | |
5 * real time generation (current just approx AWGN) | |
6 * | |
7 * Written by Steve Underwood <steveu@coppice.org> | |
8 * | |
9 * Copyright (C) 2005 Steve Underwood | |
10 * | |
11 * All rights reserved. | |
12 * | |
13 * This program is free software; you can redistribute it and/or modify | |
14 * it under the terms of the GNU Lesser General Public License version 2.1, | |
15 * as published by the Free Software Foundation. | |
16 * | |
17 * This program is distributed in the hope that it will be useful, | |
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 * GNU Lesser General Public License for more details. | |
21 * | |
22 * You should have received a copy of the GNU Lesser General Public | |
23 * License along with this program; if not, write to the Free Software | |
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
25 * | |
26 * $Id: noise.h,v 1.1 2008/11/30 12:45:09 steveu Exp $ | |
27 */ | |
28 | |
29 /*! \file */ | |
30 | |
31 #if !defined(_SPANDSP_PRIVATE_NOISE_H_) | |
32 #define _SPANDSP_PRIVATE_NOISE_H_ | |
33 | |
34 /*! | |
35 Noise generator descriptor. This contains all the state information for an instance | |
36 of the noise generator. | |
37 */ | |
38 struct noise_state_s | |
39 { | |
40 int class_of_noise; | |
41 int quality; | |
42 int32_t rms; | |
43 uint32_t rndnum; | |
44 int32_t state; | |
45 }; | |
46 | |
47 #endif | |
48 /*- End of file ------------------------------------------------------------*/ |