/*---------------------------------------------------------------------------*\

	FILE....: hostvox.h
	TYPE....: C Header File
	AUTHOR..: Voicetronix
	DATE....: 13/02/2006

	Header file for:
	
	HostDSP VOX detection.

\*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*\

         Voicetronix Voice Processing Board (VPB) Software

         Copyright (C) 1999-2006 Voicetronix www.voicetronix.com.au

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

         This library 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
         Lesser General Public License for more details.

         You should have received a copy of the GNU Lesser General Public
         License along with this library; if not, write to the Free Software
         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
	 USA

\*---------------------------------------------------------------------------*/

#ifndef __HOSTVOX_H__
#define __HOSTVOX_H__
#include "contypes.h"

void hostvox_open(void **vsv, int id);
void hostvox_close(void *vsv);
int hostvox_analyse(void *vsv, short *samples, int count);
void hostvox_update_levels(void *vsv, word *m);
long hostvox_energy(void *vsv);

#endif
