diff options
author | Colin Guthrie <colin@mageia.org> | 2011-07-17 15:29:29 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-07-19 19:50:43 +0100 |
commit | ded07a5898a0484783c29912d259ebda7392f5f4 (patch) | |
tree | 66eec21dbc2ffc8d53d47049254f6186bf46b6f0 /src/modules/raop | |
parent | 8840ebf9c361208f955577f8af1c0110cdc843d2 (diff) | |
download | pulseaudio-ded07a5898a0484783c29912d259ebda7392f5f4.tar.gz |
devices: Use wrapper functions to set the *_volume and *_mute callbacks.
This is not currently useful but future commits will make further
changes concerning automatic setting of flags and event delivery
that makes this structure necessary.
Diffstat (limited to 'src/modules/raop')
-rw-r--r-- | src/modules/raop/module-raop-sink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/raop/module-raop-sink.c b/src/modules/raop/module-raop-sink.c index 87e7bc17f..260044152 100644 --- a/src/modules/raop/module-raop-sink.c +++ b/src/modules/raop/module-raop-sink.c @@ -594,8 +594,8 @@ int pa__init(pa_module*m) { u->sink->parent.process_msg = sink_process_msg; u->sink->userdata = u; - u->sink->set_volume = sink_set_volume_cb; - u->sink->set_mute = sink_set_mute_cb; + pa_sink_set_set_volume_callback(u->sink, sink_set_volume_cb); + pa_sink_set_set_mute_callback(u->sink, sink_set_mute_cb); u->sink->flags = PA_SINK_LATENCY|PA_SINK_NETWORK|PA_SINK_HW_VOLUME_CTRL; pa_sink_set_asyncmsgq(u->sink, u->thread_mq.inq); |