Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/replicant/nsmp3dec/mp3tools.h

67 lines
1.5 KiB
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
/***************************************************************************\
*
* MPEG Layer3-Audio Decoder
* <EFBFBD> 1997-2006 by Fraunhofer IIS
* All Rights Reserved
*
* filename: mp3tools.h
* project : ISO/MPEG-Decoder
* author : Martin Sieler
* date : 1998-05-26
* contents/description: HEADER - layer III processing
*
*
\***************************************************************************/
/*
* $Date: 2011/01/13 22:43:21 $
* $Id: mp3tools.h,v 1.2 2011/01/13 22:43:21 audiodsp Exp $
*/
/*-------------------------------------------------------------------------*/
#ifndef __MP3TOOLS_H__
#define __MP3TOOLS_H__
/* ------------------------ includes --------------------------------------*/
#include "mpeg.h"
/* ------------------------------------------------------------------------*/
void mp3ScaleFactorUpdate
(
const MP3SI_GRCH &SiL,
const MP3SI_GRCH &SiR,
const MPEG_INFO &Info,
MP3SCF &ScaleFac
);
void mp3StereoProcessing
(
float *pLeft,
float *pRight,
MP3SI_GRCH &SiL,
MP3SI_GRCH &SiR,
const MP3SCF &ScaleFac, /* right channel!! */
const MPEG_INFO &Info
);
void mp3Reorder
(
float *pData,
const MP3SI_GRCH &Si,
const MPEG_INFO &Info
);
void mp3Antialias
(
float *pData,
MP3SI_GRCH &Si,
const MPEG_INFO &Info
);
/*-------------------------------------------------------------------------*/
#endif