Page 36 of 66

Re: sound, SB, AC97 и другое

Posted: Sat Aug 09, 2008 6:00 pm
by hidnplayr
I have tested the card in Windows NT, and it works with this setup:

I/O address: 0x220
IRQ: 5
DMA channel: 1
DMA channel 16 bit: 5
MP401 I/O : 0x330

The DSP version was bigger then 4.0 for all cards

I have no sound at all, not for a sec too..

Edit: as for the VIBRA16:
detecting hardware...
DSP found at port 220h
DSP version 4.13 - SB16
succesfully attached IRQ5 as hardcoded
set_callback received from the mixer!
callback handler is: 0x80C34C00

Re: sound, SB, AC97 и другое

Posted: Mon Aug 11, 2008 5:02 pm
by Nable
to hidnplayr
Hm, very strange. Have you downloaded the last version that I've uploaded? Do you use the last Serge's player?
Also you can try the following thing (I've used it for debugging): find the interrupt acknowledge routine and insert there some code that outputs something to the debug board. But keep in mind that interrupt routine is called twice before start playing to prefill data buffer. If interrupt doesn't came - (but we see that it was called twice and no more) we use invalid IRQ number, or invalid dma channel.
And, almost forgotten, does the progress bar in player move?

Re: sound, SB, AC97 и другое

Posted: Mon Aug 11, 2008 6:06 pm
by hidnplayr
I tried to play music with the 'mini' program that comes with ufMOD
AC97SND from 0.7.1.0 crashes, and i dont know where to get the new version?

EDIT: AC97SND crashed because it needs more then 32Mb ram..

I tried using this version http://infinity-sound.narod.ru/ac97snd
With latest infinity.obj, and latest kernel on another computer now
It doesnt crash, but the progress bar doesnt move and i cant hear any sound ..

Re: sound, SB, AC97 и другое

Posted: Mon Aug 11, 2008 7:48 pm
by Serge
hidnplayr

This version is obsolete. See one from Kolibri ftp.

Re: sound, SB, AC97 и другое

Posted: Tue Aug 12, 2008 1:46 am
by hidnplayr
Still no sound, i'm going to check if the interrupt routine gets called tomorrow..
The progress bar isnt really moving either with this version of AC97SND btw

Re: sound, SB, AC97 и другое

Posted: Fri Aug 15, 2008 5:09 pm
by Nable
to hidnplayr
Here are files from my ramdrive (these files are involved into sound output). Try them.
If progress bar doesn't move - then driver doesn't ask new portions of data, reasons - incorrect IRQ and/or DMA setting in the driver. Try IRQ7 instead of IRQ5? if it doesn't help - return to IRQ5 and try DMA channel 6 or 7.

Re: sound, SB, AC97 и другое

Posted: Sat Aug 16, 2008 4:45 pm
by bw
Возможно кто-то решится перевести этот диалог на русский или в общем описать о чем идет речь.
Спасибо.

..bw

Re: sound, SB, AC97 и другое

Posted: Sun Aug 24, 2008 10:11 pm
by E-water
не перевели? или просто в личку скинули?

Re: sound, SB, AC97 и другое

Posted: Mon Aug 25, 2008 12:47 am
by bw
Нет.

..bw

Re: sound, SB, AC97 и другое

Posted: Mon Aug 25, 2008 2:16 am
by E-water
Попытался перевести

hidnplayr:
Я протестировал карту под Windows NT, и она работает с этими настройками:

I/O address: 0x220
IRQ: 5
DMA channel: 1
DMA channel 16 bit: 5
MP401 I/O : 0x330

DSP версия была больше(?) чем 4.0 для всех карт

все равно нету звука, для второй тоже...

Edit: как и для VIBRA16:

detecting hardware...
DSP found at port 220h
DSP version 4.13 - SB16
succesfully attached IRQ5 as hardcoded
set_callback received from the mixer!
callback handler is: 0x80C34C00

Nable:
hidnplayr'у
хм, очень странно. Вы скачали последние драйвера которые я залил? Вы используете последний плэер от Serge'а?
Так же вы можете попробовать это(я использовал это для отладки): найдите прерывание acknowledge routine и вставьте туда код который выведет что-нибудь на отладочную доску. Но учтите, что прерывание routine вызывается дважды перед проигрыванием звука, что бы наполнить буффер данных. Если прерывание не произойдет - (но мы видим, что оно было вызванно дважды и больше не вызывалось) мы используем неправильное IRQ число, или неправильный dma канал.
И еще, чуть не забыл, двигается ли progress bar?

hidnplayr:
Я попытался включить музыку с помошью 'мини' программы котороая идет с uFMOD
AC97SND от 0.7.1.0 вылетает(crash), и я не знаю где взять новую версию?

EDIT: AC97SND вылетает потому, что нужно больше чем 32Мб RAM

Я только что попытался использовать версию http://infinity-sound.narod.ru/ac97snd
С последней infinity.obj, и последним ядром на другом комьютере
не вылетает, но progress bar не двигается и я не слышу звука ..

Serge:
hidnplayr

Эта версия устарела. Смотрите ее на Kolibri ftp

hidnplayr:
До сих пор нету звука, я проверю завтра, вызывается ли прирывание routine..
progress bar действительно не двигается так же с этой версией AC97SND btw

NAble:
hidnplayr'у
тут файлы с моего рамдиска (эти файлы involved в вывод звука). Попробуйте их.
если progress bar не двигается - значит дравйвер не просит новую порцию данных, причины - неправильное IRQ и/или DMA настройки в драйвере.
Попробуйте IRQ7 вместо IRQ5? если это не поможет - вернитесь к IRQ5 и попробуйте DMA каннал 6 или 7

Re: sound, SB, AC97 и другое

Posted: Mon Aug 25, 2008 3:07 pm
by bw
Спасибо.

..bw

Re: sound, SB, AC97 и другое

Posted: Tue Sep 02, 2008 10:00 pm
by hidnplayr
To Nable:

Today, I have found the time to test your files.. they dont work either!
Maybe it has something to do with my bios settings for IRQ's with ISA or so, it has lots of settings :)

Re: sound, SB, AC97 и другое

Posted: Tue Sep 09, 2008 3:02 pm
by Nable
to hidnplayr
I'm so sorry... I really don't know what's with your computer...

Re: sound, SB, AC97 и другое

Posted: Mon Feb 02, 2009 3:09 pm
by diamond
Проигрывание через SB16 вылетает в qemu. Причём вылетает не сразу, а после примерно полуминуты от начала проигрывания (запускал несколько раз, разброс места вылета в несколько секунд). Тестировалось на K0750 с последним ядром. Снимки доски отладки прилагаю.

Re: sound, SB, AC97 и другое

Posted: Tue Feb 03, 2009 3:30 am
by Serge
diamond

А если конвертировать в wav вылетает ?