loopback: Cork source-output if sink is suspended
commit6c916697bc2ee87be41d8a3dc5fee12689c63957
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Thu, 20 Sep 2012 12:28:33 +0000 (20 14:28 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 21 Sep 2012 07:32:32 +0000 (21 10:32 +0300)
treee57bb1b78a7d01b80a158c974f284b39d90a353d
parente90e19f457dd1a9e2becd21a71a37236605de2df
loopback: Cork source-output if sink is suspended

During initialization, the approach avoids having a needless short
period of corked state in case the sink is suspended, by always creating
the source-output corked and uncorking it immediately afterwards when
the sink is not suspended.
src/modules/module-loopback.c