开发者

How to Check if the Mic is Plugged/Unplugged

开发者 https://www.devze.com 2023-03-27 03:07 出处:网络
How to check if the microphone is plugged/unplugged usin开发者_运维知识库g Delphi?function WaveInDevicePresent: boolean;

How to check if the microphone is plugged/unplugged usin开发者_运维知识库g Delphi?


function WaveInDevicePresent: boolean;
begin
  result := waveInGetNumDevs > 0;
end;

(uses MMSystem)

0

精彩评论

暂无评论...
验证码 换一张
取 消