|
GetFileQuality
Sets the
Quality
property to the quality of the WAV file specified by the
FileName
property.
After issuing this method you will be able to query the
Quality
property and retrieve the format of the file.
PlayBackPause
Pauses the playback of the
loaded media file.
StartPlaying([PlayLooped
As Boolean])
Starts playing the WAV file
specified in the FileName property.
Optionally you can call the
method with the PlayLooped parameter set as True and the loaded
file will be looped until stopped by issuing the
StopPlaying
method.
StartRecording([Seconds as
Long], [Overwrite As Boolean = False]) As Boolean
Starts recording the audio being
captured.
You can optionally pass an argument, Seconds, specifying the
maximum number of seconds to be recorded.
If the file you're going to
record to does not exist the control will create it.
If the file already exists, the control will append the recorded
data to the end of the file unless the second parameter is set
to True.
Before starting to record, you
must start monitoring, with the StartVU
method.
The method returns True is the control was able to start
monitoring and False otherwise.
StartVU
Starts monitoring the audio
levels of the selected input control.
To select a recording control,
open your Windows Mixer (by double clicking the small yellow
speaker on the tray area of your taskbar) select
Options->Properties from the menu and choose Recording. Then,
click OK. Now, choose from the available lines which one should
be used as a recording source.
If you wish to provide such
functionality right into your application, you could use the
EQPro ActiveX control which is an interface to the Windows's
mixer API. For more information, you can visit EQPro's web site
at:
http://software.xfx.net/activex/eq/index.html
StopPlaying
Stops playing the WAV file
specified by the FileName property.
StopRecording
Stops the recording process and
saves the audio to the file specified in the
FileName
property.
StopVU
Stops the audio monitoring.
|