Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - MmSetDefaultClock: (9 Items)
   
MmSetDefaultClock  
Hi,

I was trying to build my own graph using MME. 

The function MMSetDefaultClock giving me a link error :

(.text+0x3bc): undefined reference to `MmSetDefaultClock'

But all other functions are getting linked !
I am including libmmedia.so as a shared library. 

Can somebody help me with this ?

Thanks,
Arun
Re: MmSetDefaultClock  
You don't create a graph if you are using the MME.  MME talks to io-media
which in turn uses MMF to play back the content.  Do you have the MME
documentation?

On 11-11-30 11:06 AM, "Arun Johnson" <community-noreply@qnx.com> wrote:

>Hi,
>
>I was trying to build my own graph using MME.
>
>The function MMSetDefaultClock giving me a link error :
>
>(.text+0x3bc): undefined reference to `MmSetDefaultClock'
>
>But all other functions are getting linked !
>I am including libmmedia.so as a shared library.
>
>Can somebody help me with this ?
>
>Thanks,
>Arun
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post90357
>
Re: MmSetDefaultClock  
sorry,
What I meant is I am trying to create my own graph using the library. 
that's when I got the error. 

Thanks,
Arun
Re: MmSetDefaultClock  
MMF is not normally a customer-facing API.  Also, there should be no
reason to call that function.  What are you trying to accomplish?

Are you using Aviage, or the Blackberry NDK?

On 11-11-30 11:12 AM, "Arun Johnson" <community-noreply@qnx.com> wrote:

>sorry,
>What I meant is I am trying to create my own graph using the library.
>that's when I got the error.
>
>Thanks,
>Arun
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post90359
>
Re: MmSetDefaultClock  
I am trying to learn about the library using examples from QNX Neutrino, Multimedia Developer's guide. Specifically Ex: 
"playing MP3". I was learning to use the 

media reader, wave parser and audio writer to get playing a wave file. I assume this is all I need to play a wave file. 


io-audio is functional in my system and I am able to play wave files using the wave utility. I am trying to achieve the 
same functionality with MMF. But this function is giving me a linking error. 

Thanks,
Arun 
Re: MmSetDefaultClock  
I am using Aviage for the purpose.

Thanks
Re: MmSetDefaultClock  
If you are using Aviage, MMF is not a customer-facing API.  Why have you
chosen that?  Is there something the MME is not able to do for you?

On 11-11-30 11:37 AM, "Arun Johnson" <community-noreply@qnx.com> wrote:

>I am using Aviage for the purpose.
>
>Thanks
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post90364
>
Re: MmSetDefaultClock  
No I wanted to have an understanding of the framework internally so that I can write my own player.

by commenting out MmSetDefaultClock, I am able to get the graph started 
but Mmstatus returns MM_STATUS_ERROR.

Is there anything else I need to consider for plying just a wave file. 

you help is reapply appreciated 

thanks,
arun
Re: MmSetDefaultClock  
As I said earlier.  MMF is not a customer-facing, or supported API for
Aviage.  Sorry.  If you want to play media using Aviage, please use the
MME.

On 11-11-30 12:01 PM, "Arun Johnson" <community-noreply@qnx.com> wrote:

>No I wanted to have an understanding of the framework internally so that
>I can write my own player.
>
>by commenting out MmSetDefaultClock, I am able to get the graph started
>but Mmstatus returns MM_STATUS_ERROR.
>
>Is there anything else I need to consider for plying just a wave file.
>
>you help is reapply appreciated
>
>thanks,
>arun
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post90369
>