1159b3361Sopenharmony_ci/*
2159b3361Sopenharmony_ci * Copyright (C) 1999-2010 The L.A.M.E. project
3159b3361Sopenharmony_ci *
4159b3361Sopenharmony_ci * Initially written by Michael Hipp, see also AUTHORS and README.
5159b3361Sopenharmony_ci *
6159b3361Sopenharmony_ci * This library is free software; you can redistribute it and/or
7159b3361Sopenharmony_ci * modify it under the terms of the GNU Library General Public
8159b3361Sopenharmony_ci * License as published by the Free Software Foundation; either
9159b3361Sopenharmony_ci * version 2 of the License, or (at your option) any later version.
10159b3361Sopenharmony_ci *
11159b3361Sopenharmony_ci * This library is distributed in the hope that it will be useful,
12159b3361Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
13159b3361Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14159b3361Sopenharmony_ci * Library General Public License for more details.
15159b3361Sopenharmony_ci *
16159b3361Sopenharmony_ci * You should have received a copy of the GNU Library General Public
17159b3361Sopenharmony_ci * License along with this library; if not, write to the
18159b3361Sopenharmony_ci * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19159b3361Sopenharmony_ci * Boston, MA 02111-1307, USA.
20159b3361Sopenharmony_ci */
21159b3361Sopenharmony_ci
22159b3361Sopenharmony_ci
23159b3361Sopenharmony_ci#ifndef LAYER2_H_INCLUDED
24159b3361Sopenharmony_ci#define LAYER2_H_INCLUDED
25159b3361Sopenharmony_ci
26159b3361Sopenharmony_ci
27159b3361Sopenharmony_cistruct al_table2 {
28159b3361Sopenharmony_ci    short   bits;
29159b3361Sopenharmony_ci    short   d;
30159b3361Sopenharmony_ci};
31159b3361Sopenharmony_ci
32159b3361Sopenharmony_ci
33159b3361Sopenharmony_ci
34159b3361Sopenharmony_civoid    hip_init_tables_layer2(void);
35159b3361Sopenharmony_ciint     decode_layer2_sideinfo(PMPSTR mp);
36159b3361Sopenharmony_ciint     decode_layer2_frame(PMPSTR mp, unsigned char *pcm_sample, int *pcm_point);
37159b3361Sopenharmony_ci
38159b3361Sopenharmony_ci
39159b3361Sopenharmony_ci#endif
40