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

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAbstractPollSelectorImpl.java56 protected int totalChannels; field in class:AbstractPollSelectorImpl
66 this.totalChannels = channels;
91 for(int i=channelOffset; i<totalChannels; i++) {
105 totalChannels = 0;
119 for (int i=channelOffset; i<totalChannels; i++) {
146 if (channelArray.length == totalChannels) {
148 int newSize = pollWrapper.totalChannels * 2;
151 for (int i=channelOffset; i<totalChannels; i++)
157 channelArray[totalChannels] = ski;
158 ski.setIndex(totalChannels);
[all...]
H A DAbstractPollArrayWrapper.java58 protected int totalChannels = 0; field in class:AbstractPollArrayWrapper
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DPollArrayWrapper.java55 totalChannels = 1;
77 putDescriptor(totalChannels, IOUtil.fdVal(sc.getFD()));
78 putEventOps(totalChannels, 0);
79 putReventOps(totalChannels, 0);
80 totalChannels++;
107 for (int i=0; i<totalChannels; i++)
H A DPollSelectorImpl.java73 pollWrapper.poll(totalChannels, 0, timeout);
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsSelectorImpl.java68 private int totalChannels = 1; field in class:WindowsSelectorImpl
297 Math.min(totalChannels, MAX_SELECTABLE_FDS),
306 totalChannels - (index + 1) * MAX_SELECTABLE_FDS),
512 for(int i = 1; i < totalChannels; i++) { // Deregister channels
538 channelArray[totalChannels] = ski;
539 ski.setIndex(totalChannels);
542 pollWrapper.addEntry(totalChannels, ski);
543 totalChannels++;
548 if (channelArray.length == totalChannels) {
549 int newSize = totalChannels *
[all...]
/openjdk7/jdk/src/macosx/classes/sun/nio/ch/
H A DKQueueSelectorImpl.java52 private int totalChannels; field in class:KQueueSelectorImpl
90 totalChannels = 1;
201 totalChannels = 0;
214 totalChannels++;
223 totalChannels--;
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_Ports.cpp514 int totalChannels = GetChannelCount(mixer->deviceID, port->scope == kAudioDevicePropertyScopeOutput ? 1 : 0); local
517 AudioControl* volumeControls[totalChannels+1]; // 0 - for master channel
518 memset(&volumeControls, 0, sizeof(AudioControl *) * (totalChannels+1));
519 AudioControl* muteControls[totalChannels+1]; // 0 - for master channel
520 memset(&muteControls, 0, sizeof(AudioControl *) * (totalChannels+1));
524 if (control->classID == 0 || control->scope != port->scope || control->channel > (unsigned)totalChannels) {
556 // volumeControls[n] and muteControls[n] (n=1..totalChannels) - corresponding channel controls
560 if (ValidControlCount(volumeControls, 1, totalChannels) == totalChannels) {
562 masterVolume = CreatePortControl(mixer, creator, PortControl::Volume, volumeControls, 1, totalChannels);
[all...]
H A DPLATFORM_API_MacOSX_PCM.cpp117 int totalChannels = GetChannelCount(audioDeviceID, isSource); local
119 if (totalChannels == 0) {
124 if (isSource && totalChannels < 2) {
126 totalChannels = 2;
129 int channels[] = {1, 2, totalChannels};
130 int channelsCount = MIN(totalChannels, 3);
133 TRACE2(" DAUDIO_GetFormats: got %d channels, sampleRate == %f\n", totalChannels, hardwareSampleRate);

Completed in 85 milliseconds