Tutorial :how would you say it in words? [closed]



Question:

The following code, how would you say in words?

AudioInputStream cutStream = new AudioInputStream(  new FileInputStream(inFile), audioFormat, sourceDataLine.getLongFramePosition());  


Solution:1

Create a new audio input stream using the specified file, format and position.


Solution:2

Cutstream is a new AudioInputStream. I passed into the constructor inFile, audioFormat, and the longFramePosition from sourceDataLine.


Solution:3

Instantiate a new instance of the AudioStream class, with a new instance of a FileInputStream reading from infile, using the local object audioformat, and the object returned by the getLongFramePosition method of the local object sourceDataLine and store the instance in the local variable cutStream.


Solution:4

"Create a new instance of AudioInputStream, giving it a FileInputStream to the input file, the audioformat and sourceDataLine dot getLongFramePosition."


Solution:5

"Create a new AudioInputStream from some parameters configured elsewhere."

I think what you may really be looking for is the Javadoc for AudioInputStream's constructor.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »