vcloopback.pxs

来自「Voice Communicator (VC) 一套处理音频压缩的的控件包」· PXS 代码 · 共 47 行

PXS
47
字号

{
	vcLoopback demo script.
	Use with VC 2.5 Pro Scriptor component.

	Copyright (c) 2002-2005 Lake of Soft, Ltd
	All rights reserved

	http://lakeofsoft.com/vc/
}

{===================================================

	Loopback Demo.

        SCRIPT INFORMATION:

	This simple script demonstrates how to create
	recording and playback devices and link
	them together. Soundcard must support full-duplex
	mode for this demo to work.

	Press Execute button to execute the script.
	Press Clear button to destroy the components.

====================================================}

// it is a good idea to clear the components list before doing a new job.

clear;


// -- create devices --

waveIn = TunavclWaveInDevice;
waveOut = TunavclWaveOutDevice;

// -- link components --

waveIn.consumer = waveOut;

// -- activate devices --

waveIn.active = true;

// -- EOF --

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?