Author: wmb Date: Wed Sep 28 03:00:13 2011 New Revision: 2541 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2541
Log: WAV playing - defer freeing the WAV DMA buffer to prevent spurious sounds caused by later actions overwriting the buffer.
Modified: cpu/x86/adpcm.fth
Modified: cpu/x86/adpcm.fth ============================================================================== --- cpu/x86/adpcm.fth Wed Sep 28 02:57:26 2011 (r2540) +++ cpu/x86/adpcm.fth Wed Sep 28 03:00:13 2011 (r2541) @@ -392,8 +392,9 @@ h# 11 of play-ima-adpcm endof ( default ) ." Cannot play .wav format type: " dup .wav-cc true swap cr endcase - \ audio-ih close-dev - free-wav + + \ We can't do this here because we may overlap the playing with other startup steps + \ audio-ih close-dev free-wav ;
: ($play-wav) ( file-str -- )
openfirmware@openfirmware.info