如何获取Windows&amp ;;的音频(声音)驱动程序/设备名称列表? MacOS X?
答案 0 :(得分:1)
如果您需要to record audio in FMX,请执行:
var
AudioCapture : TAudioCaptureDevice;
begin
// Get access to the default audio capture device
AudioCapture:= TCaptureDeviceManager.Current.DefaultAudioCaptureDevice;
if Assigned(AudioCapture) then
begin
//do something
end;
end;
请参阅:http://docwiki.embarcadero.com/Libraries/Seattle/en/FMX.Media.TAudioCaptureDevice
如果您想在FMX use TMediaPlayer
有关FMX中音频/视频服务的概述,请参阅:http://docwiki.embarcadero.com/RADStudio/Seattle/en/Audio-Video_in_FireMonkey