OSDN Git Service

audio policy: fix direct output selection
authorEric Laurent <elaurent@google.com>
Sun, 6 Oct 2013 19:39:32 +0000 (12:39 -0700)
committerEric Laurent <elaurent@google.com>
Mon, 7 Oct 2013 17:10:44 +0000 (10:10 -0700)
commitb40b96a78537d63d801af7e706764c68acf8f182
treeb2bd58dbd0d352ced8ba34e4f19db51c8f3401d8
parent87e28f7b352fb77f46e16ebcdd85cbf01396a203
audio policy: fix direct output selection

commit a527ffd broke the selection of an available
direct output profile in getProfileForDirectOutput().
getProfileForDirectOutput() should check for direct output profiles
regardless of the flags provided to getOutput().

Bug: 11051912.
Change-Id: I4a84734331bfed03d6024ea1c2e8776c27d0b28f
audio/AudioPolicyManagerBase.cpp