[OpenBIOS] r487 - dev/geode/ac97
svn at openbios.org
svn at openbios.org
Mon Jul 23 21:34:43 CEST 2007
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
More information about the OpenBIOS
mailing list