Beispiel #1
0
 def get_version(self):
     major = alc.ALCint()
     minor = alc.ALCint()
     alc.alcGetIntegerv(self._device, alc.ALC_MAJOR_VERSION, 
                        ctypes.sizeof(major), major)
     alc.alcGetIntegerv(self._device, alc.ALC_MINOR_VERSION, 
                        ctypes.sizeof(minor), minor)
     return major.value, minor.value
Beispiel #2
0
 def get_version(self):
     major = alc.ALCint()
     minor = alc.ALCint()
     alc.alcGetIntegerv(self._device, alc.ALC_MAJOR_VERSION, 
                        ctypes.sizeof(major), major)
     alc.alcGetIntegerv(self._device, alc.ALC_MINOR_VERSION, 
                        ctypes.sizeof(minor), minor)
     return major.value, minor.value