libsent/src/anlz/strip.c File Reference

Strip zero samples from speech data. More...

#include <sent/stddefs.h>
#include <sent/speech.h>

Go to the source code of this file.

Defines

#define IS_INVALID_SAMPLE(A)   ((A) == 0 || (A) == -32767)
 Distinction function: sequence of 0 and -2^15 are invalid.
#define WINDOWLEN   16
 Length of zero sample to detect as invalid sequence.

Functions

int strip_zero (SP16 a[], int len)
 Strip zero samples from speech data.


Detailed Description

Strip zero samples from speech data.

Author:
Akinobu LEE
Date:
Tue Feb 15 00:30:38 2005
Revision
1.1.1.1

Definition in file strip.c.


Function Documentation

int strip_zero ( SP16  a[],
int  len 
)

Strip zero samples from speech data.

Parameters:
a [I/O] speech data
len [in] length of above
Returns:
new length after stripping.

Definition at line 41 of file strip.c.

Referenced by adin_cut().


Generated on Tue Dec 18 16:01:38 2007 for Julius by  doxygen 1.5.4