In 2004 Intel introduced a new High Definition audio system specification to replace the ageing AC’97 system. They called this the HDA (High Definition Audio) system, and was designed to be compatible with the Microsoft UAA (Universal Audio Architecture) present in contemporary Windows operating systems, and which offers a unified interface to applications requiring sound services.
Improvements over the old design include support for multi-
Much of the HDA and UAA documentation deals with the digital and interface details, there is little clue of how the mixer/codec hardware is configured, which is the main subject we are interested in. So, I am basing my presentation here on information gleaned from hardware data sheets published by Realtek, one of the most popular manufacturers of the HDA mixer/codec chip. There are several versions of the chip available, each varying by the number of I/O channels supported, and the number of A/D and D/A converters they contain, but their architecture is basically similar. Other manufacturers may have their own hardware implementation but, to comply with the HDA specification, the functionality must be the same. I have based my generic schematic diagram on a basic 5.1 channel capability with one digital (S/PDIF) output -
The routing of signals through the mixer/codec are handled by digitally-
Play controls -
These are the play-
Record Control -
It appears from the Audio Manager that there is no separate volume control for inputs, just Mute buttons. There is, however an overall recording volume control, which precedes the A/D converter.
Stereo Mix -
This is a control that appears as part of the recording settings. When it is enabled, everything that you hear out of the (front) speakers is available for recording. This means that it is possible to mix various inputs (analogue and digital) and adjust their individual levels and balance using the Play controls, and record the result to the PC.
Initially I thought this mode may have been handled digitally but, since the speaker volume control affects the recording level, it is most likely that it is the mixer/codec hardware that provides it -
It seems that recent PCs, especially with Win7 and later operating systems, have the Stereo Mix facility disabled as a result of pressure from the entertainment industry enforcing Digital Rights Management. There is much to read on this topic in forums on the web, with advice on methods to overcome the problem and recommendations for applications to download which bypass the block.
Each of the I/O jacks is equipped with an isolated switch which detects when a plug is inserted. When detected, you can choose from a list the type of device plugged in, be it an input or an output. The configuration is remembered, and the routing and amplification of signals adjusted accordingly.
The sensing and encoding of the jack’s states is carried out on the motherboard by the parallel combination of resistors connected to each jack’s switch. It is the resulting value of resistance that is read by the mixer/codec chip which gives the clue as to which jacks are occupied. The maximum number of jacks is 8, and this is divided up into 2 sets of 4, so there are two resistance-
Not all motherboards support this facility however, and some restrict sensing to only the front-
This contains buffers, amplifiers and switches to allow jacks to be either inputs or outputs. There is also the possibility of looping the output back to the input, which is used when Stereo Mix is selected. This routing is only available when the output chosen is for front speakers.
When headphones are chosen for an output, a headphone amplifier is switched in which provides enough power to drive headphones of about 32 ohms impedance.
There is usually an option in the Audio Manager to suppress speaker outputs when headphones are plugged in.
To illuminate the above discussions, click on the buttons below to highlight how they relate in the schematic diagrams.
A second click will remove the highlight.
|My Favourite Software|
|My Ultimaker 2 Mods|