mirror of https://github.com/mpv-player/mpv
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:
parent
1d9599e0ae
commit
4cb0807bce
1129
mp3lib/layer3.c
1129
mp3lib/layer3.c
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
@ -31,6 +33,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
|
||||
MP3_Init(0);
|
||||
|
|
Loading…
Reference in New Issue