libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay::SetWaveInDevice Method

Set wave out input for this class instance.

C++
bool SetWaveInDevice(System::UInt32 Index);
Parameters 
Description 
System::UInt32 Index 
Index of wave input device. Call EnumerateWaveIn to get number of wave in devices. Index value is in range from 0 to num_of_devices - 1.
Note: There is special index value TWaveInMapper
Return Values 
Description 
True 
All OK. 
False 
Error. To get error message read here

User can specify wave input device for each interface instance. If you have multiple soundcards, with this function you can specify input soundcard. You can also create 2 interface instances and record 2 songs, each song on different soundcard. 

Default wave input is set to TWaveInMapper (class is using waveform-audio input device capable of recording the given format).

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr