Closed GoogleCodeExporter closed 8 years ago
I ĺl take a look at it soon.
Original comment by roberto.alsina
on 16 Feb 2010 at 12:01
It seems that the behavior of MediaObject is such that when playback is
finished the
position in the stream is kept. To start another playback you need to seek to
the
beginning.
I attached a modified version of main.py (just added one line in eventFilter).
This one works fine on Windows.
Original comment by pierpaol...@gmail.com
on 18 Feb 2010 at 10:23
Attachments:
I improved a bit the code connecting the finished event with a function to seek
to
the beginning.
I also removed some print I had used for debugging. Should be clean now.
Original comment by pierpaol...@gmail.com
on 18 Feb 2010 at 10:37
Attachments:
This is yet another version.
When you type quickly keys are pressed before the sound ends playing.
In this implementation the sound is stopped and another one is started as soon
as you
press a key.
The effect sounds pretty good.
We should decide what kind of behavior we want as clicks and keys cannot be
synchronized.
Original comment by pierpaol...@gmail.com
on 18 Feb 2010 at 10:49
Attachments:
I think I like better the one from comment #4
Original comment by roberto.alsina
on 18 Feb 2010 at 10:57
Committed in r344 and verified to work well on Linux, if it's ok on Windows,
you can close
the issue.
Original comment by roberto.alsina
on 18 Feb 2010 at 11:01
Original comment by pierpaol...@gmail.com
on 19 Feb 2010 at 7:19
Original issue reported on code.google.com by
pierpaol...@gmail.com
on 15 Feb 2010 at 9:17