OSDN Git Service

audio HAL: add parameters to open stream
authorEric Laurent <elaurent@google.com>
Sun, 27 Jul 2014 23:14:57 +0000 (16:14 -0700)
committerEric Laurent <elaurent@google.com>
Mon, 28 Jul 2014 18:38:40 +0000 (11:38 -0700)
commitf5e2469c02825f018df6336125882812003b8e64
treed1f80dff4ac5bbef2be5b6b31a08be584be014de
parentd61f84efe29ef126ced564857be781128246a407
audio HAL: add parameters to open stream

Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.

Bug: 14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
include/hardware/audio.h
modules/audio/audio_hw.c
modules/audio_remote_submix/audio_hw.cpp
modules/usbaudio/audio_hw.c