Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User malemarco's Avatar
    Join Date
    Jul 2006
    Posts
    2
    Hi all!
    I'm using AudioInputStream to record an audiostream from the uplink and I have a doubt:
    I've made my own function "Record" in a class Engine (derived from MMdaAudioInputStreamCallback to implement the callbacks) and in Record I call the function ReadL(firstBuffer) on a CAudioInputStream object;
    then in MaiscBufferCopied I call the next ReadL(nextBuffer) in which audio data will be stored when the privious buffer is full.
    my doubt is: am I sure that there is no data loss while the system switch between the two buffers (the filled one and the next to be filled)?
    Whoever can guarantee me there is no data loss, thanks a lot mate!

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    There is an intermediate buffer (the hardware does not write data directly in your buffer), thus you can expect no loss of data if you re-invoke ReadL in a reasonable time.

  3. #3
    Registered User malemarco's Avatar
    Join Date
    Jul 2006
    Posts
    2
    thanks very much wizard_hu_! this is exactly the answer I needed

Similar Threads

  1. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  2. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  3. 6600 gprs 发送大量rtp延时问题
    By dicson_hu in forum Symbian
    Replies: 9
    Last Post: 2005-11-04, 02:12
  4. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  5. Replies: 2
    Last Post: 2004-09-15, 22:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved