class_docstr: Gstreamer-based Audio Sink
  
  This encoder plays the decoded audio stream to the sound card
  
  Parameters
  ----------
  output_sink : str, optional
      Gstreamer sink element
      Default to 'autoaudiosink'
      Possible values : 'autoaudiosink', 'alsasink', 'osssink'
  
  >>> import timeside
  >>> from timeside.core import get_processor
  >>> from timeside.core.tools.test_samples import samples
  >>> wav_file = samples['sine440Hz_mono_1s.wav']
  >>> d = get_processor('file_decoder')(wav_file)
  >>> e = get_processor('live_encoder')()
  >>> (d|e).run()  # doctest: +SKIP
class_docstr_tok: ["Gstreamer-based","Audio","Sink","This","encoder","plays","the","decoded","audio","stream","to","the","sound","card","Parameters","--","--","--","--","--","output_sink",":","str",",","optional","Gstreamer","sink","element","Default","to","'autoaudiosink'","Possible","values",":","'autoaudiosink","'",",","'alsasink","'",",","'osssink'",">",">",">","import","timeside",">",">",">","from","timeside.core","import","get_processor",">",">",">","from","timeside.core.tools.test_samples","import","samples",">",">",">","wav_file","=","samples","[","'sine440Hz_mono_1s.wav","'","]",">",">",">","d","=","get_processor","(","'file_decoder","'",")","(","wav_file",")",">",">",">","e","=","get_processor","(","'live_encoder","'",")","(",")",">",">",">","(","d|e",")",".run","(",")","#","doctest",":","+SKIP"]
code: def set_metadata(self, metadata):
      self.metadata = metadata
  
file_path: TimeSide/timeside/plugins/encoder/audiosink.py
imports: from timeside.core import implements, interfacedoc
  from timeside.core.encoder import GstEncoder
  from timeside.core.api import IEncoder
label_desc: Use image node_id 8 for calling the AudioSink obj's underlying member method code with example usage: obj.set_metadata(metadata) without return types