--- usr/lib/transgaming_point2play/tests/test_sound.py.orig 2004-09-14 19:10:30.409212936 -0400 +++ usr/lib/transgaming_point2play/tests/test_sound.py 2004-09-14 19:15:05.541386488 -0400 @@ -40,15 +40,13 @@ # OSS Portion of the test # try: - audio_out = ossaudiodev.open('/dev/dsp', 'w') + audio_out = ossaudiodev.open('w') except IOError, e: OSSResult = ((_('OSS Sound Support'), _('Unable to open /dev/dsp'), 'red')) if audio_out: try: - audio_out.setparameters(TestSound1.getframerate(), 16, - TestSound1.getnchannels(), ossaudiodev.AFMT_S16_LE, False) - #FIXME: use getsampwidth for 16 and AFMT_S16_LE + audio_out.setparameters(ossaudiodev.AFMT_S16_LE, TestSound1.getnchannels(), TestSound1.getframerate()) except: audio_out.close() OSSResult = ((_('OSS Sound Support'), _('Unable to play sound, your\nSound card may not be configured correctly'), 'red'))