Phonon: repeat

Hazel n/a playhazel at gmail.com
Fri Feb 5 11:44:26 GMT 2010


I'm trying to repeat a sample many times, my current code is:
    connect(&media, SIGNAL(finished()), &media, SLOT(play()));
    media.play();
But it fails with short samples (1 or 2 seconds).

I'm searching for another way to repeat but the only way i see is to enqueue
the same sample again and again.. Is there a simpler way to repeat (of a an
entire sample) with phonon?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20100205/96814dea/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list