Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cad6c0dd authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: add support for virtualizer stage output

Add support for specialized output stream supporting virtualizer stage
effect with headtracking.

The HAL implementation indicates support for this feature with a
specific audio profile with flag AUDIO_OUTPUT_FLAG_VIRTUALIZER_STAGE
listed in the audio policy configuration file.

Note: the flag combination DEEP_BUFFER + FAST is used until a new audio
HAL version is introduced with this flag defined.

The audio policy manager implements methods to query if virtualization
is supported for a particular combination of audio attrbutes, audio
configuration and audio devices.
Methods are also available for the audio policy service to open and close
a specialized virtualization output stream and create the corresponding
audio mixer in audio flinger.

Bug: 188502620
Test: atest audiopolicy_tests

Change-Id: I3b1faf22290775dc7d13953a24098d22cb3790de
parent b3f315a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment