[PyKDE] QSound?
Peter Osborne
pete at bookware3000.ca
Wed Sep 4 16:17:00 BST 2002
I used pygame instead
pygame.mixer.init()
sound = pygame.mixer.Sound("gotmail1.wav")
sound.play()
did the trick
-Pete
On September 4, 2002 03:27 am, Phil Thompson wrote:
> Peter Osborne wrote:
> > Hi All,
> >
> > I was wondering if QSound is implemented in pyqt (qt3) and if so, does
> > anyone have a few lines to show me how to play a wav file?
> >
> > I tried QSound.play("gotmail1.wav") to no avail...the Qt docs say you
> > need "Network Audio System".
>
> QSound is fully implemented in PyQt. That doesn't necessarily mean that
> QSound is fully implemented in Qt - as you have seen, you need to enable
> the appropriate support when building Qt.
>
> Phil
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde
More information about the PyQt
mailing list