Delay opening DirectAudioDevice, may relate to serial/usb device usage

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 5.0-pool
    • Affects Version/s: 5.0u15
    • Component/s: other-libs
    • x86
    • windows_xp

        A customer has an audio-related problem with the JRE 1.5.0_15 on Windows XP SP2.

        There is an intermittent audio operation delay (around 8 seconds) if a RS-232C
        communication program is running on the same PC. The customer has also seen the
        symptom when there was some USB I/O.

        By enabling the Java level debugging, it seems that the medod called com/sun/media/sound/DirectAudioDevice$DirectDL.implOpen()
        takes up to 8 secs. Here is a snippet from customer's logs:

        ...
        thread 174 49millis: > AbstractDataLine.open(format, bufferSize) (class: com.sun.media.sound.DirectAudioDevice$DirectClip
        thread 174 49millis: need to open the mixer...
        thread 174 49millis: DirectAudioDevice: implOpen - void method
        thread 174 50millis: >> DirectDL: implOpen(PCM_SIGNED 11025.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian, 22050 bytes)
        thread 174 50millis: DirectAudioDevice: got 2 controls.
        thread 174 8322millis: << DirectDL: implOpen() succeeded
        ...

              Assignee:
              Kevin Walls
              Reporter:
              Johann Löfflmann (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: