OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Multimedia => Topic started by: KO Myung-Hun 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.
-
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,
-
Oh, good!
If it works, I recommend to use UNIAUD mode with setting KAI_AUTOMODE=UNIAUD. UNIAUD mode is more stable than DART mode.
-
Ko,
How do we use the setting KAI_AUTOMODE=UNIAUD? Is that an environment variable?
-
It's an environment variable.
-
Thanks
-
Anyone care to tell us how to do the environmental variable?
-
Anyone care to tell us how to do the environmental variable?
set KAI_AUTOMODE=UNIAUD
in your config.sys
-
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.
-
Hello
I tried first on my VirtualBox VM ArcaOS 5.1 Guest, (ICH AC97), with the following UniAud driver.
-- [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:
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
-
Hi
I also tried with Paul's experimental driver:
[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
-
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\.
-
Hi
What do you mean by 'no difference'? Both has no problems or both has problems?
Both has no problems.
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
-
Hi/2.
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?
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.
-
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
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