audif.c
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:35k
- //#define USE_LPCM_REPLACE_PCM //terry,2004/3/4 08:40PM
- #include "set.h"//terry,2004/1/12 05:01PM
- #include "types.h"
- #include "memmap.h"
- #include "memmap0.h"//terry,2004/1/12 05:01PM
- #include "regmap.h"
- #include "config.h"
- #include "global.h"
- #include "func.h"
- #include "dsp3_if.h"
- #include "dsp3rom.h"
- #include "auddrv.h" //2004AUDDRV oliver 20041004 for using audio driver purpose
- //#include "audif.h"
- #include "dsp3_if.h"
- #include "mpgkern.h"
- #include "setup.h"
- #include "UartTxd.h"
- #include "osd.h"
- #include "gpio.h"
- #include "kinf.h"
- #ifdef SUPPORT_MIDI_MENU_SEL
- #include "fsMidiUI.h"
- #endif
- #ifndef DVDRELEASE
- //#define AUDIF_DBG 1
- #endif
- #define audif_puts(s) ((void)0)
- #define audif_printf(s...) ((void)0)
- #ifdef AUDIF_DBG
- #include "sio.h"
- #include "emuio.h"
- #define MONE_DOWNLOAD_CODEC
- #undef audif_puts
- #undef audif_printf
- #define audif_puts(s) io_write(s)
- #define audif_printf(s...)
- do {
- psprintf(linebuf, ##s); io_write(linebuf);
- } while (0)
- #endif
- #if 0 //2004AUDDRV move to auddrv.c
- #ifdef SUPPORT_MP4
- int mp4_aud_channel_flg=0;
- int mp4_aud_channel=0;
- #endif
- #endif
- #ifdef NEW_UART_COMMAND //lijinhai solve for fuss ac3
- BYTE first_init_disk_audio=0;
- #endif
- //2004AUDDRV #ifdef SUPPORT_RECEIVER
- //2004AUDDRV void init_new_dsp_code(UINT32 coding_mode); // benson modify 2004/3/1 03:31