sound_if.c
Upload User: caisangzi8
Upload Date: 2013-10-25
Package Size: 15756k
Code Size: 0k
Category:

DVD

Development Platform:

C/C++

  1. #include "global.h"
  2. #include "osd.h"
  3. #include "func.h"
  4. #include "ircmd.h"
  5. #include "memmap.h"
  6. #include "dsp3_if.h"
  7. #include "stdlib.h"
  8. #include "cchar.h"
  9. #define MAX_PAGE_ITEM   4
  10. extern UINT8 sound_sel[MAX_PAGE_ITEM];
  11. #ifdef SUPPORT_3DSOUND
  12. BYTE soundGetSurroundType()
  13. {
  14. BYTE iVal = 0;
  15. iVal = sound_sel[0] - 2;
  16. return iVal;
  17. }
  18. #else
  19. BYTE soundGetSurroundType() {return 0;}
  20. #endif