Retrieves the capabilities of a specified waveform-audio input device.
function GetWaveInInfo(Index: Cardinal; out WaveInInfo: TWaveInInfo): Integer;
Parameters |
Description |
Index: Cardinal |
Index of wave in device. Call EnumerateWaveIn to get number of wave in devices. |
out WaveInInfo: TWaveInInfo |
Reference to TWaveInInfo. User must allocate memory for this structure. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
var I: Integer; J: Integer; WaveInInfo: TWaveInInfo; begin i := player.EnumerateWaveIn; for j:= 0 to i - 1 do begin player.GetWaveInInfo(j, WaveInInfo); MessageBox(0, PANsiChar(WaveIntinfo.ProductName), 'Info' ,0); end; end;
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |