You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.7 KiB
44 lines
1.7 KiB
/*****************************************************************************
|
|
* audio_decoder.h : audio decoder interface
|
|
*****************************************************************************
|
|
* Copyright (C) 1999, 2000 VideoLAN
|
|
* $Id: generic.h,v 1.2 2002/12/06 16:34:05 sam Exp $
|
|
*
|
|
* Authors: Michel Kaempf <maxx@via.ecp.fr>
|
|
*
|
|
* This program 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 program 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 program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
|
|
*****************************************************************************/
|
|
|
|
/**** audio decoder API - public audio decoder structures */
|
|
|
|
typedef struct audiodec_s audiodec_t;
|
|
|
|
typedef struct adec_sync_info_s {
|
|
unsigned int sample_rate; /* sample rate in Hz */
|
|
unsigned int frame_size; /* frame size in bytes */
|
|
unsigned int bit_rate; /* nominal bit rate in kbps */
|
|
vlc_bool_t b_stereo; /* mono/stereo */
|
|
} adec_sync_info_t;
|
|
|
|
typedef struct adec_bank_s
|
|
{
|
|
float v1[512];
|
|
float v2[512];
|
|
float * actual;
|
|
int pos;
|
|
|
|
} adec_bank_t;
|
|
|
|
|
|
|