equal
deleted
inserted
replaced
203 } |
203 } |
204 return AudioFloatInputStream.getInputStream(ais); |
204 return AudioFloatInputStream.getInputStream(ais); |
205 } |
205 } |
206 if (buffer.array() == null) { |
206 if (buffer.array() == null) { |
207 return AudioFloatInputStream.getInputStream(new AudioInputStream( |
207 return AudioFloatInputStream.getInputStream(new AudioInputStream( |
208 buffer.getInputStream(), format, buffer.capacity())); |
208 buffer.getInputStream(), format, |
|
209 buffer.capacity() / format.getFrameSize())); |
209 } |
210 } |
210 if (buffer8 != null) { |
211 if (buffer8 != null) { |
211 if (format.getEncoding().equals(Encoding.PCM_SIGNED) |
212 if (format.getEncoding().equals(Encoding.PCM_SIGNED) |
212 || format.getEncoding().equals(Encoding.PCM_UNSIGNED)) { |
213 || format.getEncoding().equals(Encoding.PCM_UNSIGNED)) { |
213 InputStream is = new Buffer8PlusInputStream(); |
214 InputStream is = new Buffer8PlusInputStream(); |