Parameter iInputPinIndex 0 - adjust the background music. 1 - adjust the selected audio pin. It may Microphone or PC Speaker. It is depend the value of audioinputpin property.
iSecond the delay time in seconds.
Return Value true - successful, otherwise return false.
Example
|
Visual Basic Syntax KaraokeMixer1 .MixerLoadBgAudio "c:\music.mp3" KaraokeMixer1 .MixerEnable true KaraokeMixer1 .MixerAddDelay 1, 1 KaraokeMixer1 .OutputType =2 KaraokeMixer1 .AudioDevice=0 KaraokeMixer1 .AudioInputPin = 0 KaraokeMixer1 .AudioFileName = "c:\test.mp3" KaraokeMixer1 .Start KaraokeMixer1 .MixerSetVolume 0, 0.5 ' set the volume of music.mp3 file
|
|