diff options
Diffstat (limited to 'app-emulation/point2play/files/1.3.1-fix-sound-test.patch')
-rw-r--r-- | app-emulation/point2play/files/1.3.1-fix-sound-test.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app-emulation/point2play/files/1.3.1-fix-sound-test.patch b/app-emulation/point2play/files/1.3.1-fix-sound-test.patch deleted file mode 100644 index 4cfcdcd2b06b..000000000000 --- a/app-emulation/point2play/files/1.3.1-fix-sound-test.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- /var/tmp/portage/point2play-1.3.1/work/usr/lib/transgaming_point2play/tests/test_sound.py.orig 2004-08-14 01:22:11.956853792 -0400 -+++ /var/tmp/portage/point2play-1.3.1/work/usr/lib/transgaming_point2play/tests/test_sound.py 2004-08-14 01:22:20.241594320 -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')) |