Copyright: © Yip Mann Fai


Help Contents
Contents

Overview

What is Creative Mixer

Working with Creative Mixer

Using the Mouse and Keyboard

Controlling Volume

Controlling Recording

Switching between Volume Control and Recording Control

Changing the Display of Mixer Control

Selecting the Display for Minimum View

Hiding the Tool Bar

Hiding the Title Bar

Changing the Title Bar Text Display

Selecting Recording Sources

Selecting the Audio Card

Using the LED Display Unit

Using the Hot Keys

Command line processing

Troubleshooting

The application launches and quits immediately without giving any error messages

Error Messages

Programming the Creative Mixer

Programming the Creative Mixer


What is Creative Mixer

Creative Mixer is a powerful Windows-based audio mixer that allows you to combine and manipulate sound from various audio sources.  With Creative Mixer, it is possible to control the volume of an audio source while running other Windows applications.  You can also select and mix different audio sources during playback and recording.

Some features of the Creative Mixer include:

•	Windows Sound System and Windows Multimedia System compliance.

•	Support of multiple audio cards.

•	Support of multiple instances of Creative Mixer.

•	Separate interfaces for volume and recording controls.

•	Balloon help.

•	On-line help.


Using the Mouse and Keyboard

Creative Mixer can be controlled using the mouse or keyboard.

Mouse Controls:

•	To select a check box, clicks on the check box with your left mouse button.

•	To adjust the slider bar, click on the slider bar and hold down the mouse button as you drag it to the desired position.

Keyboard Controls:

•	To advance from one option to another, press <Tab>.

•	To move to the previous option, press <Shift+Tab>.

•	To select an option in a check box, press <Spacebar>.

•	To adjust the volume of audio sources, use the Up or Down arrow key.

•	To move to the next device, press <Ctrl+Tab>.


Controlling Volume

The Mixer Volume Control is used to control the output volumes of the various auxiliary devices that are available on the sound card. It also allows you to mute the volume of the auxiliary devices.

Related Topics:

Controlling the Volume Level

Muting the Volume

Balancing the Output Volume


Controlling the Volume Level

You can adjust the volume level of a device using the Volume Slider.

You can set the volume level for Treble and Base to the hardware default by double-clicking the thumb of the Volume Slider or pressing <Ctrl+R>.


Muting the Volume

The Mute Controls in the Volume Control interface of the Creative Mixer allows you to mute the volumes of the auxiliary devices.

To mute the volume of a device, unchecks the Mute Control of that device.


Balancing the Output Volume

You can adjust the balance of a device using the Balance Slider.  When the Balance Slider control is situated on the left, the volume on the right channel is lower than that of the left channel's and vice versa. To centralize the balance, double-click the thumb of the Balance Slider.


Controlling Recording

The Mixer Recording Control is used to control the volumes of the recording sources.  These sources are the various auxiliary devices that are supported by the sound card.  It also allows you to select a auxiliary device for recording.

Related Topics:

Selecting a Recording Device

Controlling the Recording Level

Balancing Recording Volume


Selecting a Recording Device

To select a recording device, check the Recording Source check box.  When a device is selected, a red dot appears in the Recording Source check box.

If you are using a Sound Blaster Pro card, you can select only one recording source at any one time.


Controlling the Recording Level

To adjust the recording level of a device, use the Recording Level Slider.


Balancing Recording Volume

To adjust the balance of an input device, use the Balance Slider.


Switching between Volume Control and Recording Control

You can switch from Volume Control to Recording Control and vice versa.

To switch from Volume Control to Recording Control:

•	Choose the Tool Bar's Recording Controls button.

•	Select Show Recording Controls from the Control menu.

•	Press <Alt+R>.

To switch from Recording Control to Volume Control:

•	Choose the Tool Bar's Volume Controls button.

•	Select Show Volume Controls from the Control menu.

•	Press <Alt+V>.


Changing the Display of Mixer Control

You can display Creative Mixer in three views—Minimum View, Custom View and Expanded View.  You can only select one view at a time.

The Minimum View displays a single selectable auxiliary device.

The Custom View displays the selected auxiliary devices defined in the Preference dialog.

The Expanded View displays all the auxiliary devices available.  This is dependent on the type of  audio card installed in your system.

To switch to Minimum View display:

•	Choose the Tool Bar's Minimum View button.

•	Select Minimum View from the Control menu.

•	Press <Ctrl+I>.

To switch to Custom View display:

•	Choose the Tool Bar's Custom View button.

•	Select Custom View from the Control menu.

•	Press <Ctrl+U>.

To switch to Expanded View display:

•	Choose the Tool Bar's Expanded View button.

•	Select Expanded View from the Control menu.

•	Press <Ctrl+E>.


Selecting the Display for Minimum View

You can select the volume controls of the various devices to be displayed when the display of Creative Mixer is in Minimum View.  To select the devices, you need to activate the Device Palette dialog which is only available when Creative Mixer is displayed in Minimum View.

To activate the Device Palette:

•	Use the left mouse button and click on the auxiliary device indicator.

•	Select Device Palette from the Control menu.

•	Press <Ctrl+P>.

To select the devices for display, click on the button of the desired device.


Hiding the Tool Bar

You can hide the Tool Bar on Creative Mixer if  it is taking up too much desktop space.

To hide the Tool Bar:

•	Double-click the left mouse button on the Toolbar.

•	Uncheck Tool Bar in the Control menu.

•	Press <Ctrl+B>.

To show the Tool Bar:

•	Place the mouse pointer at a vacant location (one with no controls) on Creative Mixer. With the <Shift> key held down, double-click the left mouse button.

•	Check Tool Bar in the Control menu.

•	Press <Ctrl+B>.


Hiding the Title Bar

You can hide the Title Bar on Creative Mixer.

To hide the Title Bar:

•	Place the mouse pointer at a vacant location on Creative Mixer and double-click the left mouse button.

•	Uncheck Title Bar in the Control menu.

•	Press <Ctrl+T>.

To show the Title Bar:

•	Place the mouse pointer at a vacant location on Creative Mixer and double-click the left mouse button.

•	Uncheck Title Bar in the Control menu.

•	Press <Ctrl+T>.


Changing the Title Bar Text Display

The Title Bar allows you to display the name of the audio card (or product name) or  the  mixer interface.  To change the text displayed, double-click the left mouse button on the title bar.


Selecting Recording Sources

Besides using the Recording Source mute boxes in Recording Control to select the required recording devices, you can use the Input/Output Settings dialog.

To select a recording source:

1.	Select Input/Output Settings from the Control menu.
The Input/Output Settings dialog box appears.

2.	Select the audio source for recording into the left and right recording channels from the Left In and Right In boxes.

3.	Use the AGC to automatically adjust input from the microphone.

4.	Choose Close.

Note:

For stereo recording, make sure the left signal (L) of the audio source is directed to the Left In channel and the right signal (R) to the Right In channel.

For mono recording from stereo source, select the source's left and/or right channels in the Left In box.


Selecting the Audio Card

If you have more than one audio card installed in your system, you can select the audio card to be used with Creative Mixer.

To select an audio card to control:

1.	Select Choose Mixer from the Control menu.

2.	Select the audio card from the popup menu.

Note:

The options in the popup menu is dependent on the number and type of audio cards installed in your system.


Using the LED Display Unit

The LED Display Unit

Hiding the LED Display Unit

Switching LED Modes

Switching Spectrum Modes

Hiding Mixer Controls


The LED Display Unit

The LED Display Unit displays visual representations of the playback signals.  There are three visual display modes:

•	VU Display Mode.

•	Scope Display Mode.

•	Spectrum Display Mode.


Hiding the LED Display Unit

To hide or display the LED Display Unit:

•	Click on the Show/Hide LED Display button in the Tool Bar.

•	Select LED Display in the Control menu.

•	Press <Ctrl+L>.

Note:

When the LED Display is activated, the Creative logo on the LED Display is highlighted.  Also, the LED Display Unit is automatically turned off during recording and playing back or wave files (*.wav) or when it is unable to acquire the wave device in the audio card.


Switching LED Modes

1.	Click on the center of the LED display to switch to the next LED display mode.


Switching Spectrum Modes

1.	Click on the buttons labeled as 1, 2 or 3 on the LED display to switch to the Normal Spectrum Mode, Peak Hold Spectrum Mode or Peak Decay Spectrum Mode respectively.


Hiding Mixer Controls

To hide the Mixer Controls:

1.	Uncheck the Mixer Control button in the LED Display.

To show the Mixer Controls:

1.	Check the Mixer Control button in the LED Display.


Using the Hot Keys

The following hot keys are used to facilitate faster access to Creative Mixer:

Hot Key	Action
<Alt+F4>	Quits Creative Mixer.
<Ctrl+I>	Displays Creative Mixer in Minimum view.
<Ctrl+U>	Displays Creative Mixer in Custom view.
<Ctrl+E>	Displays Creative Mixer in Expanded view.
<Ctrl+T>	Displays Title bar.
<Ctrl+F>	Launches Preference dialog box.
<Ctrl+P>	Shows audio sources in a form of palette.
<Alt+V>	Switches to Mixer Volume Control.
<Alt+R>	Switches to Mixer Recording Control.
<F1>	Displays on-line help about Creative Mixer.
<Ctrl+R>	Resets the Input and Output Gains, Treble, Bass, and Balance controls to hardware default settings.


Command line processing

The following command line switches are supported by the application:

Switch	Description
/t	Loads Creative Mixer to the Taskbar


The application launches and quits immediately without giving any error messages

This is probably due to the missing application resource DLL file MIXRES32.DLL from the application directory. Try locating the file and move it to the same directory as the application. If you cannot find the file in your system, reinstall the application.


Error Messages

OLE initialization failed. Make sure that the OLE libraries are the correct version.

Creative Mixer could not load the CTRES32.DLL file.  Ensure that the file is present in the correct path in your system.

Auxiliary/Mixer device driver is not loaded.

The wave device required by the LED display is already in use.  Wait until it is free and try again.

Not enough memory (RAM) for LED display!


OLE initialization failed. Make sure that the OLE libraries are the correct version.

Cause:

The player supports OLE 2.0 Automation and requires the OLE libraries to run.

Solution:

Try running the application again. If it fails again, the OLE libraries in your system are not the correct version or missing. Try installing the application again.


Creative Mixer could not load the CTRES32.DLL file.  Ensure that the file is present in the correct path in your system.

Cause:

The Creative Mixer needs this file for displaying the About Box.  This file is either missing or not found in the correct path.

Solution:

Ensure that the CTRES32.DLL is present in your system.  Place the file in the same directory as WIN.COM.


Auxiliary/Mixer device driver is not loaded.

Causes:

1.	The SB16SND.DRV driver is not found in the system.

2.	The SB16SND.DRV driver is not loaded into the system by Win95 during bootup.

Solution:

1.	Make sure the SB16SND.DRV driver is in the system.  Place this file in the same directory as your WIN.COM.

2.	Instruct Win95 to load the SB16SND.DRV driver into the system through the SYSTEM applet found in the Control Panel.


The wave device required by the LED display is already in use.  Wait until it is free and try again.

Cause:

The wave device in the sound card can only serve one application at a time.  The LED display, which needs the signals from wave device to generate the displays, is unable to acquire the wave device if another application is already using it.

Solution:

Close the application that is currently using the wave device and activate the LED Display.


Not enough memory (RAM) for LED display!

Cause:

The LED display requires a certain amount of memory (RAM) to function.

Solution:

Free some memory by closing other active applications and try activating the LED display again.


Programming the Creative Mixer - Programming the Creative Mixer
Programming the Creative Mixer

You can create your own application to control the Mixer through OLE Automation. Below documents the Mixer application object that is exported by the application. The type library file CTAUTO.TLB is supplied with the application.

Mixer Object

The following table shows the properties that are exposed by the Mixer application:

Properties

Property name	Return type	Access	Description
Application	Application object	Read-only	Returns the application object.
FullName	String	Read-only	Returns the file specification, including path, for the application.
Name	String	Read-only	Returns the name of the application.
Parent	Application object	Read-only	Returns the application object.
Visible	Bool	Read-write	Sets or returns whether the application is visible.
The following table shows the methods that are exposed by the Mixer application:

Methods

Method name	Return type	Parameters	Description
Quit	None	None	Exits the application.
ctmixerGetMaxVolume	BOOL	nControlTypeID, nDeviceID, nMixerID, *pnVolLevel	Gets the maximum volume level of an auxiliary device.
ctmixerGetMute	BOOL	nControlTypeID, nDeviceID, nMixerID, *pbState	Checks whether  the volume of an auxiliary device is muted.
ctmixerSetMute	BOOL	nControlTypeID, nDeviceID, nMixerID, bState	Mutes or un-mutes the volume of an auxiliary device.
ctmixerGetNumberOfMixers	long	None	Gets the number of mixer devices available in the system.
ctmixerGetName	BSTR	nMixerID	Gets the name of the mixer device.
ctmixerGetVolume	BOOL	nControlTypeID, nDeviceID, nMixerID, *pnLeftVolLevel, *pnRightVolLevel	Gets the volume level of an auxiliary device.
ctmixerSetVolume	BOOL	nControlTypeID, nDeviceID, nMixerID, nLeftVolLevel, nRightVolLevel	Sets the volume level of an auxiliary device.
ctmixerIsStereo	BOOL	nControlTypeID, nDeviceID, nMixerID	Checks whether an auxiliary device is stereo or mono.
ctmixerGetOutputGain	BOOL	nMixerID, *pnLeftGain, *pnRightGain	Checks the Output Gain level.
ctmixerSetOutputGain	BOOL	nMixerID, nLeftGain, nRightGain	Sets the Output Gain level.
ctmixerGetInputGain	BOOL	nMixerID, *pnLeftGain, *pnRightGain	Checks the Input Gain level.
ctmixerSetInputGain	BOOL	nMixerID, nLeftGain, nRightGain	Sets the Input Gain level.
ctmixerGetAGC	BOOL	nMixerID, *pbAGCOn	Checks whether the Automatic Gain Control is On.
ctmixerSetAGC	BOOL	nMixerID, bAGCOn	Switches On or Off the Automatic Gain Control.


Glossary of Terms

Treble

Bass

Balance

Power Off Button

Minimize Button

Recording Controls Button

Volume Controls Button

Show/Hide LED Display Button

Minimum View Button

Custom View Button

Expanded View Button

LED On/Off Check Button

Show/Hide Mixer Controls Check Button

Normal Spectrum Mode Radio Button

Peak Hold Spectrum Mode Radio Button

Peak Decay Spectrum Mode Radio Button

Normal Spectrum Mode

Peak Hold Spectrum Mode

Peak Decay Spectrum Mode

Volume Mute Check Button

Volume Slider

Volume Balance Slider

Recording Check Button

Recording Level Slider

Recording Balance Slider

Preference Dialog OK Button

Preference Dialog Cancel Button

Preference Dialog Help Button

Preference Dialog Custom View List Box

Preference Dialog Balance Control Check Box

Preference Dialog Balloon Help Check Box

Preference Dialog Save Settings On Exit Check Box

I/O Setting Dialog Input Source Group

I/O Setting Dialog Left In Group

I/O Setting Dialog Right In Group

I/O Setting Input Gain Group

I/O Setting Output Gain Group

I/O Setting Automatic Gain Control

Volume Auxiliary Device Indicator

Recording Auxiliary Device Indicator

VU Display Mode

Scope Display Mode

Spectrum Display Mode

ctmixerGetMaxVolume

ctmixerGetMute

ctmixerSetMute

ctmixerGetName

ctmixerGetVolume

ctmixerSetVolume

ctmixerIsStereo

ctmixerGetOutputGain

ctmixerSetOutputGain

ctmixerGetInputGain

ctmixerSetInputGain

ctmixerGetAGC

ctmixerSetAGC


Treble

The higher range of sound frequencies for audio output.


Bass

The lower range of sound frequencies for audio output.


Balance

The amount of volume sent to the right and left speakers. When the slider thumb is situated in the middle of the Balance Control slider, equal distribution is given to the left and right speakers. This can be quickly achieved by double-clicking the slider thumb.


Power Off Button

Exits Creative Mixer.


Minimize Button

Minimizes the Creative Mixer


Recording Controls Button

Switches the Volume Control to the Recording Control interface.  This button is only available in Volume Control.


Volume Controls Button

Switches the Recording Control to the Volume Control interface.  This button is only available in Recording Control.


Show/Hide LED Display Button

Shows or hides the LED Display Unit.


Minimum View Button

Switches the current interface to the Minimum View. The Minimum View displays a single selectable auxiliary device.


Custom View Button

Switches the current interface to the Custom View. The Custom View displays the auxiliary devices that are selected in the Preferences dialog.


Expanded View Button

Switches the current interface to the Expanded View. The Expanded View displays all the auxiliary devices that are available on the sound card.


LED On/Off Check Button

Activates the LED Display.  If the LED Display is switched Off, the displays for the playback signals will not function.


Show/Hide Mixer Controls Check Button

Displays or hides the mixer controls.


Normal Spectrum Mode Radio Button

Selects the Normal Spectrum Mode.


Peak Hold Spectrum Mode Radio Button

Selects the Peak Hold Spectrum Mode.


Peak Decay Spectrum Mode Radio Button

Selects the Peak Decay Spectrum Mode.


Normal Spectrum Mode

Displays the normal frequency spectrum of the playback signal.


Peak Hold Spectrum Mode

In this mode, each frequency band has a Peak Indicator. The Peak Indicator indicates the peak level reached by that frequency band for a short specified time interval.  During this interval, if the band peaks to an even higher level, the indicator will shift to this new level.  If not, the indicator drops to the highest level the band is at on the interval's expiry.


Peak Decay Spectrum Mode

Like the Peak Hold Spectrum Mode, each frequency band has a Peak Indicator. In this mode, the Peak Indicator upon peaking, will drop gradually down the band.  It will continue to drop until the band peaks to a higher level than the indicator's most current position.  The indicator will then reflect this new peak level for a moment before it starts to drop again.


Volume Mute Check Button

Allows you to muted or un-muted the volume of the auxiliary device.


Volume Slider

Allows you set the output volume of an auxiliary device.


Volume Balance Slider

Allows you to balance the output volume of an auxiliary device.


Recording Check Button

Lets you select the device for recording.


Recording Level Slider

Allows you to control the loudness of the input volume for an auxiliary device.


Recording Balance Slider

Allows you to balance the input volume for an auxiliary device.


Preference Dialog OK Button

Exits the Preferences Dialog Box. Any selection made is effected.


Preference Dialog Cancel Button

Exits the Preferences Dialog Box.  Any selection made is discarded.


Preference Dialog Help Button

Displays the on-line help facility.


Preference Dialog Custom View List Box

Lists all the Auxiliary Devices available on the audio card.  You can select the devices you want to be displayed in the Custom View mode from this list box.


Preference Dialog Balance Control Check Box

Allows you to hide or show the balance controls on the mixer interfaces.


Preference Dialog Balloon Help Check Box

Allows you to enable or disable balloon help in Creative Mixer.


Preference Dialog Save Settings On Exit Check Box

Saves the most current configurations and settings of the Creative Mixer upon exiting the application.


I/O Setting Dialog Input Source Group

Lets you select the input recording sources.


I/O Setting Dialog Left In Group

Depicts the Left recording channel for recording sources.


I/O Setting Dialog Right In Group

Depicts the Right recording channel for recording sources.


I/O Setting Input Gain Group

Allows you to adjust the gain levels for the left and right recording channels by clicking the spin button.  The higher the level, the louder is the volume for the input auxiliary device.

The highest gain level is 4 and the lowest gain level is 1.


I/O Setting Output Gain Group

Allows you to adjust the gain levels for the left and right output channels by clicking the spin button. The higher the level, the louder is the volume for the output auxiliary device.

The highest gain level is 4 and the lowest gain level is 1.


I/O Setting Automatic Gain Control

Automatically adjusts the input from the microphone to a level suitable for recording.


Volume Auxiliary Device Indicator

Indicates the types of auxiliary device in the Volume Control. In the Minimum View, the Auxiliary Device Indicator changes its appearance by having a Cyan foreground and a Black background. This is to indicate that the Auxiliary Device Indicator is mouse-click sensitive and you can display the Device Palette by clicking on it. The Device Palette is for selecting the device to control.


Recording Auxiliary Device Indicator

Indicates the types of auxiliary device recording sources in the Recording Control.  The red dot on the top left-hand corner of the Recording Auxiliary Device Indicator differentiates the Recording Control auxiliary devices from the Volume Control auxiliary devices. In Minimum View, the Recording Auxiliary Device Indicator changes its appearance by having a Cyan foreground and a Black background.  This is to indicate that the Recording Auxiliary Device Indicator is mouse-click sensitive and you can display the Device Palette by clicking on it. The Device Palette is for selecting the device to control.


VU Display Mode

Displays the playback signal levels of the Left and Right channels.


Scope Display Mode

Displays the amplitude against time relation for play back signal.


Spectrum Display Mode

Displays the frequency spectrum of the play back signal.  Eight frequency bands are available.  The bands represent:

0 - 155Hz	(Leftmost Band)

155Hz - 310Hz

310Hz - 625Hz

625Hz - 1.25kHz

1.25kHz - 2.5kHz

2.5kHz - 5kHz

5kHz - 10kHz

10kHz - 20kHz	(Rightmost Band)

The Spectrum Display Mode has three sub-display modes:

•	Normal Spectrum Mode

•	Peak Hold Spectrum Mode

•	Peak Decay Spectrum Mode

Note:

This display mode is not available for Sound Blaster Pro card.


ctmixerGetMaxVolume

ctmixerGetMaxVolume(long nControlTypeID,  long nDeviceID,
long nMixerID, long FAR* pnVolLevel)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the auxiliary device type.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pnVolLevel	A pointer to the buffer where the maximum volume level is to be received.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerGetMute

ctmixerGetMute(long nControlTypeID, long nDeviceID,
long nMixerID, VARIANT_BOOL FAR* pbState)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the auxiliary device type.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pbState	A pointer to the buffer where the mute state is to be received.  TRUE for muted and FALSE for un-muted.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerSetMute

ctmixerSetMute(long nControlTypeID, long nDeviceID,
long nMixerID, BOOL bState)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the auxiliary device type.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

bState	Specifies whether a device is muted.  TRUE for mute and FALSE for un-mute.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerGetName

ctmixerGetName(long nMixerID)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

Return:

The name of the mixer device.


ctmixerGetVolume

ctmixerGetVolume(long nControlTypeID, long nDeviceID, long nMixerID,
long FAR* pnLeftVolLevel, long FAR* pnRightVolLevel)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the auxiliary device type.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pnLeftVolLevel	A pointer to the buffer where the volume of the left channel is to be received.

pnRightVolLevel	A pointer to the buffer where the volume of the right channel is to be received.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerSetVolume

ctmixerSetVolume(long nControlTypeID, long nDeviceID, long nMixerID,
long nLeftVolLevel, long nRightVolLevel)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the type of auxiliary device.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

nLeftVolLevel	Specifies the volume level setting for the left channel.

nRightVolLevel	Specifies the volume level setting for the right channel.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerIsStereo

ctmixerIsStereo(long nControlTypeID, long nDeviceID, long nMixerID)

Parameters:

nControlTypeID	Specifies the controlling nature of an auxiliary device.  Initialize the parameter to 21 for Playback auxiliary devices and 22 for Recording auxiliary devices.

nDeviceID	Specifies the auxiliary device type.

Initialize the parameter to:
1	for Master Volume
2	for Treble
3	for Bass
4	for Wave
5	for MIDI
6	for Compact Disc
7	for Line
8	for Microphone
9	for PC Speaker

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerGetOutputGain

ctmixerGetOutputGain(long nMixerID, long FAR* pnLeftGain, long FAR* pnRightGain)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pnLeftGain	A pointer to the buffer where the Playback gain level of the left channel is to be received.

pnRightGain	A pointer to the buffer where the Playback gain level of the right channel is to be received.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerSetOutputGain

ctmixerSetOutputGain(long nMixerID, long nLeftGain, long nRightGain)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

nLeftGain	Specifies the Playback gain level setting for the left channel.

nRightGain	Specifies the Playback gain level setting for the right channel.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerGetInputGain

ctmixerGetInputGain(long nMixerID, long FAR* pnLeftGain, long FAR* pnRightGain)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pnLeftGain	A pointer to the buffer where the Recording gain level of the left channel is to be received.

pnRightGain	A pointer to the buffer where the Recording gain level of the right channel is to be received.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerSetInputGain

ctmixerSetInputGain(long nMixerID, long nLeftGain, long nRightGain)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

nLeftGain	Specifies the Recording gain level setting for the left channel.

nRightGain	Specifies the Recording gain level setting for the right channel.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerGetAGC

ctmixerGetAGC(long nMixerID, VARIANT_BOOL FAR* pbAGCOn)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

pbAGCOn	A pointer to the buffer where the Automatic Gain Control status is to be received.  TRUE for On and FALSE for Off.

Return:

TRUE if the operation is successful, otherwise FALSE.


ctmixerSetAGC

ctmixerSetAGC(long nMixerID, BOOL bAGCOn)

Parameters:

nMixerID	Specifies the identifier for a mixer device.  This number can be in the range of zero to one less than the value returned by ctmixerGetNumberOfMixers().

bAGCOn	Specifies the Automatic Gain Control status.  TRUE for On and FALSE for Off.

Return:

TRUE if the operation is successful, otherwise FALSE.