]> code.delx.au - pulseaudio/commit
tunnel: Fix reading state from wrong variable
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 14 Jul 2013 10:39:32 +0000 (13:39 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 14 Jul 2013 10:39:32 +0000 (13:39 +0300)
commit705d3c28f215bd6899e0e5c3a5ed9a69418afd86
treedbb110b0f8b93080899ffa246640950ec7587b1c
parent999b47c09948edf7b8e7bc6757e0e41c24e824a1
tunnel: Fix reading state from wrong variable

u->sink->state is not yet updated, so the state must be read from
u->sink->thread_info.state. This makes pausing and resuming of the
smoother happen at the right time.

Thanks to Pierre Ossman for the patch.
src/modules/module-tunnel.c