diff options
Diffstat (limited to 'app-emulation/point2play/files/1.3-fix-sound-test.patch')
-rw-r--r-- | app-emulation/point2play/files/1.3-fix-sound-test.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app-emulation/point2play/files/1.3-fix-sound-test.patch b/app-emulation/point2play/files/1.3-fix-sound-test.patch deleted file mode 100644 index edd728860636..000000000000 --- a/app-emulation/point2play/files/1.3-fix-sound-test.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- usr/lib/transgaming_point2play/tests/test_sound.py.suckit 2004-06-22 01:28:14.000000000 -0400 -+++ usr/lib/transgaming_point2play/tests/test_sound.py 2004-06-23 18:46:52.866931568 -0400 -@@ -30,14 +31,12 @@ - except: - return ((_('Basic sound test'), _("Unable to open sound file,\nCan not test sound card"), 'red'),) - try: -- audio_out = ossaudiodev.open('/dev/dsp', 'w') -+ audio_out = ossaudiodev.open('w') - except IOError, e: - return ((_('Basic sound test'), _('Unable to open /dev/dsp'), 'red'),) - - 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() - return ((_('Basic sound test'), _('Unable to play sound, your\nSound card may not be configured correctly'), 'red'),) |