obtaining an AudioInputStream upto some x bytes from the original (Cutting an Audio File)

后端 未结 2 1805
星月不相逢
星月不相逢 2020-12-17 05:39

How can i read an AudioInputStream upto a particular number of bytes/microsecond position ? For example :

AudioInputStream ais = AudioSystem.get         


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-17 06:10

    Now that you have the stream you can read one byte at a time up to the maximum number ob bytes you want using read(), or read a fixed number of bytes with read(byte[] b).

提交回复
热议问题