使用Expression Encoder SDK进行屏幕录制时如何识别音频设备类型 [英] How to identify audio device type when screen recording with Expression Encoder SDK

查看:91
本文介绍了使用Expression Encoder SDK进行屏幕录制时如何识别音频设备类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

根据Expression Encoder SDK的屏幕录制示例, "" EncoderDevices.FindDevices(EncoderDeviceType.Audio)"返回所有可用的音频输入设备。

According to screen recording sample of Expression Encoder SDK, "EncoderDevices.FindDevices(EncoderDeviceType.Audio)" returns all avaiable audio input devices.

但是,返回的集合包含麦克风和系统音频。

However, the returned collection contains both microphones and system audio.

如何识别是否有音频设备该集合是麦克风还是系统音频?

How can I identify whether a audio device in the collection is microphone or system audio exactly?

(当然,可以使用设备名称,但有时很难通过名称识别设备类型。所以,我认为它是不是一个好的解决方案。)

(Of course, device name can be used, but sometimes it is hard to identify device type by its name. So, I think that it is not a good solution.)

祝你好运。

推荐答案

我知道这是一个老问题,但我想我会为那些看到这个问题的人发布一个答案相同的问题。

I know this is an old question but I thought I would post an answer for those who see this and have the same question.


  • EncoderDevice.Category属性
  • EncoderDevice.Category Property

http://msdn.microsoft.com/ en-us / library / microsoft.expression.encoder.devices.encoderdevice.category(v = expression.40).aspx

-J


这篇关于使用Expression Encoder SDK进行屏幕录制时如何识别音频设备类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆