diff options
author | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2011-03-28 15:35:16 +0300 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-04-01 13:32:11 +0100 |
commit | 2386471e10c25c01e7b4b7885c41ce72de6e84ca (patch) | |
tree | 0f8be9519c831fd9844ee651705864fceffec509 /src/pulsecore/pstream.h | |
parent | 209b7b781d8d1a5ac5f1442bd647098c2a3c4e18 (diff) |
bluetooth: fix set_volume_cb on sco over pcm
The current implementation is totally bogus, it cast the over_sink
userdata to the bluetooth-device userdata... It was failing nicely
because the previous code had a gentle safe-guard in u->profile ==
PROFILE_HSP, and u->profile was just random.
There is no easy way to associate additional data to a sink or
source. Two solutions seems possible: looking up loaded modules and
check which one was handling the sink/source, or using pa_shared. I
went for the second solution.
Diffstat (limited to 'src/pulsecore/pstream.h')
0 files changed, 0 insertions, 0 deletions