Example #1
0
    def __init__(self):
        self.threaded_mainloop = pa.pa_threaded_mainloop_new()
        self.mainloop = pa.pa_threaded_mainloop_get_api(
            self.threaded_mainloop)

        self._players = pyglet.app.WeakSet()
        self._listener = PulseAudioListener(self)
Example #2
0
    def __init__(self):
        self.threaded_mainloop = pa.pa_threaded_mainloop_new()
        self.mainloop = pa.pa_threaded_mainloop_get_api(
            self.threaded_mainloop)

        self._players = pyglet.app.WeakSet()
        self._listener = PulseAudioListener(self)
Example #3
0
 def __init__(self):
     self.threaded_mainloop = pa.pa_threaded_mainloop_new()
     self.mainloop = pa.pa_threaded_mainloop_get_api(
         self.threaded_mainloop)