Fix error resulting in sources not being found due to searching
the sink cache hash.
AGL-Bug: SPEC-548
Change-Id: Icd5a75af7a5fc2e0e125d96910af034e4d0873a3
Signed-off-by: Matt Porter <mporter@konsulko.com>
}
pa_operation_unref(o);
} else if (type == C_SOURCE) {
- cvolume = m_sink_states.value(index);
+ cvolume = m_source_states.value(index);
cvolume->values[channel] = volume;
if (!(o = pa_context_set_source_volume_by_index(c, index, cvolume, set_source_volume_cb, NULL))) {
qWarning() << "PaClient: set source #" << index <<