Searched refs:sourceChannels (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAudioFloatFormatConverter.java121 private final int sourceChannels; field in class:AudioFloatFormatConverter.AudioFloatInputStreamChannelMixer
131 this.sourceChannels = ais.getFormat().getChannels();
137 targetChannels, (format.getFrameSize() / sourceChannels)
143 return (ais.available() / sourceChannels) * targetChannels;
159 ais.mark((readlimit / targetChannels) * sourceChannels);
167 int len2 = (len / targetChannels) * sourceChannels;
173 if (sourceChannels == 1) {
181 int cs = sourceChannels;
185 for (int c = 1; c < sourceChannels; c++) {
190 float vol = 1f / ((float) sourceChannels);
[all...]

Completed in 22 milliseconds