merged with mpg123 0.59s-pre

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10344 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-06-28 22:52:36 +00:00
parent 1d9599e0ae
commit 4cb0807bce
3 changed files with 433 additions and 798 deletions

File diff suppressed because it is too large Load Diff

View File

@ -94,8 +94,8 @@ struct gr_info_s {
unsigned preflag;
unsigned scalefac_scale;
unsigned count1table_select;
int full_gain[3];
int pow2gain;
real *full_gain[3];
real *pow2gain;
};
struct III_sideinfo

View File

@ -11,6 +11,7 @@
#include "mp3lib/mp3.h"
#include "config.h"
#include "cpudetect.h"
static FILE* mp3file=NULL;
@ -21,6 +22,7 @@ int mplayer_audio_read(char *buf,int size){
#define BUFFLEN 4608
static unsigned char buffer[BUFFLEN];
int main(int argc,char* argv[]){
int len;
int total=0;
@ -30,6 +32,8 @@ int main(int argc,char* argv[]){
mp3file=fopen((argc>1)?argv[1]:"test.mp3","rb");
if(!mp3file){ printf("file not found\n"); exit(1); }
GetCpuCaps(&gCpuCaps);
// MPEG Audio:
#ifdef USE_FAKE_MONO