Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.8 KiB

  1. //===== Copyright � 1996-2007, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. // $NoKeywords: $
  8. //===========================================================================//
  9. #include "platform.h"
  10. #if !defined( _X360 ) && defined( WIN32 )
  11. #define WIN32_LEAN_AND_MEAN
  12. #pragma warning(push, 1)
  13. #pragma warning(disable: 4005)
  14. #include <windows.h>
  15. #include <mmsystem.h>
  16. #pragma warning(pop)
  17. #include <mmreg.h>
  18. #endif
  19. #ifdef _PS3
  20. #include "ps3/ps3_core.h"
  21. #endif
  22. #include "basetypes.h"
  23. #include "commonmacros.h"
  24. #include "mathlib/mathlib.h"
  25. #include "tier0/dbg.h"
  26. #include "tier0/vprof.h"
  27. #include "tier0/icommandline.h"
  28. #include "tier1/strtools.h"
  29. #include "tier2/riff.h"
  30. #include "sound.h"
  31. #include "color.h"
  32. #include "convar.h"
  33. #include "soundservice.h"
  34. #include "voice_sound_engine_interface.h"
  35. #include "soundflags.h"
  36. #include "filesystem.h"
  37. #include "../filesystem_engine.h"
  38. #include "snd_device.h"
  39. #include "sound_private.h"
  40. #include "snd_mix_buf.h"
  41. #include "snd_env_fx.h"
  42. #include "snd_channels.h"
  43. #include "snd_audio_source.h"
  44. #include "snd_convars.h"
  45. #include "snd_dev_common.h"
  46. #include "snd_dev_direct.h"
  47. #ifdef _PS3
  48. #include "snd_dev_ps3audio.h"
  49. #else
  50. #include "snd_dev_xaudio.h"
  51. #endif
  52. #include "snd_sfx.h"
  53. #include "snd_stubs.h"
  54. #include "snd_audio_source.h"
  55. #include "snd_wave_source.h"
  56. #include "snd_wave_temp.h"
  57. #include "snd_wave_data.h"
  58. #include "snd_wave_mixer_private.h"
  59. #include "snd_wave_mixer_adpcm.h"
  60. #include "snd_io.h"
  61. #include "voice_mixer_controls.h"
  62. #if IsX360()
  63. # include "snd_wave_mixer_xma.h"
  64. # include "xbox/xbox_win32stubs.h"
  65. # include <xhv2.h>
  66. #elif IsPS3()
  67. # include "snd_wave_mixer_ps3_mp3.h"
  68. # include "ps3/ps3_win32stubs.h"
  69. #elif defined(POSIX)
  70. # include "audio/private/posix_stubs.h"
  71. #endif