Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Mplayer with fixed ao wss problems - my "kludgy" solution (Announce)

posted by Doug E-mail, 25.01.2012, 18:06

Please note: This post refers to Khusraw's first "fix"... not the most-recent one in the post immediately above.

Ok, i found a "kludgy" solution. The issue seems similar to those i had in the recent "SOUND support in DOS | Piotr | HDA" thread.

I got the (first) MPlayer fix to play sound by independently enabling audio using ICHINIT.COM (not ICHINIT.EXE -- please see my "important note" below) and then running MPlayer with*out* ICH initialization:

mplayer -ao wss:dev=27 [filename]

27 was the only dev= value that worked. All others (including dev=26) disabled sound, even if the sound was previously working. And using dev=27 after that did nothing. The only way to get sound back was to run ICHINIT.COM again, then use dev=27 with MPlayer.

Also, the vol= parameter had no effect whatsoever -- whether maxed (vol=31) or mined (vol=0), the audio level was the same. Volume was only dependent on two ICHINIT.COM switches (/mo:#, /wo:#). In particular, setting /wo:1 gave similar results to my previous reporting (sound barely audible).

But i'm happy -- i can initialize audio using ICHINIT.COM in AUTOEXEC.BAT and set ao=wss:dev=27 in MPlayer's CONFIG file.

Important note: The ICHINIT.COM i'm referring to is the .ASM-source version from the Judas Player site. The ICHINIT.EXE C-source version does *not* initialize my system correctly! (This bug/regression was reported near the end of the previous "SOUND support in DOS | Piotr | HDA" thread by the Judas/ICHInit author.)

Dex's AC97CD.COM / TEST.COM programs also initialize my system audio properly... and even more loudly than using ICHINIT /MO:31 /WO:31! Dex kindly released the FASM source for the initialization-only code in the "SOUND support in DOS | Piotr | HDA" thread.

The ICHINIT.COM and asm source can be found at the bottom of this page in the .ZIP file:

http://www.piotrkn22.republika.pl/judas/index.html

Computer: IBM, P4, i801DB ICH4.

- Doug B.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 353 users online (0 registered, 353 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum