/*M*
//
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 1995 Intel Corporation. All Rights Reserved.
//
//  RCS:
//      $Source: d:/rcs/nsp20/include/nsplaw.h $
//      $Revision: 1.3 $
//      $Date: 1995/08/07 11:00:22 $
//
//  Purpose :  Convert samples from 8-bit A-law encoded format
//             to linear, or vice-versa.
//  Contents:
//           nsp?bALawToLin  -
//                     Converts the 8-bit A-law encoded samples
//                     to linear samples.
//           nsp?bLinToALaw  -
//                     Encodes the linear samples
//                     using the 8-bit A-law format.
//           nsp?bMuLawToLin  -
//                     Converts the 8-bit Mu-law encoded samples
//                     to linear samples.
//           nsp?bLinToMuLaw  -
//                     Encodes the linear samples
//                     using the 8-bit Mu-law format.
*M*/

#if !defined (_NSPLAW_H) || defined _NSP_BLDPCS
# define _NSPLAW_H

NSPAPI(void,nspsbALawToLin, (const unsigned char *src, float  *dst, int len));
NSPAPI(void,nspsbMuLawToLin,(const unsigned char *src, float  *dst, int len));
NSPAPI(void,nspsbLinToALaw, (const float  *src, unsigned char *dst, int len));
NSPAPI(void,nspsbLinToMuLaw,(const float  *src, unsigned char *dst, int len));

NSPAPI(void,nspdbALawToLin, (const unsigned char *src, double *dst, int len));
NSPAPI(void,nspdbMuLawToLin,(const unsigned char *src, double *dst, int len));
NSPAPI(void,nspdbLinToALaw, (const double *src, unsigned char *dst, int len));
NSPAPI(void,nspdbLinToMuLaw,(const double *src, unsigned char *dst, int len));

#endif
