virtual-surround-sink: Fix setting max_request and max_rewind.
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 22 Aug 2012 06:00:25 +0000 (09:00 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 30 Oct 2012 14:28:48 +0000 (16:28 +0200)
commit3adbb5ad034684ff751def0144764be8442fb15c
tree5bb3ce97cbe80882ead689131849e818f71429b5
parent1fc2cf8425eff768e117bb4eff659204fdaf81dc
virtual-surround-sink: Fix setting max_request and max_rewind.

The sink has different frame size than the sink input, so
the max_request and max_rewind values of the sink input need
to be converted when setting the sink max_request and
max_rewind values.

The conversion is already done correctly in
sink_input_update_max_request_cb() and
sink_input_update_max_rewind_cb().
src/modules/module-virtual-surround-sink.c