summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/ipc.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2011-03-28 15:35:16 +0300
committerColin Guthrie <colin@mageia.org>2011-04-01 13:32:11 +0100
commit2386471e10c25c01e7b4b7885c41ce72de6e84ca (patch)
tree0f8be9519c831fd9844ee651705864fceffec509 /src/modules/bluetooth/ipc.h
parent209b7b781d8d1a5ac5f1442bd647098c2a3c4e18 (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/modules/bluetooth/ipc.h')
0 files changed, 0 insertions, 0 deletions