Bug 501524
Summary: | Pysol has no sound and should be ported to use the alsa interface. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eddie Lania <eddie> |
Component: | PySolFC | Assignee: | Stewart Adam <s.adam> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | s.adam |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | PySolFC-2.0-2.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-01 01:39:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eddie Lania
2009-05-19 15:12:06 UTC
Thanks for the report. I don't have the time to take a look at this immediately, but in the short term I will try to wrap PySol around padsp. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping An update on this issue: padsp doesn't work on pysol since it's a Python application which uses the "ossaudiodev" module... I did some (quick) research and at a first glance it seems that there aren't any actively developed modules available for making Python work with PA or alsa. I'm short on time and I don't know how to use ctypes+pulseaudio to fix this, so for now, patches are welcome :) (In reply to comment #3) > An update on this issue: padsp doesn't work on pysol since it's a Python > application which uses the "ossaudiodev" module... I did some (quick) research > and at a first glance it seems that there aren't any actively developed modules > available for making Python work with PA or alsa. > > I'm short on time and I don't know how to use ctypes+pulseaudio to fix this, so > for now, patches are welcome :) Nobody is on a hurry here man. I'm sure, given time, that you will come up with a solution yourself. Just continue. Regards, Eddie. I found this on the pulseaudio-discuss list: http://www.mail-archive.com/pulseaudio-discuss@mail.0pointer.de/msg01067.html > please, I just want to ask if there is some Python programming interface > to PulseAudio or some bindings for the C library that one could use? With the ctypes module you should be able to access any of the PulseAudio shared libraries from Python: http://docs.python.org/lib/module-ctypes.html And perhaps this also is of interest: https://tango.0pointer.de/pipermail/pulseaudio-commits/2009-January/003001.html regards, Eddie. Just updated to PySolFC-2.0-1.fc12.noarch I am still getting no sound. When run from console this is what I get on the screen: pysol PySolFC: WARNING: config file: validation error: section: "general", key: "statusbar_stuck" PySolFC: WARNING: config file: validation error: section: "general", key: "shisen_show_matching" PySolFC: WARNING: config file: validation error: section: "general", key: "sound_sample_buffer_size" Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pysollib/pysolaudio.py", line 337, in playLoop audiodev = ossaudiodev.open('w') IOError: [Errno 2] No such file or directory: '/dev/dsp' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pysollib/pysolaudio.py", line 357, in play audiodev = ossaudiodev.open('w') IOError: [Errno 2] No such file or directory: '/dev/dsp' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pysollib/pysolaudio.py", line 357, in play audiodev = ossaudiodev.open('w') IOError: [Errno 2] No such file or directory: '/dev/dsp' Isn't it time this gets fixed? Regards, Eddie. PySolFC-2.0-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/PySolFC-2.0-2.fc13 PySolFC-2.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/PySolFC-2.0-2.fc11 PySolFC-2.0-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/PySolFC-2.0-2.fc12 PySolFC-2.0-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update PySolFC'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2713 PySolFC-2.0-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update PySolFC'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2764 PySolFC-2.0-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update PySolFC'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-2774 Is working now, thank you, great improvement! Thanks for the feedback, I'll push the updates to stable. PySolFC-2.0-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. PySolFC-2.0-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. PySolFC-2.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |