You're doing this in QML?

Just do something such as:

import QtMultimediaKit 1.1

Audio {
        id: playMusic
        autoLoad:true
        Component.onCompleted: {
            playMusic.source = "/path/mysound.ogg";
        }
    }

Cheers,
Brad

On Tue, Jul 26, 2011 at 3:35 PM, Stylianou, Costas <
[email protected]> wrote:

> Hi,****
>
> ** **
>
> Can someone tell me the correct API’s to use to playback an .ogg audio
> files within my applications, should I be using Qtmultimedia or Gstreamer
> (which plugin?), any sample code or docs that you can point me too?****
>
> ** **
>
> Many thanks****
>
> Costas ****
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
> http://wiki.meego.com/Mailing_list_guidelines
>
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to