Please have a look at Example #1, that's the code to perform the action of starting a recording session in an axtivex known as Active Sound Recorder. Example #1 shows the same task in Visual Basic, C++ then XBasic.
Example #2 is the code to start the VU Meter visualization, But unlike Example #1, this code is not a method, it falls under Constants, How would you write this code in XBasic?
Example #3, to make some of the codes like in Example #2 work, a line like Example #3 has to be somewhere in the script, doesnt seem like it matters where exactly. A5 doesn't accept it as is, how would you write this one also?
Example #1
[Visual Basic]
control.StartFromDirectSoundDevice (
nInputDevice as integer,
nInputChannel as integer,
strOutputPath as string
) as enumErrorCodes
[C++]
short control.StartFromDirectSoundDevice (
short nInputDevice,
short nInputChannel,
LPCTSTR strOutputPath
);
Alpha Five
topparent:ACTIVEX1.activex.StartFromDirectSoundDevice(0,4,"C:\Test.mp3")
Example #2
Type
CVUMeter for Visual C++
ACTIVESOUNDRECORDERLib.VUMeter for Visual Basic
This property is Read-only
Syntax
object.VUMeter [=ACTIVESOUNDRECORDERLib.VUMeter]
Remarks
The embedded VU-Meter object (Visual Feedback).
This property encapsulates the functionality of the VUMeter object and the IVUMeter COM interface.
Example #3
#include "ActiveSoundRecorder.h"
Please help me out guys, I've been battling with this for about 5 years now.
Example #2 is the code to start the VU Meter visualization, But unlike Example #1, this code is not a method, it falls under Constants, How would you write this code in XBasic?
Example #3, to make some of the codes like in Example #2 work, a line like Example #3 has to be somewhere in the script, doesnt seem like it matters where exactly. A5 doesn't accept it as is, how would you write this one also?
Example #1
[Visual Basic]
control.StartFromDirectSoundDevice (
nInputDevice as integer,
nInputChannel as integer,
strOutputPath as string
) as enumErrorCodes
[C++]
short control.StartFromDirectSoundDevice (
short nInputDevice,
short nInputChannel,
LPCTSTR strOutputPath
);
Alpha Five
topparent:ACTIVEX1.activex.StartFromDirectSoundDevice(0,4,"C:\Test.mp3")
Example #2
Type
CVUMeter for Visual C++
ACTIVESOUNDRECORDERLib.VUMeter for Visual Basic
This property is Read-only
Syntax
object.VUMeter [=ACTIVESOUNDRECORDERLib.VUMeter]
Remarks
The embedded VU-Meter object (Visual Feedback).
This property encapsulates the functionality of the VUMeter object and the IVUMeter COM interface.
Example #3
#include "ActiveSoundRecorder.h"
Please help me out guys, I've been battling with this for about 5 years now.
Comment