]> code.delx.au - pulseaudio/commit
loopback: Use the real sample spec once it's known.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Tue, 14 Aug 2012 14:08:34 +0000 (17:08 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 30 Oct 2012 14:26:06 +0000 (16:26 +0200)
commita68652a42c14e6d2136601d4a34ad1a2e7336e92
tree81849637ee06080276c78219e6f2742bca7f88ae
parente4adf9c4d8a33509828b9b7658d4cccc7f5af563
loopback: Use the real sample spec once it's known.

When module-loopback is loaded without arguments, the ss and
map variables are initialized with dummy values. This caused
a problem, because also pa_memblockq_new() was called with
the dummy values, making it work incorrectly. The base was
set to 1 instead of the real frame size, which in turn
caused alignment related crashes.
src/modules/module-loopback.c