×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    AudioInputStream: is there data loss?

    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
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: AudioInputStream: is there data loss?

    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
    Join Date
    Jul 2006
    Posts
    2

    Re: AudioInputStream: is there data loss?

    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. 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
  4. 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
  •