def get_extensions(self): extensions = alc.alcGetString(self._device, alc.ALC_EXTENSIONS) if pyglet.compat_platform == 'darwin' or pyglet.compat_platform.startswith( 'linux'): return ctypes.cast(extensions, ctypes.c_char_p).value.split(' ') else: return _split_nul_strings(extensions)
def get_extensions(self): extensions = alc.alcGetString(self._device, alc.ALC_EXTENSIONS) if sys.platform == 'darwin' or sys.platform.startswith('linux'): return ctypes.cast(extensions, ctypes.c_char_p).value.split(' ') else: return _split_nul_strings(extensions)
def get_extensions(self): extensions = alc.alcGetString(self._device, alc.ALC_EXTENSIONS) if sys.platform in ("darwin", "linux2"): return ctypes.cast(extensions, ctypes.c_char_p).value.split(" ") else: return _split_nul_strings(extensions)
def get_extensions(self): extensions = alc.alcGetString(self._device, alc.ALC_EXTENSIONS) if sys.platform in ('darwin', 'linux2'): return ctypes.cast(extensions, ctypes.c_char_p).value.split(' ') else: return _split_nul_strings(extensions)
def get_extensions(self): extensions = alc.alcGetString(self._device, alc.ALC_EXTENSIONS) if pyglet.compat_platform == "darwin" or pyglet.compat_platform.startswith("linux"): return ctypes.cast(extensions, ctypes.c_char_p).value.split(" ") else: return _split_nul_strings(extensions)
def get_extensions(): extensions = alc.alcGetString(context._device, alc.ALC_EXTENSIONS) if sys.platform == 'darwin': return ctypes.cast(extensions, ctypes.c_char_p).value.split(' ') else: return _split_nul_strings(extensions)
def get_extensions(): extensions = alc.alcGetString(context._device, alc.ALC_EXTENSIONS) if sys.platform == "darwin": return ctypes.cast(extensions, ctypes.c_char_p).value.split(" ") else: return _split_nul_strings(extensions)