什么是[不]音频终点? [英] What is [not] an audio endpoint?

查看:376
本文介绍了什么是[不]音频终点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

选择性引用题为博客一块什么是音频终端通过后Windows XP的音频系统的首席架构师之一:

Selectively quoting a blog piece entitled What's an audio endpoint by one of the chief architects of the post-XP Windows audio system:


  • 的端点是一块塑料(希望在它的一些电线)对哪些用户关系,如连接到您的笔记本电脑的麦克风或耳机。

这听起来很不错。除每个台式机上,我曾经在过去的15年使用,出现了一个麦克风和Line-In输入插孔,它们的存在(在我的脑海至少)具有同等的地位。作为用户,我强烈地涉及到塑胶件我连接到线路输入插孔。他们当然看起来非常像一个音频终端给我。麻烦的是:

Which sounds great. Except that on every desktop machine I have ever used in the past 15 years, there has been a microphone AND a line-in input jack, and they exist (at least in my mind) with equal status. As a user, I strongly relate to "pieces of plastic" I connect to the line-in jack. They certainly look very much like an audio endpoint to me. The trouble is:


  • 当我使用 IMMDeviceEnumerator IMMDeviceCollction 来发现我的台式机上的设备,并使用微软自己的例子code到这样做(例如,在微软的SDK中的CaptureSharedTimerDriven音频采样),他们只列出麦克风作为终点。

  • When I use IMMDeviceEnumerator and IMMDeviceCollction to discover the devices on my desktop machine, and use Microsoft's own example code to do so (e.g. the "CaptureSharedTimerDriven" audio sample in Microsoft's SDK) they only list the microphone as an endpoint.

所以,如果我输入插孔不是音频终端,它是什么,我怎么访问它,设置音量就可以了,等等?我怎样才能使一个应用程序中使用它(只),即使用户选择了话筒作为默认的终点?

So if my line-in jack is NOT an audio endpoint, what is it, how do I access it, set the volume on it, and so on? How can I make an application use it (exclusively) even when a user has selected the microphone as the default endpoint?

推荐答案

部分(和困惑)答:这是可能的麦克风被列为即使没有任何连接到麦克风插孔的音频终端,而是一个线在输入可能只列出并确认它本身作为一个合法的音频端点时存在物理连接到线路输入插孔的设备。这使得没有明显的感觉,但仍然是事物的方式是......至少我的机器上。

Partial (and perplexing) answer: it is possible for a microphone to be listed as an audio endpoint even when there is nothing connected to the microphone jack, but a line-in input might only be listed and confirm itself as a legitimate audio endpoint when there is a device physically connected to the line-in jack. This makes no obvious sense, but is nonetheless the way things are... at least on my machine.

这篇关于什么是[不]音频终点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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