Intel High Definition Audio

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Intel High Definition Audio (also called HD Audio or Azalia) refers to the specification released by Intel in 2004[1] for delivering high-definition audio that is capable of playing back more channels at higher quality than previous integrated audio codecs like AC'97. During development it had the codename "Azalia".

Hardware based on Intel HD Audio specifications is capable of delivering 192-kHz 32-bit quality for two channels, and 96-kHz 32-bit for up to eight channels.[citation needed] However, as of 2008, most audio hardware manufacturers do not implement the full high-end specification, especially 32-bit sampling resolution.

Microsoft Windows XP SP3 and later Windows versions[2] include a Universal Audio Architecture (UAA) class driver which supports audio devices built to the HD Audio specification. There are UAA drivers for Windows 2000 and Windows XP SP2 as well. Mac OS X has full support with its AppleHDA driver. Linux also supports HD Audio controllers, as do the OpenSolaris,[3] FreeBSD,[4] NetBSD and OpenBSD[5] operating systems.

Like AC'97, HD Audio is a specification that defines the architecture, link frame format, and programming interfaces used by the controller on the PCI bus and by the codec on the other side of the link. Implementations of the host controller are available from at least Intel, Nvidia, and AMD.[6] Codecs which can be used with such controllers are available from many companies, including Realtek,[7] Conexant, Analog Devices (SoundMAX),[8] Integrated Device Technology (IDT) (acquired from SigmaTel), VIA, Wolfson Microelectronics, and formerly C-Media.

Front panel connector[edit]

Computer motherboards often provide a connector to bring microphone and headphone signals to the computer's front panel. Intel provides a specification for that header, but the signal assignments are different for AC'97 and HD Audio headers.[9]

The HDA 3.5 mm connectors differ from connectors used in AC'97 specification and general audio equipment. A regular 3.5 mm jack typically has one pin for ground, two pins for stereo signal and two pins for return signal.

The pin assignments for the AC'97 and HD Audio connectors are:[9]

Pin AC'97 signal AC'97 signal type HD Audio signal HD Audio signal type
1 MIC analog to MB PORT1 L analog to/from MB
2 AUD_GND ground GND ground
3 MIC BIAS bias power/analog to MB PORT1 R analog to/from MB
4 AUD_GND ground PRESENCE# digital to/from MB
(dongle present detection)
5 FP_OUT_R analog from MB PORT 2R analog to/from MB
6 FP_RETURN_R switched analog loopback to MB SENSE1_RETURN switched digital loopback to MB
(port 1 jack detection)
7 AUD_5V power SENSE_SEND digital from MB (loopback source)
8 KEY missing pin KEY missing pin
9 FP_OUT_L analog from MB PORT 2L analog to/from MB
10 FP_RETURN_L analog to MB SENSE2_RETURN switched digital loopback to MB
(port 2 jack detection)

In the AC'97 design, the audio output is sent to the jack. If the headphones are not plugged in, the jack directs the audio to the return pins that are connected to the speakers. When a headphone is plugged into the front panel jack, the audio signal goes to the headphones; the return pins are disconnected, so no audio signal goes to the speakers. Many motherboards with AC'97 audio need two jumpers to short the pins in case no front panel audio module is connected.[10]

HD Audio, instead of using the analog return-signal pins, features a digital sense signal connected to an isolated switch inside the headphone jack that detects when the headphone plug is inserted. When the plug is inserted, the isolated switch informs the motherboard, and the codec sends audio to the headphones. When the plug is not inserted, the codec sends the audio directly to the speakers (the audio does not go out to the front panel and then loop back to the speakers). A similar isolated switch is used to detect when a microphone has been plugged in.

HD Audio can sense the presence of an audio dongle.[11] A 10 kilohm pull-up resistor is attached to pin 4 (PRESENCE#). When the HDA dongle is plugged in, it pulls pin 4 to ground with a 1 kilohm resistor. The motherboard can determine if the dongle is plugged in by examining the logic level on pin 4. If the motherboard does not detect the presence of an HDA dongle, then it should ignore SENSE1_RETURN (pin 6) and SENSE2_RETURN (pin 10) signals. In AC'97, pins 2 and 4 are audio ground, but pin 4 is often disconnected. Consequently, an HDA motherboard would not detect the presence of an AC'97 dongle with a disconnected pin 4.

Intel warns that HDA dongles should be used with HDA motherboards:[12]

It is strongly recommended that motherboard designers only use Intel HD Audio analog front panel dongles with the Intel HD Audio analog front panel header to insure that the jack detection and dynamic re-tasking capability is preserved. Passive AC’97 analog front panel dongles (ones which leave the 5V Analog pin-7 line unconnected on the dongle) may be used with the Intel HD Audio analog front panel header. But note that the front panel jack detection and re-tasking functionality will be lost as the AC’97 jacks cannot support connection to the SENSE line. In addition, software must be aware that an AC’97 dongle is being used with an Intel HD Audio analog header since the software might need to dedicate codec ports that are connected to the header to meet the product’s intended functionality.

The different signal assignments can cause trouble when AC'97 front-panel dongles are used with HDA motherboards and vice versa. An AC'97 dongle returns audio on pins 6 and 10 rather than a digital plug sensing signals. Consequently, a loud audio passage may make the HDA motherboard with AC'97 dongle believe that headphones and microphones are being plugged and unplugged hundreds of times per second. An AC'97 motherboard with an HDA dongle will route the AC'97 5 V audio supply (pin 7; silence) to the speakers instead of the desired left and right audio signals.

To avoid this, some motherboards allow choosing between HDA and AC'97 front panels in the BIOS. Even though the actual audio hardware is HD Audio, it will allow using the AC'97 front panel that way. Likewise, some modern enclosures have both an "AC'97" and an "HDA" plug at the end of the front-panel audio cable.

References[edit]

External links[edit]