Bruners wrote:- Code: Select all
From 9a30ded6e65e0d9b7beefbf6128d2bfd0853a0b8 Mon Sep 17 00:00:00 2001
From: Lasse Brun <bruners@gmail.com>
Date: Sun, 17 Mar 2013 01:10:42 +0100
Subject: [PATCH] Add HDAudio codec for ALC899
---
kernel/drv/oss_hdaudio/hdaudio_codecids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/drv/oss_hdaudio/hdaudio_codecids.h b/kernel/drv/oss_hdaudio/hdaudio_codecids.h
index 22e6c70..853f458 100644
--- a/kernel/drv/oss_hdaudio/hdaudio_codecids.h
+++ b/kernel/drv/oss_hdaudio/hdaudio_codecids.h
@@ -846,6 +846,7 @@ static const codec_desc_t codecs[] = {
{0x10ec0888, "ALC888", VF_ALC88X_HACK, (char **) &alc883remap},
{0x10ec0889, "ALC889", VF_ALC88X_HACK, (char **) &alc883remap},
{0x10ec0892, "ALC892", VF_ALC88X_HACK, (char **) &alc883remap},
+ {0x10ec0899, "ALC899", VF_ALC88X_HACK, (char **) &alc883remap},
/* CMedia HDA codecs */
{0x13f69880, "CMI9880", VF_NONE, (char **) &cmi9880remap},
--
1.8.1.5
Does
HW mixing work with your ALC899 codec?
It deserves a try.
It turned out that even "backwarded" Intel HDA codecs are capable of HW mixing (as well as "ultra backwarded" Intel AC'97 Audio Codecs), although, of course, it may not always work with buggy drivers, or "very advanced open-source crap" (ALSA).
I am now testing ALC887 codec (Intel HDA):
- Code: Select all
$ ossmix
Selected mixer 0/High Definition Audio ALC887
$ lspci -vnn
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Giga-byte Technology Device [1458:a002]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at f7e10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: oss_hdaudio
Kernel modules: snd-hda-intel
Although ALC887 is neither "supreme" nor "advanced", it does support
HW mixing with OSS4.
HW mixing can be enabled/disabled in ossxmix with a mouse click.
You can record the so-called "total mixed output" (playback + mic)
viewtopic.php?f=3&t=4656http://en.wikipedia.org/wiki/Hardware_mixingHW mixing is easy to detect:
1. Plug a microphone into your PC.
2. Speak into the microphone (but do not run any recording software).
3. Try different settings in ossxmix.
If you hear your voice in the speakers, it means that
HW mixing is enabled.