Author Topic: uniaud.dll test  (Read 4231 times)

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +11/-0
    • View Profile
uniaud.dll test
« on: February 03, 2025, 05:35:06 am »
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

  • Hero Member
  • *****
  • Posts: 862
  • Karma: +30/-0
    • View Profile
Re: uniaud.dll test
« Reply #1 on: February 03, 2025, 12:03:41 pm »
 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

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +11/-0
    • View Profile
Re: uniaud.dll test
« Reply #2 on: February 04, 2025, 04:37:56 am »
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

  • Sr. Member
  • ****
  • Posts: 356
  • Karma: +11/-1
    • View Profile
Re: uniaud.dll test
« Reply #3 on: February 04, 2025, 06:36:32 am »
Ko,

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5216
  • Karma: +120/-1
    • View Profile
Re: uniaud.dll test
« Reply #4 on: February 04, 2025, 07:26:13 am »
It's an environment variable.

Doug Clark

  • Sr. Member
  • ****
  • Posts: 356
  • Karma: +11/-1
    • View Profile
Re: uniaud.dll test
« Reply #5 on: February 05, 2025, 05:47:13 am »
Thanks

Eugene Tucker

  • Sr. Member
  • ****
  • Posts: 406
  • Karma: +15/-0
    • View Profile
Re: uniaud.dll test
« Reply #6 on: February 05, 2025, 02:40:45 pm »
Anyone care to tell us how to do the environmental variable?

Tom

  • Full Member
  • ***
  • Posts: 218
  • Karma: +6/-0
    • View Profile
Re: uniaud.dll test
« Reply #7 on: February 05, 2025, 02:58:04 pm »
Anyone care to tell us how to do the environmental variable?

set KAI_AUTOMODE=UNIAUD

in your config.sys

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 377
  • Karma: +29/-0
    • View Profile
Re: uniaud.dll test
« Reply #8 on: February 05, 2025, 05:12:53 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
Code: [Select]
set KAI_AUTOMODE=UNIAUD on a CMD prompt, and start your program from the same prompt.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5134
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: uniaud.dll test
« Reply #9 on: February 05, 2025, 06:41:27 pm »
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

« Last Edit: February 05, 2025, 06:44:59 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5134
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: uniaud.dll test
« Reply #10 on: February 05, 2025, 06:46:38 pm »
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

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +11/-0
    • View Profile
Re: uniaud.dll test
« Reply #11 on: February 06, 2025, 09:17:41 am »
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:

Code: [Select]
kaidemo wav-file 2

'2' means UNIAUD mode.

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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5134
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: uniaud.dll test
« Reply #12 on: February 06, 2025, 02:46:19 pm »
Hi
What do you mean by 'no difference'? Both has no problems or both has problems?
Both has no problems.

Quote
How 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

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +11/-0
    • View Profile
Re: uniaud.dll test
« Reply #13 on: February 06, 2025, 03:30:22 pm »
Hi/2.


Quote
How 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:

Code: [Select]
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

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5134
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: uniaud.dll test
« Reply #14 on: February 06, 2025, 06:41:49 pm »
Hi
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

Code: [Select]
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.