loopback: Cork source-output if sink is suspended
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Thu, 20 Sep 2012 12:28:33 +0000 (14:28 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commit4f3e2b85141460f37d6c23ab893a0ba26f4bb07a
tree900aac59f5ac3acc295bd9eb9dcfccaf63ebd2ca
parent1aa262d0471026f887cd072875dcce743a5fab3b
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