windows - What is [not] an audio endpoint? -
selectively quoting blog piece entitled what's audio endpoint 1 of chief architects of post-xp windows audio system:
- an endpoint "piece of plastic" (hopefully wires in it) "to users relate" such "the microphone or headset connected laptop".
which sounds great. except on every desktop machine have ever used in past 15 years, there has been microphone , line-in input jack, , exist (at least in mind) equal status. user, relate "pieces of plastic" connect line-in jack. audio endpoint me. trouble is:
- when use
immdeviceenumerator
,immdevicecollction
discover devices on desktop machine, , use microsoft's own example code (e.g. "capturesharedtimerdriven" audio sample in microsoft's sdk) list microphone endpoint.
so if line-in jack not audio endpoint, it, how access it, set volume on it, , on? how can make application use (exclusively) when user has selected microphone default endpoint?
partial (and perplexing) answer: possible microphone listed audio endpoint when there nothing connected microphone jack, line-in input might listed , confirm legitimate audio endpoint when there device physically connected line-in jack. makes no obvious sense, nonetheless way things are... @ least on machine.
Comments
Post a Comment