×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    7

    Streaming problem: Audio stop before playing

    Hello everyone, I have problem about write buffer to stream.
    The audio doesn't play and the MaoscBufferCopied was called suddenly (After WriteL).

    CODE:
    HBufC8* heapBuffer = HBufC8::NewL(size);
    TPtr8 prtBuffer(heapBuffer->Des());
    fileReader.Read(prtBuffer, size);
    iAudioStream->WriteL(prtBuffer);

    It call MaoscBufferCopied suddenly.

    But when I add CEikonEnv::Static()->InfoWinL(_L("Play"), _L("WAIT")); after the iAudioStream->WriteL();
    The audio was play while the dialog is showing, after I press back the audio also stop.

    HBufC8* heapBuffer = HBufC8::NewL(size);
    TPtr8 prtBuffer(heapBuffer->Des());
    fileReader.Read(prtBuffer, size);
    iAudioStream->WriteL(prtBuffer);
    CEikonEnv::Static()->InfoWinL(_L("Play"), _L("WAIT"));

    Please help.

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,988

    Re: Streaming problem: Audio stop before playing

    hi just go through once about WriteL() in the sdk, i think it will clarify your doubt

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    7

    Re: Streaming problem: Audio stop before playing

    Quote Originally Posted by vineet.jain View Post
    hi just go through once about WriteL() in the sdk, i think it will clarify your doubt
    I try to look through the SDK but I found only .h
    Any other choice?

Similar Threads

  1. Problem: Audio Capture/record with APS with big noise (in ulaw)
    By paipeng in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2011-05-17, 14:42
  2. Full-duplex audio streaming problem.
    By sadkes in forum Symbian
    Replies: 26
    Last Post: 2009-10-31, 08:48
  3. simultaneous streaming of audio file and playing it
    By amalshah71 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-01-31, 00:14
  4. Audio input streaming problem on Series 60 v2.6 phones (6680,6630)
    By andrew.hayes in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-20, 14:30
  5. Audio input streaming problem
    By mitay2 in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2005-05-04, 13:38

Posting Permissions

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