Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Experimental Mplayer build from SVN (Announce)

posted by RayeR Homepage, CZ, 12.09.2010, 00:11
(edited by RayeR on 12.09.2010, 02:08)

> Download from
> http://ompldr.org/vNWliZQ.
> There is no vidix library, and the objects should be statically linked. The
> mtrr code does nothing (i.e. there is still no vidix code for the setting
> of mtrrs under DOS). You may add support for whatever sound card you want
> in wss.

Thanks. I'm trying to recompile it with main() enabled and found a small bug:
wss.c: In function 'w_get_actual_sample_rate':
wss.c:5365: warning: the address of 'get_played_sample_count' will never be NULL

this is already declared function so it doesn't make sense to compare it's pointer with NULL
if (get_played_sample_count != 0)
GCC 4.x has just smarter code analysis so produce more -Walls :)
Maybe author wanted to do something different (it makes sense for a variable)

I'm also disappointed there are very few comments...

UPDATE:
I tried to add SB live in intel AC97 section but it didn't went so far. It was detected, IO BASE0 was found but IO BASE1 was not set so it displayed that chip is disabled. When I removed this check (just4fun) it looked like trying to play something but any buffer pointer did not incremented. The same for SB Emu driver and trying SB types - all detected but nothing works. Hm seems that AC97 is not strict standard and would need specific SB code. It's beyond my knowledges as I didn't any programming of sound...

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

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