audio policy: fix several issues on routing APIs.
- Do not list duplicated outputs in listAudioPorts(): duplicated outputs are not valid sources for audio patches. Also add asserts to make sure that an audio port with no valid profile is never used by audio routing APIs. - Fix typos causing the wrong device type to be used when creating an audio patch. - Fix error in building config mask in toAudioPortConfig(). Change-Id: I4505891dbed2c2fa92804d45505c3c2deb921f3e
Loading
Please register or sign in to comment