audio_device_config.h 886 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_
  11. #define AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_
  12. // Enumerators
  13. //
  14. enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 };
  15. // Platform specifics
  16. //
  17. #if defined(_WIN32)
  18. #if (_MSC_VER >= 1400)
  19. #if !defined(WEBRTC_DUMMY_FILE_DEVICES)
  20. // Windows Core Audio is the default audio layer in Windows.
  21. // Only supported for VS 2005 and higher.
  22. #define WEBRTC_WINDOWS_CORE_AUDIO_BUILD
  23. #endif
  24. #endif
  25. #endif
  26. #endif // AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_