AudioInputStream does not close the line when instanciated with TargetDataLine

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • None
    • beta2
    • generic
    • generic
    • Verified



      Name: fb126949 Date: 07/14/2001


      1. construct an AudioInputStream with a line as parameter:
         AudioInputStream ais=new AudioInputStream (targetDataLine);
      2. Now, a call to ais.close() does NOT call close() of the
         the targetDataLine.

      The problem is in javax.sound.sampled.AudioInputstream, inner class TargetDataLineInputStream: it does not overwrite at all the close() method.


      ======================================================================

            Assignee:
            Florian Bomers (Inactive)
            Reporter:
            Florian Bomers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: