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

/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_Ports.cpp107 void RemoveChangeListeners(PortMixer *mixer); // forward declaration
112 PortMixer *mixer = (PortMixer *)inClientData; local
133 if (devices[j] == mixer->deviceID) {
147 err = GetAudioObjectPropertySize(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
152 err = GetAudioObjectProperty(mixer->deviceID, kAudioObjectPropertyScopeGlobal,
155 for (PortControl *ctrl = mixer->portControls; ctrl != NULL; ctrl = ctrl->next) {
176 TRACE1("PortMixer (deviceID=0x%x) becomes invalid", (int)mixer->deviceID);
178 for (int i=0; i<mixer->deviceControlCount; i++) {
179 mixer->deviceControls[i].controlID = 0;
181 RemoveChangeListeners(mixer);
194 AddChangeListeners(PortMixer *mixer) argument
203 RemoveChangeListeners(PortMixer *mixer) argument
231 PortMixer *mixer = (PortMixer *)calloc(1, sizeof(PortMixer)); local
272 PortMixer *mixer = (PortMixer *)id; local
294 PortMixer *mixer = (PortMixer *)id; local
303 PortMixer *mixer = (PortMixer *)id; local
360 PortMixer *mixer = (PortMixer *)id; local
413 CreatePortControl(PortMixer *mixer, PortControlCreator *creator, PortControl::ControlType type, AudioControl **audioControls, int offset, int len) argument
451 PortMixer *mixer = (PortMixer *)id; local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftMixingMainMixer.java36 * Main mixer for SoftMixingMixer.
66 private final SoftMixingMixer mixer; field in class:SoftMixingMainMixer
116 public SoftMixingMainMixer(SoftMixingMixer mixer) { argument
117 this.mixer = mixer;
119 nrofchannels = mixer.getFormat().getChannels();
121 int buffersize = (int) (mixer.getFormat().getSampleRate() / mixer
124 control_mutex = mixer.control_mutex;
127 buffers[i] = new SoftAudioBuffer(buffersize, mixer
[all...]
H A DAbstractDataLine.java70 protected AbstractDataLine(DataLine.Info info, AbstractMixer mixer, Control[] controls) { argument
71 this(info, mixer, controls, null, AudioSystem.NOT_SPECIFIED);
77 protected AbstractDataLine(DataLine.Info info, AbstractMixer mixer, Control[] controls, AudioFormat format, int bufferSize) { argument
79 super(info, mixer, controls);
104 //$$fb 2001-10-09: Bug #4517739: avoiding deadlock by synchronizing to mixer !
105 synchronized (mixer) {
114 if (Printer.debug) Printer.debug(" need to open the mixer...");
115 // reserve mixer resources for this line
116 //mixer.open(this, format, bufferSize);
117 mixer
[all...]
H A DAbstractLine.java49 AbstractMixer mixer; field in class:AbstractLine
61 * @param mixer the mixer with which this line is associated
64 protected AbstractLine(Line.Info info, AbstractMixer mixer, Control[] controls) { argument
71 this.mixer = mixer;
213 // $$kk: 06.03.99: returns the mixer used in construction.
217 return mixer;
H A DDirectAudioDeviceProvider.java106 // if the default device is asked, we provide the mixer
110 Mixer mixer = getDevice(infos[i]);
111 if (mixer.getSourceLineInfo().length > 0) {
112 return mixer;
116 // otherwise get the first mixer that matches
H A DPortMixer.java69 // pass in Line.Info, mixer, controls
160 // open the mixer device
169 // close the mixer device
239 PortMixer mixer,
241 super(info, mixer, null);
253 long newID = ((PortMixer) mixer).getID();
301 synchronized (mixer) {
305 // reserve mixer resources for this line
306 mixer.open(this);
314 // release mixer resource
238 PortMixerPort(Port.Info info, PortMixer mixer, int portIndex) argument
[all...]
H A DSoftMixingSourceDataLine.java123 SoftMixingSourceDataLine(SoftMixingMixer mixer, DataLine.Info info) { argument
124 super(mixer, info);
299 if (!mixer.isOpen()) {
300 mixer.open();
301 mixer.implicitOpen = true;
310 this.outputformat = mixer.getFormat();
316 mixer.getMainMixer().openLine(this);
511 mixer.getMainMixer().closeLine(this);
H A DSoftMixingClip.java165 SoftMixingClip(SoftMixingMixer mixer, DataLine.Info info) { argument
166 super(mixer, info);
370 if (!mixer.isOpen()) {
371 mixer.open();
372 mixer.implicitOpen = true;
375 outputformat = mixer.getFormat();
381 mixer.getMainMixer().openLine(this);
519 mixer.getMainMixer().closeLine(this);
H A DDirectAudioDevice.java62 // pass in Line.Info, mixer, controls
402 DirectAudioDevice mixer,
408 super(info, mixer, null, format, bufferSize);
928 DirectAudioDevice mixer) {
929 super(info, mixer, format, bufferSize, mixer.getMixerIndex(), mixer.getDeviceID(), true);
945 DirectAudioDevice mixer) {
946 super(info, mixer, format, bufferSize, mixer
401 DirectDL(DataLine.Info info, DirectAudioDevice mixer, AudioFormat format, int bufferSize, int mixerIndex, int deviceID, boolean isSource) argument
925 DirectSDL(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument
942 DirectTDL(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument
1034 DirectClip(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument
[all...]
H A DSoftMixingDataLine.java424 SoftMixingMixer mixer; field in class:SoftMixingDataLine
432 SoftMixingDataLine(SoftMixingMixer mixer, DataLine.Info info) { argument
433 this.mixer = mixer;
435 this.control_mutex = mixer.control_mutex;
450 if (mixer.getFormat().getChannels() > 1) {
H A DSoftMainMixer.java42 * Software synthesizer main audio mixer.
49 // This becomes necessary when we want to have separate delay buffers for each channel mixer.
52 ModelChannelMixer mixer; field in class:SoftMainMixer.SoftChannelMixerContainer
590 if (voicestatus[i].channelmixer == cmixer.mixer) {
615 if (!cmixer.mixer.process(cbuffer, 0, bufferlen)) {
634 cmixer.mixer.stop();
778 public void stopMixer(ModelChannelMixer mixer) { argument
781 stoppedMixers.add(mixer);
784 public void registerMixer(ModelChannelMixer mixer) { argument
793 mixercontainer.mixer
[all...]
H A DAbstractMixer.java53 * Info object describing this mixer.
58 * source lines provided by this mixer
63 * target lines provided by this mixer
68 * if any line of this mixer is started
73 * if this mixer had been opened manually with open()
81 * Supported formats for the mixer.
104 * @param mixer the mixer with which this line is associated
116 this.mixer = this;
121 // setup the mixer par
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioSystem.java63 * <p>Properties can be used to specify the default mixer
105 * and the mixer name, separated by the hash mark (&quot;#&quot;).
108 * mixer provider} class. The mixer name is matched against
111 * Either the class name, or the mixer name may be omitted.
123 * <p>If a mixer name is specified, the resulting list of
129 * is found, or the mixer name is not specified,
130 * the first mixer from the resulting
141 * in the list of installed mixer providers,
142 * the first <code>Clip</code> from the first mixer wit
1573 isAppropriateMixer(Mixer mixer, Line.Info lineInfo, boolean isMixingRequired) argument
[all...]
/openjdk7/jdk/test/javax/sound/sampled/DataLine/
H A DDataLine_ArrayIndexOutOfBounds.java60 Mixer mixer = AudioSystem.getMixer(infos[i]);
63 mixer.open();
65 testSDL(mixer, scenario);
66 testTDL(mixer, scenario);
68 mixer.close();
143 static void testSDL(Mixer mixer, Scenario scenario) { argument
148 line = (SourceDataLine)mixer.getLine(linfo);
183 static void testTDL(Mixer mixer, Scenario scenario) { argument
188 line = (TargetDataLine)mixer.getLine(linfo);
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_SolarisOS_Utils.h32 #include <sys/mixer.h>
/openjdk7/jdk/src/share/classes/sun/audio/
H A DAudioDevice.java69 /** Handle to the JS audio mixer. */
70 private Mixer mixer = null; field in class:AudioDevice

Completed in 50 milliseconds