diff options
author | Robin Gareus <robin@gareus.org> | 2016-01-29 01:12:32 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-01-29 01:12:53 +0100 |
commit | c0a843a905a094659bbf95fd9a9602edcce60f54 (patch) | |
tree | 4d83c17199e7d9eb4f6871b42f9ccfc1562e73a3 /libs | |
parent | cf558ee18ca35e29d4d688cd5601085c92fcafb5 (diff) |
fix device-list update concurrency issue.
It may happen that during push_state_to_backend() a device is
reconfigured in a way that triggers a "Device Changed" callback before
the engine is started. This callback can trigger a change to the
configuration that will be used when the engine is actually started.
This has been seen on OSX in conjunction with Aggregate Devices
(even if the aggregate is not used, but the device which is used
is also part of an aggregate)
example: HW changed callback arrives, device-list is re-populated,
*A*irplay" is at the top of the list, Airplay supports only 44.1K,
Samplerate changes... later save also writes this new rate to the file.
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions