This module allows developers to manage programmatically the audio hardware configuration. You can obtain a list of audio devices currently available to the system and retrieve and/or set (if applicable) parameters related to general audio hardware characteristics.
As the methods implemented by this class rely on the CoreAudio framework, using this class requires QuickTime 7.0 or later and MacOS X 10.3 or later.
Note that the error values returned by these methods could represent four char codes entities instead of simple integer values. This being the case, you can use the class to obtain the string representation of these codes.
Since version 6.7 of the plugin this module can be used in Console Applications
(byref err as integer)
as
use this method to find about the
currently available to the system;
(byref err as integer)
as
use this method to get or set the device used for audio input tasks. You can use every device returned by the
method that has the
property set to true
(byref err as integer)
as
use this method to get or set the device used for audio output tasks. You can use every device returned by the
method that has the
property set to true
(byref err as integer)
as
use this method to get or set the device to use for system related sound from the alert sound to digital call progress.
You can use every device returned by the
method that has the
property set to true
(byref err as integer)
as boolean
use this method to determine if the audio of the process will be heard
(byref err as integer,
[scalar as boolean])
as
if applicable, use this method to find about the minimum and maximum values the boot chime control can have. If the scalar parameter
is set to true (the default value), the effective values range from
0.0 to 1.0 the
property is set to
100.0 so you have percent values. If the scalar parameter
is set to false, the range returned represents the minimum and maximum dB values the boot chime control can have
(byref err as integer)
as double
if applicable, use this method to manage the current volume of the boot chime control. You can use scalar values included in the
returned by the
module method with
the scalar parameter set to true. Note that this method requires values ranging from
0.0 to 1.0
(byref err as integer)
as double
if applicable, use this method to manage the current volume of the boot chime control. This method requires you specify
the volume value in dB. Suitable values are those included in the
returned by the
module method with
the scalar parameter set to false