[Pymoul-svn] SF.net SVN: pymoul: [191] pymoul/trunk/src/moul/file/wdysini.py
Status: Alpha
Brought to you by:
tiran
From: <ti...@us...> - 2007-02-25 23:21:56
|
Revision: 191 http://pymoul.svn.sourceforge.net/pymoul/?rev=191&view=rev Author: tiran Date: 2007-02-25 15:21:47 -0800 (Sun, 25 Feb 2007) Log Message: ----------- Fixed audio device bug and added missing res. Thx to Orbmu2k Modified Paths: -------------- pymoul/trunk/src/moul/file/wdysini.py Modified: pymoul/trunk/src/moul/file/wdysini.py =================================================================== --- pymoul/trunk/src/moul/file/wdysini.py 2007-02-24 19:45:36 UTC (rev 190) +++ pymoul/trunk/src/moul/file/wdysini.py 2007-02-25 23:21:47 UTC (rev 191) @@ -263,6 +263,7 @@ (1600, 900, 16, 9), (1600, 1200, 4, 3), (1920, 1200, 16, 10), + (2560, 1600, 16, 10), ) # (w, h) -> idx _reverse_vm = dict([((d[0], d[1]), i) for i, d in enumerate(_videomodes)]) @@ -572,7 +573,7 @@ _devices = ['"Generic Software"', '"Generic Hardware"'] # plus maybe a custom OpenAL v1.1 device - def parserDoneHook(self): + def _parserDoneHook(self): """Hook called after the data is read and parsed """ # check for OpenAL device @@ -580,7 +581,7 @@ if name not in self._devices: LOG.info("Device added: %s" % name) self._devices.append(name) - + def getDeviceIdx(self, name): """Get index by device name """ @@ -608,7 +609,7 @@ """ name = self.getDeviceName(idx) self._set('Audio.SetDeviceName', name) - + def numberOfDevices(self): """Number of devices """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |