'Put an end-of-stream token on the playbin. This is typically used in
combination with :meth:`emit_data`.
We will get a GStreamer message when the stream playback reaches the
token, and can then do any end-of-stream related tasks.
.. deprecated:: 1.0
Use :meth:`emit_data` with a :class:`None` buffer instead.'

def emit_end_of_stream(self):

    deprecation.warn(u'audio.emit_end_of_stream')
    self._appsrc.push(None)
