XTRA for the control of volume
in Director and Authorware
  All products | Description | Functions | Download | ►Order |
Novelties: XML Socket Server, XTRA dmmXLS

Description and possibilities of use
The control of volume is realized by the XTRA library. The library can work in all the MS Windows versions (95, 98, ME, NT, 2000, XP and 2003).

The library supports
• Director 8 and later
• Authorware 6 and later


22.09.2005   Version 2.0   Xtra dmm_volume has been renamed to dmmMix and it has been completely reworked. Names of the functions have been changed and so has been the way to call them. Dmm_volume for Authorware was offered as u32 library. Now it is in the XTRA shape.
01/02/2003   Version 1.7   The administration of memory was adjusted
15/12/2002   Version 1.6   Functions getSelect, setSelect were added
14/12/2002   Version 1.5   Functions getMute, setMute were added
16/11/2002   Version 1.4   The function iniVolume was renamed to regVolume
The function fadeTo was added
09/07/2002     Version 1.3     The function isSoundCard was added
02/04/2002   Version 1.2   Adjustment for Win2000 and WinXP was done
07/05/2001   Version 1.1   Adjustment for several non-standard sound cards
02/02/2001   Version 1.0   Foundation of the library

Possibilites of utilization
Because the control of MIXER in MS Windows is not well solved in any programming language or author tools, we´ve decided to develop on our own. You can see yourselves how successful we were. Control of volume is driven by the XTRA library. The library can work in all the MS Windows versions (95, 98, ME, NT, 2000, XP, 2003)

Specifications of functions-calling convention and description of functions
Producers of sound cards do not always observe constants of API Windows, which are allocated by Microsoft. We have found a way to solve this serious problem so that our library can work with most of the sound cards. If you find any problem, we will be grateful if you describe it so that we are able to solve it. The best way is to download the programme Test (223 kB), which will read the information about your sound card, will save it to the file RTF. You may send it to us with a description of your troubles enclosed. Then we will be able to add your sound card to our XTRA library.


  Our XTRA library needn´t control all the possible channels or controlling elements of sound cards. We tried to include the important channels and controlling functions, which can be used in multimedia applications.
  Not all sound cards and their drivers include the channels and controlling elements implemented by us. In that case the function does nothing and furthermore it doesn´t show any error warning.
  With some sound cards it is possible that one controlling element affects more channels- for example microphone for playing and for recording only uses one control. It is not an error of the library, it is a feature of the concrete sound card and its driver.
  Recommendations for usage of MUTE and SELECT. If you want to be sure you did your best to make the selected channel run,you should choose the channel and switch off its MUTE.
• setSelect(channel,true)
• setMute(channel,false)
  The SELECT controlling element behaves differently than the other elements, which are always channel independent. With some sound cards the SELECT element is used as a Check Box.It means that it behaves as independently as MUTE (it is possible to use more than one channel at the same time). It is more often that it works as RadioButton, which means you cannot use two or more channels at the same time.If you choose one channel the previous one is switched off immediately. The chosen channel can only be switched off by choosing another channel.


  © Studio dmm 1992-2008, all rights reserved, other information regarding our components: software@dmm.cz