1 /*
2  * SpanDSP - a series of DSP components for telephony
3  *
4  * g722.h - The ITU G.722 codec.
5  *
6  * Written by Steve Underwood <steveu@coppice.org>
7  *
8  * Copyright (C) 2005 Steve Underwood
9  *
10  *  Despite my general liking of the GPL, I place my own contributions
11  *  to this code in the public domain for the benefit of all mankind -
12  *  even the slimy ones who might try to proprietize my work and use it
13  *  to my detriment.
14  *
15  * Based on a single channel G.722 codec which is:
16  *
17  *****    Copyright (c) CMU    1993      *****
18  * Computer Science, Speech Group
19  * Chengxiang Lu and Alex Hauptmann
20  *
21  * $Id: g722.h,v 1.1 2012/08/07 11:33:45 sobomax Exp $
22  */
23 
24 
25 /*! \file */
26 
27 #if !defined(_G722_H_)
28 #define _G722_H_
29 
30 /*! \page g722_page G.722 encoding and decoding
31 \section g722_page_sec_1 What does it do?
32 The G.722 module is a bit exact implementation of the ITU G.722 specification for all three
33 specified bit rates - 64000bps, 56000bps and 48000bps. It passes the ITU tests.
34 
35 To allow fast and flexible interworking with narrow band telephony, the encoder and decoder
36 support an option for the linear audio to be an 8k samples/second stream. In this mode the
37 codec is considerably faster, and still fully compatible with wideband terminals using G.722.
38 
39 \section g722_page_sec_2 How does it work?
40 ???.
41 */
42 
43 enum
44 {
45     G722_SAMPLE_RATE_8000 = 0x0001,
46     G722_PACKED = 0x0002
47 };
48 
49 #endif
50