cdparanoia: try to guess a good cache size if it's set to -1
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 19 Jun 2009 20:25:54 +0000 (21:25 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 19 Jun 2009 21:21:03 +0000 (22:21 +0100)
commit4e1086f93b509d92529d7af5475e3c9780d201c1
tree0333f104f52de749d3245111d0b467d337342a77
parent9daee1f4a9195ab040db1a2180e6eece1ee2997e
cdparanoia: try to guess a good cache size if it's set to -1

Try to guess from the paranoia-mode setting whether playback or
ripping is wanted, and use a smaller cache size if we're likely
to be doing playback, to avoid a long startup delay. Since this
was the value used in older cdparanoia versions, it should be
fine in any case. See #586331.
ext/cdparanoia/gstcdparanoiasrc.c