[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbios
Subject:    [OpenBIOS] r487 - dev/geode/ac97
From:       svn () openbios ! org
Date:       2007-07-23 19:34:43
Message-ID: 200707231935.l6NJZ9pD024338 () dommarcmx ! xen ! 10east ! com
[Download RAW message or body]

Author: wmb
Date: 2007-07-23 21:34:43 +0200 (Mon, 23 Jul 2007)
New Revision: 487

Modified:
   dev/geode/ac97/ac97.fth
Log:
AC97 audio driver - added a 30 ms delay after turning on the amplifier,
thus ensuring that the amp is actually on before starting send it audio.


Modified: dev/geode/ac97/ac97.fth
===================================================================
--- dev/geode/ac97/ac97.fth	2007-07-23 19:32:55 UTC (rev 486)
+++ dev/geode/ac97/ac97.fth	2007-07-23 19:34:43 UTC (rev 487)
@@ -215,7 +215,7 @@
 : codec-set  ( bitmask reg# -- )  dup >r codec@ or  r> codec!  ;
 : codec-clr  ( bitmask reg# -- )  dup >r codec@ swap invert and  r> codec!  ;
 : amplifier-on   ( -- )
-   h# 8000 h# 26  amp-default-on?  if  codec-clr  else  codec-set  then
+   h# 8000 h# 26  amp-default-on?  if  codec-clr  else  codec-set  then  d# 30 ms
 ;
 : amplifier-off  ( -- )
    h# 8000 h# 26  amp-default-on?  if  codec-set  else  codec-clr  then


-- 
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic