#12 Recordings on Dialogic truncated

drivers
closed-fixed
David Sugar
5
2001-06-15
2001-05-11
Andreas Damm
No

When recording on a dialogic d41h using playrec.scr,
messages get truncated by upto 2 seconds. This seems
to happen most with short messages (upto 10 seconds).

I am running the RedHat i386 0.6.0 rpm version on a
2.2.14 kernel (stock RedHat 6.2 kernel).

Discussion

  • David Sugar
    David Sugar
    2001-05-11

    • assigned_to: nobody --> dyfet
     
  • David Sugar
    David Sugar
    2001-05-11

    Logged In: YES
    user_id=217

    I know why this occurs. When recording is terminated, the
    record stream is closed, and this no doubt occurs before the
    last Dialogic uio method write has committed the final
    portion of the record file. The uio methods are called with
    a 16K audio buffer internal to the Dialogic sdk, and that is
    large enough to hold 2 seconds of speech. Depending on how
    far into the last buffer termination occurs, there can be
    0-2 seconds lost. There is an additional %audio.trim
    session, which is normally used to trim trailing DTMF, but
    that normally only reduces the size by an additional 1/8th
    of a second.

    The solution would be to make sure the final buffer write
    occurs before the record file is closed for the Dialogic,
    and I will look at how to make sure that happens...

     
  • David Sugar
    David Sugar
    2001-06-15

    Logged In: YES
    user_id=217

    Fixed in recent patch from dammy...soon to be in cvs.

     
  • David Sugar
    David Sugar
    2001-06-15

    • status: open --> closed-fixed