commit | 92ace72524fd648c1237518b2608f7921835ebd1 | [log] [tgz] |
---|---|---|
author | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | Thu Nov 07 18:48:47 2013 -0800 |
committer | Steve Kondik <shade@chemlab.org> | Mon Nov 11 17:16:37 2013 -0800 |
tree | 477cc599a7e696da137bc68eb9d911cc5d76babe | |
parent | c9c7bd69516f2e194a75c607dee40f49105c837d [diff] |
audio: fix no audio playback issue in recorder app When audio clips recorded using voice recorder app is played, openoutput() in audio policy manager is called with flags 0 and will match the incall music profile and try to open incall music direct output stream. Fix by looking for direct output profiles only when AUDIO_OUTPUT_FLAG_DIRECT is set in the flags. Change-Id: I3f6fdec1dfdc4c7642d308108199369cfc6d2409