OSDN Git Service

Support multiple pipes for rerouting
authorJean-Michel Trivi <jmtrivi@google.com>
Fri, 14 Nov 2014 17:05:20 +0000 (09:05 -0800)
committerJean-Michel Trivi <jmtrivi@google.com>
Tue, 18 Nov 2014 01:04:45 +0000 (17:04 -0800)
commitb73bc86089b8a65da88776bafcf48529431150b8
tree1b2ca7a94c1649c60ace96b7ff303d34a748b954
parente0e834e3fe5561bf87aac7f88faaed39f0937a64
Support multiple pipes for rerouting

The implementation for "remote submix" supported only one pipe
  to capture the output of a mix.
This CL adds support for multiple pipes to support capturing
  multiple audio routes.
The structure for the r_submix audio device holds an array
  of route configurations (route_config), each referencing
  the input and output of the pipe dedicated to this route.
  Each route is associated to a unique address. Standby
  status is maintained per stream.

Bug 16009464

Change-Id: Ie164c4ad2a6d8138f825484e7faf29a974ccf82e
modules/audio_remote_submix/audio_hw.cpp