SNDFE.cpp 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #include "SNDFE.h"
  2. #include <stdio.h>
  3. int SNDFE_Music_eMode = -1;
  4. //-------------------------------------------------------------------------------------------------
  5. //001D142C
  6. void SNDFE_Init() {
  7. }
  8. //-------------------------------------------------------------------------------------------------
  9. //001D146C
  10. void SNDFE_Process() {
  11. LOGE("SNDFE_Process");
  12. }
  13. //-------------------------------------------------------------------------------------------------
  14. //001D1484
  15. void SNDFE_Music_Process(float) {
  16. }
  17. //-------------------------------------------------------------------------------------------------
  18. //001D158C
  19. void SNDFE_Shutdown() {
  20. }
  21. //-------------------------------------------------------------------------------------------------
  22. //001D15DC
  23. void SNDFE_IGM_Init() {
  24. }
  25. //-------------------------------------------------------------------------------------------------
  26. //001D1684
  27. void SNDFE_IGM_Process() {
  28. }
  29. //-------------------------------------------------------------------------------------------------
  30. //001D169C
  31. void SNDFE_IGM_Shutdown() {
  32. }
  33. //-------------------------------------------------------------------------------------------------
  34. //001D16B0
  35. void SNDFE_Music_GetCurrentPlaying() {
  36. }
  37. //-------------------------------------------------------------------------------------------------
  38. //001D16C0
  39. bool SNDFE_Music_Paused() {return 0;
  40. }
  41. //-------------------------------------------------------------------------------------------------
  42. //001D16D0
  43. void SNDFE_Music_Pause(bool b) {
  44. LOGE("%xSNDFE_Music_Pause",b);
  45. }
  46. //-------------------------------------------------------------------------------------------------
  47. //001D16F8
  48. void SNDFE_Music_UnPause() {
  49. LOGE("%xSNDFE_Music_UnPause",rand());
  50. }
  51. //-------------------------------------------------------------------------------------------------
  52. //001D17D8
  53. void SNDFE_PlaySFXLoop(int, float, float) {
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //001D1880
  57. void SNDFE_StopSFXLoop() {
  58. }
  59. //-------------------------------------------------------------------------------------------------
  60. //001D16A0
  61. int SNDFE_Music_GetPlaylist() {
  62. return SNDFE_Music_eMode;
  63. }
  64. //-------------------------------------------------------------------------------------------------
  65. //001D15A4
  66. //未实现
  67. __attribute__((noinline)) void SNDFE_Music_Shutdown() {
  68. printf("SNDFE_Music_Shutdown");
  69. }
  70. //-------------------------------------------------------------------------------------------------
  71. //001D15F8
  72. //未实现
  73. __attribute__((noinline)) void SNDFE_Music_SetPlaylist(eAUDIO_MUSIC_PLAYLIST eaudio_music_playlist_r0, int d_r1) {
  74. printf("%d %d", eaudio_music_playlist_r0, d_r1);
  75. }
  76. //-------------------------------------------------------------------------------------------------
  77. //001D144C
  78. __attribute__((noinline)) void SNDFE_Music_Init() {
  79. printf("SNDFE_Music_Init");
  80. }
  81. //-------------------------------------------------------------------------------------------------
  82. //001D1748
  83. __attribute__((noinline)) void SNDFE_PlaySFX(int d_r0, float f_r1, float f_r2) {
  84. LOGE("SNDFE_PlaySFX%x%x%x",d_r0,f_r1,f_r2);
  85. }
  86. //-------------------------------------------------------------------------------------------------