def init(self):
<EOL>self._context_notify_cb = pa_context_notify_cb_t(<EOL>self.context_notify_cb)<EOL>self._sink_info_cb = pa_sink_info_cb_t(self.sink_info_cb)<EOL>self._update_cb = pa_context_subscribe_cb_t(self.update_cb)<EOL>self._success_cb = pa_context_success_cb_t(self.success_cb)<EOL>self._server_info_cb = pa_server_info_cb_t(self.server_info_cb)<EOL>_mainloop = pa_threaded_mainloop_new()<EOL>_mainloop_api = pa_threaded_mainloop_get_api(_mainloop)<EOL>context = pa_context_new(_mainloop_api, "<STR_LIT>".encode("<STR_LIT:ascii>"))<EOL>pa_context_set_state_callback(context, self._context_notify_cb, None)<EOL>pa_context_connect(context, None, <NUM_LIT:0>, None)<EOL>pa_threaded_mainloop_start(_mainloop)<EOL>self.colors = self.get_hex_color_range(self.color_muted, self.color_unmuted, <NUM_LIT:100>)<EOL>self.sinks = []<EOL>
Creates context, when context is ready context_notify_cb is called