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

	FILE....: mu-alaw.h
	AUTHOR..: Ben Kramer
	DATE....: 29/11/2005

	A/Mu-law compression functions.
	Adapted from library for use in new driver by Ben Kramer.

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

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

         Voicetronix Voice Processing Board (VPB) Software

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

         This library is free software; you can redistribute it and/or
         modify it under the terms of the GNU General Public License
         as published by the Free Software Foundation; either version 2
         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
         General Public License for more details.

         You should have received a copy of the GNU General Public License
         along with this library; if not, write to the Free Software
         Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
         MA  02110-1301  USA

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

#ifndef __MUALAW_H__
#define  __MUALAW_H__
char mulaw_encode(short linear);
short mulaw_decode(char mulaw);
char alaw_encode(short linear);
short alaw_decode(char alaw);
#endif
