jack: ensure segtotal is at least 2
authorStefan Kost <ensonic@users.sf.net>
Mon, 12 Oct 2009 06:06:37 +0000 (09:06 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 2 Jan 2011 14:30:07 +0000 (14:30 +0000)
commitf20c73684b3a980c9d4f425e9cc1a1e9e6cc99d6
treee1a78bf30708caecf4999727c205a5e7d23697e9
parent45fb781f9be8bcc6dc702436ea460e254e9aa433
jack: ensure segtotal is at least 2

Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c