![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 20:31 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS媒体世界 & 网络技术 (多媒体室) » AC97 DOS wav/mp3 playing program |
| Printable Version 3,413 / 4 |
| Floor1 winson4829 | Posted 2008-10-11 15:31 |
| 初级用户 Posts 17 Credits 68 | |
|
AC97 playback program under DOS for .WAV/.MP3, supports Intel ICH? And VIA 868/8233 and some SIS and AMD AC97 chips.
http://upload.cn-dos.net/img/919.zip The AC97 control of this program is referenced from the WSS.C program, and the MP3 decoder is modified from the almp3 library in the allegro library (www.allegro.cc) This is what I accepted the commission for, for a game platform exclusive to a certain TV Game company (using Intel 852). The final thing to develop is an AC97 Sound library using djgpp with the allegro library. This playback program is just to verify the function. When this program is played on an Intel ICH motherboard, it can correctly set the samples rate (44.1K), but on VIA 868/8233, the samples rate cannot be adjusted and can only be played at 48000, which will make the music play faster. Some people will ask why not write an SB-compatible driver. My answer is impossible. If your motherboard does not provide an SB-compatible mode, it is absolutely impossible to write an SB-compatible driver. The reason is that the standard Control I/O of SB is assumed to be 0x220, and all control codes will be sent to this port address. If the motherboard has no compatible SB controller to process at this address, there will be no action at all. Also, IRQ/DMA and TSR are all easy to achieve, but.... still no negotiation... If the motherboard does not provide an SB-compatible mode |
|
| Floor2 DOSforever | Posted 2008-10-12 16:20 |
| 金牌会员 Posts 2,239 Credits 4,639 | |
|
Thanks for sharing
|
|
| Floor3 pancheng | Posted 2008-11-25 22:04 |
| 新手上路 Posts 3 Credits 10 | |
| Floor4 tufeiabcd | Posted 2008-12-16 14:54 |
| 初级用户 Posts 25 Credits 46 | |
|
Although I don't understand, I'll support it.
|
|
| Floor5 du265458 | Posted 2009-02-07 17:08 |
| 新手上路 Posts 1 Credits 2 | |
|
I saw this post earlier, I wouldn't have gone around such a big bend.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |