×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    6

    Question Yet another doubt about CMdaAudioOutputStream

    Hi,
    I read in previous posts that CMdaAudioOutputStream class has some issues with callbacks. Even the WIKI said so(http://wiki.forum.nokia.com/index.ph...tream_playback). What ever posts i read were pretty old. It was discussed that MaoscPlayComplete works in emulator but not on the device. I tried in SDK "S60_3rd_FP2 v1.1", in emulator itself, i aint receiving that callback.
    Is this still a bug(n known issue) or a behavioral change that was introduced in device and then on emulator?.
    But the documentation still reads "MaoscPlayComplete" will be called once the stream doesnt have any data to play.
    Plz help.

    Thanks in advance,
    vijay.

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    48

    Re: Yet another doubt about CMdaAudioOutputStream

    Hi,

    I recently used CMdaAudioOutputStream in 3.1 SDK. I didn't get my SW to work at the emulator at all (callbacks missing). I strongly suggest that you will try to run that SW in the targeted phone itself. Now the carbide 2.0 professional edition is free, so that option is available for everyone.

    Best Regards,
    Summeli

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    6

    Re: Yet another doubt about CMdaAudioOutputStream

    Hi Summeli,
    Thanks for the reply.
    Currently am using Carbide 2.0 and SDK "S60_3rd_FP2v1.1". I tried in emulator and device. Didnt receive such callback.

    Thanks,
    vijay.

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    48

    Re: Yet another doubt about CMdaAudioOutputStream

    Hi,

    To be accurate: I didn't wait for MaoscPlayComplete callbacks. I only used MaoscOpenComplete
    and MaoscBufferCopied callbacks. I used PCM data for game audio, so the MaoscPlayComplete callback wasn't so important one.

    You can also detect that the playback has been stopped, when all your buffers have been released with MaoscBufferCopied callbacks, and you don't have any data left.

    I hope this helps.

  5. #5
    Registered User
    Join Date
    Dec 2008
    Posts
    6

    Re: Yet another doubt about CMdaAudioOutputStream

    Thanks Summeli,
    I will try this one.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: Yet another doubt about CMdaAudioOutputStream

    PlayComplete callback is not that exciting in case of CMdaAudioOutputStream, since you can enqueue new buffers at any time. A thing to try could be checking what happens when an incoming event (phone call, SMS, etc.) interrupts your stream. However that will not occur in the emulator for obvious reasons.

Similar Threads

  1. Possible race condition in CMdaAudioOutputStream and CMMFDevSound?
    By mgroeber9110 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2008-03-28, 10:33
  2. Replies: 6
    Last Post: 2005-10-03, 05:51
  3. CMdaAudioOutputStream - WriteL function leaves with KErrInUse
    By juliand77 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-02-23, 15:54
  4. Replies: 7
    Last Post: 2004-11-30, 17:36
  5. Replies: 0
    Last Post: 2004-02-27, 09:18

Posting Permissions

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