[go: nahoru, domu]

tree: 5830c98ef557522bc611cdcb84826abe66a73ffd [path history] [tgz]
  1. public/
  2. test/
  3. audio_manager_power_user.h
  4. audio_processor_handler.cc
  5. audio_processor_handler.h
  6. audio_sandbox_hook_linux.cc
  7. audio_sandbox_hook_linux.h
  8. BUILD.gn
  9. COMMON_METADATA
  10. debug_recording.cc
  11. debug_recording.h
  12. debug_recording_unittest.cc
  13. delay_buffer.cc
  14. delay_buffer.h
  15. delay_buffer_unittest.cc
  16. DEPS
  17. device_listener_output_stream.cc
  18. device_listener_output_stream.h
  19. device_listener_output_stream_unittest.cc
  20. device_notifier.cc
  21. device_notifier.h
  22. device_notifier_unittest.cc
  23. device_output_listener.h
  24. DIR_METADATA
  25. group_coordinator-impl.h
  26. group_coordinator.h
  27. group_coordinator_unittest.cc
  28. in_process_audio_manager_accessor.cc
  29. in_process_audio_manager_accessor.h
  30. input_controller.cc
  31. input_controller.h
  32. input_controller_unittest.cc
  33. input_glitch_counter.cc
  34. input_glitch_counter.h
  35. input_glitch_counter_unittest.cc
  36. input_stream.cc
  37. input_stream.h
  38. input_stream_unittest.cc
  39. input_sync_writer.cc
  40. input_sync_writer.h
  41. input_sync_writer_unittest.cc
  42. local_muter.cc
  43. local_muter.h
  44. local_muter_unittest.cc
  45. log_adapter.cc
  46. log_adapter.h
  47. log_factory_adapter.cc
  48. log_factory_adapter.h
  49. log_factory_manager.cc
  50. log_factory_manager.h
  51. log_factory_manager_unittest.cc
  52. loopback_coordinator.cc
  53. loopback_coordinator.h
  54. loopback_group_member.h
  55. loopback_stream.cc
  56. loopback_stream.h
  57. loopback_stream_unittest.cc
  58. mixing_graph.cc
  59. mixing_graph.h
  60. mixing_graph_impl.cc
  61. mixing_graph_impl.h
  62. mixing_graph_impl_unittest.cc
  63. mixing_graph_input_unittest.cc
  64. muteable.h
  65. output_controller.cc
  66. output_controller.h
  67. output_controller_unittest.cc
  68. output_device_mixer.cc
  69. output_device_mixer.h
  70. output_device_mixer_impl.cc
  71. output_device_mixer_impl.h
  72. output_device_mixer_impl_unittest.cc
  73. output_device_mixer_manager.cc
  74. output_device_mixer_manager.h
  75. output_device_mixer_manager_unittest.cc
  76. output_glitch_counter.cc
  77. output_glitch_counter.h
  78. output_glitch_counter_unittest.cc
  79. output_stream.cc
  80. output_stream.h
  81. output_stream_unittest.cc
  82. output_tapper.cc
  83. output_tapper.h
  84. OWNERS
  85. owning_audio_manager_accessor.cc
  86. owning_audio_manager_accessor.h
  87. processing_audio_fifo.cc
  88. processing_audio_fifo.h
  89. processing_audio_fifo_unittest.cc
  90. README.md
  91. realtime_audio_thread.cc
  92. realtime_audio_thread.h
  93. realtime_audio_thread_test.cc
  94. reference_output.h
  95. service.cc
  96. service.h
  97. service_factory.cc
  98. service_factory.h
  99. snoopable.h
  100. snooper_node.cc
  101. snooper_node.h
  102. snooper_node_unittest.cc
  103. stream_factory.cc
  104. stream_factory.h
  105. stream_monitor.h
  106. sync_mixing_graph_input.cc
  107. sync_mixing_graph_input.h
  108. sync_reader.cc
  109. sync_reader.h
  110. sync_reader_unittest.cc
  111. system_info.cc
  112. system_info.h
  113. testing_api_binder.cc
  114. testing_api_binder.h
  115. user_input_monitor.cc
  116. user_input_monitor.h
  117. 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