view src/audiocompress/compress.h @ 3176:dca77b467ea2

Fix a race condition which can occur when flushing the output buffer, causing two locking g_conds to occur at unexpected order, halting the execution.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Jun 2009 02:32:48 +0300
parents 3da1b8942b8b
children
line wrap: on
line source

/* compress.h
** interface to audio compression
*/

#ifndef COMPRESS_H
#define COMPRESS_H

void CompressCfg(int anticlip,
		 int target,
		 int maxgain,
		 int smooth,
		 int buckets);

void CompressDo(void *data, unsigned int numSamples);

void CompressFree(void);

#endif