"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "aa08e7c670fad1e726c126f3dd96a4974d1c7527"
Use system/audio to/from string converters in TypeConverter
Use of system functions eliminates the need for listing all enum values in TypeConverter tables. Slight changes in the converting functions: 1. 'channelMaskFromString' function now also accepts indexed masks. 2. Fixed UB in 'formatFromString' function. 3. Removed 'deviceFromString' function, use 'DeviceConverter::fromString' instead. Replaced direct includes of 'system/audio-base.h' with includes of 'system/audio.h'. Bug: 142480271 Test: m Change-Id: I4f64a8b6164bb5ad94cbf1da1709cb379f4a75fa
Loading
Please register or sign in to comment