basescope: allow subclasses telling how many sample they need per frame
authorStefan Kost <ensonic@users.sf.net>
Fri, 27 May 2011 20:12:00 +0000 (23:12 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 6 Jun 2011 12:25:13 +0000 (15:25 +0300)
commit2271946d730848f61efa21984ca5bf5bd35ac4d5
tree36c95873f1bc4e88c606ecb55ba1d2b182058987
parent46e3bc48af28d59fedfce854d0662e8b9ba47a06
basescope: allow subclasses telling how many sample they need per frame

This allows e.g. FFT based elements to require enough data. If they need more
data than what we get, we flush less from the adapter.

https://bugzilla.gnome.org/show_bug.cgi?id=651536
gst/scopes/gstbasescope.c
gst/scopes/gstbasescope.h
gst/scopes/gstspectrascope.c