baseaudiosink: use new clock time methods
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 14 Apr 2009 11:12:59 +0000 (13:12 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 14 Apr 2009 11:12:59 +0000 (13:12 +0200)
commit0c4c1410f970bca4857acd03527772454dc76e52
tree3ac762257997bb3f7daa0960716ece54e2fe3454
parent4231d54823b9811152d9c7e42e293a5e379a3c4b
baseaudiosink: use new clock time methods

Use the unadjusted internal clock times to calculate the internal/external
offset when calibrating the clock.

When going to NULL, unparent and free the ringbuffer, like we do in the source
element.
See #578506
gst-libs/gst/audio/gstbaseaudiosink.c