News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

uniaud.dll test

Started by KO Myung-Hun, February 03, 2025, 05:35:06 AM

Previous topic - Next topic

KO Myung-Hun

Hi/2.

If you are using Uniaud audio drivers, test the attached dll, please.

This should fix the ugly audio problems such as choppy, stutterring and distorted when using UNIAUD APIs directly not DART interface.

To use UNIAUD APIs, you should unset KAI_AUTOMODE or set KAI_AUTOMODE=UNIAUD.

You can use MPlayer or VLC to test.

David McKenna

 A quick test with VLC playing some MP3 files using the Uniaud audio interface and it seems to work well. Thanks! I'll keep this installed and let you know if any problems appear...

Regards,

KO Myung-Hun

Oh, good!

If it works, I recommend to use UNIAUD mode with setting KAI_AUTOMODE=UNIAUD. UNIAUD mode is more stable than DART mode.

Doug Clark

Ko,

How do we use the setting KAI_AUTOMODE=UNIAUD?   Is that an environment variable?

Dave Yeo

It's an environment variable.

Doug Clark


Eugene Tucker

Anyone care to tell us how to do the environmental variable?

Tom

Quote from: Eugene Tucker on February 05, 2025, 02:40:45 PM
Anyone care to tell us how to do the environmental variable?

set KAI_AUTOMODE=UNIAUD

in your config.sys

Jochen Schäfer

Quote from: Tom on February 05, 2025, 02:58:04 PM
Quote from: Eugene Tucker on February 05, 2025, 02:40:45 PM
Anyone care to tell us how to do the environmental variable?

set KAI_AUTOMODE=UNIAUD

in your config.sys
Or, for testing, just enter set KAI_AUTOMODE=UNIAUD on a CMD prompt, and start your program from the same prompt.

Martin Iturbide

#9
Hello

I tried first on my VirtualBox VM ArcaOS 5.1 Guest, (ICH AC97), with the following UniAud driver.
Quote
-- [C:\mmos2]bldlevel uniaud32.sys
(C) Copyright IBM Corporation 1993-2001
Signature:       @#D Azarewicz:3.01.03#@##1## 23 Oct 2021 12:39:40     DAZAR1
:5.14.7:::03::SVN707@@Universal Audio Driver for OS/2 (c) 2021 D Azarewicz
Vendor:          D Azarewicz
Revision:        3.01.03
Date/Time:       23 Oct 2021 12:39:40
Build Machine:   DAZAR1
ASD Feature ID:  5.14.7
FixPak Version:  SVN707
File Version:    3.1.3
Description:     Universal Audio Driver for OS/2 (c) 2021 D Azarewicz

1) In my case I changed the config.sys to:
Quote
REM SET KAI_AUTOMODE=DART
SET KAI_AUTOMODE=UNIAUD

2) Replaced the old C:\MMOS2\DLL\UNIAUD.DLL to the new one.

3) Rebooted.

I can not find any difference, but maybe it is me, I'm not good appreciating audio quality and I don't complain too much about audio cracking. Any other feedback is welcome.

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

Hi

I also tried with Paul's experimental driver:

Quote
[C:\mmos2]bldlevel uniaud32.sys
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#Netlabs www.netlabs.org:3.01.01#@##1## 1 Sep 2024 18:26:22
   SMEDLES   :6.1.107:::01::SVN@@Universal Audio Driver for OS/2 (c)  Netlabs ww
w.netlabs.org
Vendor:          Netlabs www.netlabs.org
Revision:        3.01
Date/Time:       1 Sep 2024 18:26:22
Build Machine:   SMEDLES
ASD Feature ID:  6.1.107
FixPak Version:  SVN
File Version:    3.1.1
Description:     Universal Audio Driver for OS/2 (c)  Netlabs www.netlabs.org


Also, no difference. Any suggestion of what sound can produce annoying cracking to see if I can experience it ?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

KO Myung-Hun

What do you mean by 'no difference'? Both has no problems or both has problems?

How did you test?

You can use the attached program for test like:


kaidemo wav-file 2


'2' means UNIAUD mode.

You can use any *.wav files in \MMOS2\SOUNDS\.

Martin Iturbide

Hi
Quote from: KO Myung-Hun on February 06, 2025, 09:17:41 AM
What do you mean by 'no difference'? Both has no problems or both has problems?
Both has no problems.

QuoteHow did you test?
I test it by running a .mp4 file and applause.wav. Before changing the DLL and after. In my case I hear no difference changing the DLL or not. But my issue is that I had never been someone that can appreciate the sound fidelity of audio at low level.

I tried kaidemo.
- https://youtu.be/z-fIzcGf7-M
It sound to me like a pause in applause.wav. But I don't see any difference on the system sound.

I think we need somebody else to try this. I will check this on real hardware (not the vm) possible on the weekend.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

KO Myung-Hun

Hi/2.

Quote from: Martin Iturbide on February 06, 2025, 02:46:19 PM

QuoteHow did you test?
I test it by running a .mp4 file and applause.wav. Before changing the DLL and after. In my case I hear no difference changing the DLL or not. But my issue is that I had never been someone that can appreciate the sound fidelity of audio at low level.

What's your player to play a .mp4 file and applause.wav?

Quote
I tried kaidemo.
- https://youtu.be/z-fIzcGf7-M
It sound to me like a pause in applause.wav. But I don't see any difference on the system sound.

System sounds don't use Uniaud APIs at all. Testing with it is irrelavant.

You should test with apps using Uniaud APIs such as MPlayer, VLC, fluidsynth, KMP and so on.

To test with kaidemo correctly, do like:


1. Run kaidemo with the original uniaud.dll.
2. Replace the original uniaud.dll with the new uniaud.dll. You don't have to reboot.
3. Then, run kaidemo again.


Nevertheless if there are no differences, you're lucky. It's fine to use the original uniaud.dll.

Martin Iturbide

Hi
Quote from: KO Myung-Hun on February 06, 2025, 03:30:22 PM
What's your player to play a .mp4 file and applause.wav?
I tested the MP4 with VLC. I found no audio changes with the test uniaud.dll

Quote


1. Run kaidemo with the original uniaud.dll.
2. Replace the original uniaud.dll with the new uniaud.dll. You don't have to reboot.
3. Then, run kaidemo again.


Nevertheless if there are no differences, you're lucky. It's fine to use the original uniaud.dll.
Thanks for this instructions. I had tried it with kaidemo, and I hear no difference between the two .DLL. I guess I'm lucky here.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.