Mercurial > SDL_sound_CoreAudio
diff decoders/mpglib/mpglib_sdlsound.h @ 292:a9e211c3faa4
Cleanups and audio format determination.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 17 Mar 2002 21:16:33 +0000 |
parents | 9b6e82f7c853 |
children | 5b00e43ec23c |
line wrap: on
line diff
--- a/decoders/mpglib/mpglib_sdlsound.h Sun Mar 17 21:15:07 2002 +0000 +++ b/decoders/mpglib/mpglib_sdlsound.h Sun Mar 17 21:16:33 2002 +0000 @@ -1,10 +1,10 @@ struct buf { - unsigned char *pnt; + unsigned char *pnt; long size; long pos; - struct buf *next; - struct buf *prev; + struct buf *next; + struct buf *prev; }; struct framebuf { @@ -18,15 +18,15 @@ struct buf *head,*tail; int bsize; int framesize; - int fsizeold; + int fsizeold; struct frame fr; - unsigned char bsspace[2][MAXFRAMESIZE+512]; /* MAXFRAMESIZE */ + unsigned char bsspace[2][MAXFRAMESIZE+512]; /* MAXFRAMESIZE */ real hybrid_block[2][2][SBLIMIT*SSLIMIT]; int hybrid_blc[2]; unsigned long header; int bsnum; real synth_buffs[2][2][0x110]; - int synth_bo; + int synth_bo; }; #ifndef BOOL @@ -44,7 +44,7 @@ BOOL InitMP3(struct mpstr *mp); int decodeMP3(struct mpstr *mp,char *inmemory,int inmemsize, - char *outmemory,int outmemsize,int *done); + char *outmemory,int outmemsize,int *done); void ExitMP3(struct mpstr *mp); #ifdef __cplusplus