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

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

hal: fix output stream configuration checks

Make properties (sample rate, channel mask and format) check consistent
in adev_open_output_stream:
 - each use case checks its range and applies its defaults
 - make sure all properties are set in out struct before use
 - make sure ALSA driver pcm config is consistent with config in out struct
 - make sure returned config reflects actual config or preferred
 config in case of error.

Test: make
Change-Id: I0d034fec559ee8bbb8b0a104431cd1fe7fba95de
parent d101e021
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