Chromium Code Reviews
DescriptionHandle audio node stable device ID change
Chrome side change for updating the way stable device ID is
calculated for USB audio device nodes in order to make them more
usefull when distinguishing among USB audio devices with same
USB vendor and product IDs.
Cras will start providing new property - StableDeviceIdOld that
will contain old, now deprecated stable device ID - this will be
used to migrate audio device prefs to new stable ID (to provide
some backward compatibility). This property is expected to eventually
go away.
This does not expose new value to audio extension API, but cl will
follow - for now, keep providing old ID version through API.
Huge line diff is mostly due to refactoring test to account for
new stable device ID version :)
Parametrizes cras audio client unit tests by the version od
stable device ID provided by audio device - to ensure it keeps
working as expcted with both stable device ID version (does not
test for mixing devices with different stable device ID versions,
that is never expected to happen).
Added audio devices pref handler for migrating audio device records
when audio device stable device ID changes.
BUG=661861
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/3ab01a28f2ccd9abc62a3833d72959205ddce98b
Cr-Commit-Position: refs/heads/master@{#439304}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : switch to usign StableDeviceIdNew const #Patch Set 6 : . #Patch Set 7 : . #Patch Set 8 : update few comments #
Total comments: 25
Patch Set 9 : . #Patch Set 10 : update bug number in todo in audio_service_chromeos #Patch Set 11 : media unittests to v2 stabl device id #Patch Set 12 : fix a typo #Messages
Total messages: 50 (35 generated)
|