tree: 3156d871e89d6f5395cec5344da4b6eb25109811 [path history] [tgz]
  1. public/
  2. test/
  3. audio_sandbox_hook_linux.cc
  4. audio_sandbox_hook_linux.h
  5. BUILD.gn
  6. COMMON_METADATA
  7. concurrent_stream_metric_reporter.cc
  8. concurrent_stream_metric_reporter.h
  9. debug_recording.cc
  10. debug_recording.h
  11. debug_recording_unittest.cc
  12. delay_buffer.cc
  13. delay_buffer.h
  14. delay_buffer_unittest.cc
  15. DEPS
  16. device_listener_output_stream.cc
  17. device_listener_output_stream.h
  18. device_listener_output_stream_unittest.cc
  19. device_notifier.cc
  20. device_notifier.h
  21. device_notifier_unittest.cc
  22. device_output_listener.h
  23. DIR_METADATA
  24. group_coordinator-impl.h
  25. group_coordinator.h
  26. group_coordinator_unittest.cc
  27. in_process_audio_manager_accessor.cc
  28. in_process_audio_manager_accessor.h
  29. input_controller.cc
  30. input_controller.h
  31. input_controller_unittest.cc
  32. input_stream.cc
  33. input_stream.h
  34. input_stream_unittest.cc
  35. input_sync_writer.cc
  36. input_sync_writer.h
  37. input_sync_writer_unittest.cc
  38. local_muter.cc
  39. local_muter.h
  40. local_muter_unittest.cc
  41. log_adapter.cc
  42. log_adapter.h
  43. log_factory_adapter.cc
  44. log_factory_adapter.h
  45. log_factory_manager.cc
  46. log_factory_manager.h
  47. log_factory_manager_unittest.cc
  48. loopback_coordinator.cc
  49. loopback_coordinator.h
  50. loopback_group_member.h
  51. loopback_stream.cc
  52. loopback_stream.h
  53. loopback_stream_unittest.cc
  54. mixing_graph.cc
  55. mixing_graph.h
  56. mixing_graph_impl.cc
  57. mixing_graph_impl.h
  58. mixing_graph_impl_unittest.cc
  59. muteable.h
  60. output_controller.cc
  61. output_controller.h
  62. output_controller_unittest.cc
  63. output_device_mixer.cc
  64. output_device_mixer.h
  65. output_device_mixer_manager.cc
  66. output_device_mixer_manager.h
  67. output_device_mixer_manager_unittest.cc
  68. output_stream.cc
  69. output_stream.h
  70. output_stream_unittest.cc
  71. OWNERS
  72. owning_audio_manager_accessor.cc
  73. owning_audio_manager_accessor.h
  74. README.md
  75. reference_output.h
  76. service.cc
  77. service.h
  78. service_factory.cc
  79. service_factory.h
  80. service_metrics.cc
  81. service_metrics.h
  82. service_metrics_unittest.cc
  83. snoopable.h
  84. snooper_node.cc
  85. snooper_node.h
  86. snooper_node_unittest.cc
  87. stream_factory.cc
  88. stream_factory.h
  89. stream_monitor.h
  90. sync_reader.cc
  91. sync_reader.h
  92. sync_reader_unittest.cc
  93. system_info.cc
  94. system_info.h
  95. testing_api_binder.cc
  96. testing_api_binder.h
  97. user_input_monitor.cc
  98. user_input_monitor.h
  99. user_input_monitor_unittest.cc
services/audio/README.md

#Audio service

Provides core audio functionality: audio device access and enumeration.

Runs

  • In a separate process on Windows, Mac (sandboxed) and Linux (unsandboxed);
  • In the browser process on other platforms.

Can be accessed from trusted processes only (the browser process and certains utility processes). Use audio::CreateInputDevice() for the mic capture, and audio::OutputDevice for the playback.

Untrusted processes should use media::AudioInputDevice and media::AudioOutputDevice correspondingly, which will take care of device authorization.

Design doc