×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    81

    NewFilePlayerL problem..help me pls..

    Hi!
    I'm trying to use:

    iMdaAudioPlayerUtility = CMdaAudioPlayerUtility::NewFilePlayerL(KSoundFile, *this);

    inside the AppContainer, in order to play sounds..

    But there is this error in the second parameter:
    error C2664: 'CMdaAudioPlayerUtility::NewFilePlayerL' : cannot convert parameter 2 from 'CAppContainer' to 'MMdaAudioPlayerCallback &'

    (I have include <MdaAudioSamplePlayer.h>)

    Help me, pls..

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    56

    Re: NewFilePlayerL problem..help me pls..

    the AppContainer shoud derive from MMdaAudioPlayerCallback ,like this :

    class MyAppContainerublic MMdaAudioPlayerCallback,
    ......
    .......
    {
    .....
    }

Similar Threads

  1. problem when stop playing video on 3650 and try to play again
    By niko86 in forum Mobile Java General
    Replies: 5
    Last Post: 2007-08-03, 07:40
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. Eclipse SMSC Emulator problem Pls help
    By srikanth06 in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2005-02-24, 11:13
  4. hi Color problem in direct draw Yucca pls help
    By jugnoyasir in forum Mobile Java General
    Replies: 0
    Last Post: 2005-02-04, 13:24
  5. wireless problem
    By sash_mca in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2003-06-06, 11:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •