Use audio_port_v7 in audio policy.
audio_port_v7 is a struct that uses audio profile to describe an audio port. Compared to audio_port, audio_port_v7 can better describe the capabilities of the audio port. In that case, use audio_port_v7 in audio policy APIs getAudioPort and listAudioPort. Test: atest audio_health_tests audiopolicy_tests AudioManagerTest Bug: 160352965 Bug: 25994457 Change-Id: I16fb024f309e33f48ce2ae8f8d37dd58e74f781d
Loading
Please register or sign in to comment