Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_get_caps), (gst_alsa_close_audio): * ext/alsa/gstalsa.h: refactor big chunks of the core caps negotiation code to make it a lot faster, because people claim it's really slow (actually, just cache the getcaps when the device is opened)