开发者

how would you say it in words? [closed]

开发者 https://www.devze.com 2023-01-07 00:19 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago. 开发者_如何学JAVA

The following code, how would you say in words?

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


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


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


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.


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


"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.

0

精彩评论

暂无评论...
验证码 换一张
取 消