| Issue 249: | Sound.volume leads to an error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. create a sound, set a value to volume
2. increase the value
What is the expected output? What do you see instead?
error:
audio_gstreamer.py", line 100, in _set_volume
return super(SoundPygame, self)._set_volume(volume)
What version of the product are you using? On what operating system?
py2.6
pymt0.4
ubuntu10.04
Please provide any additional information below.
fix by replacing SoundPygame by SoundGstreamer line 95 and 100 in the file
audio_gstreamer.py
PS : increment the volume using sound.volume+=0.1 doesn t work. the volume
is reset to 1 when sound is played. Volume value has to be passed :
sound.volume=0.52 instead
May 15, 2010
Project Member
#1
txprog
Status:
Done
Jul 2, 2010
(No comment was entered for this change.)
Labels:
Milestone-0.5
|