Set wave in device for this class instance.
function SetWaveInDevice(Index: Cardinal): Integer;
Parameters |
Description |
Index: Cardinal |
Index of wave in 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 play 2 songs, each song on different soundcard.
Default wave output 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 |