audioencoder: Add finish vfunc for subclass to be able to drain pending data

Depending on subclass implementation, there might be pending/queued encoded
data. Similar to GstVideoEncoder::finish(), GstAudioEncoder needs to
provide such a way for subclass to drain pending data on EOS.
Status Job ID Name Coverage
  Preparation
passed #2765161
gst indent

00:00:28

manual #2765160
manual
manifest
 
  Build
created #2765170
gstreamer
build cerbero cross-android universal
created #2765174
gst-ios-13.2
build cerbero cross-ios universal
created #2765171
gstreamer
build cerbero cross win32
created #2765172
gstreamer
build cerbero cross win64
created #2765169
gstreamer
build cerbero fedora x86_64
created #2765173
gst-macos-10.15
build cerbero macos x86_64
created #2765165
build clang fedora x86_64
created #2765168
1809 windows docker allowed to fail manual
build msys2
created #2765162
build nodebug fedora x86_64
created #2765163
build static fedora x86_64
created #2765164
build static nodebug fedora x86_64
created #2765166
1809 windows docker
build vs2017 amd64
created #2765167
1809 windows docker
build vs2017 x86
 
  Test
created #2765175
gstreamer
check fedora
created #2765176
gstreamer
integration testsuites fedora 1/4
created #2765177
gstreamer
integration testsuites fedora 2/4
created #2765178
gstreamer
integration testsuites fedora 3/4
created #2765179
gstreamer
integration testsuites fedora 4/4
created #2765183
gstreamer
valgrind bad
created #2765180
gstreamer
valgrind base
created #2765184
gstreamer
valgrind ges
created #2765181
gstreamer
valgrind good
created #2765182
gstreamer
valgrind ugly
 
  Integrate
created #2765185
cross-android universal examples
created #2765187
gst-ios-13.2
cross-ios universal examples
created #2765186
documentation