OS/2, eCS & ArcaOS - Technical > Hardware
Trying to understand unimix.exe
Martin Iturbide:
Hi. Finally I got some time and computer time to try this. Also, now I even think I have a solid dual boot Win10/ArcaOS on this machine.
--- Quote from: Tom on June 15, 2020, 02:02:16 am ---
Create a file named (for example) volumecontrol.cmd with contents
unimix -id3 -cnt0 -val%1 -cnt1 -val%1
and call it with (for example)
volumecontrol 44
--- End quote ---
Tom, I tried your suggestion. It shows me an error but it reduced the volume to "44".
Here it is the error:
--- Code: ---[C:\]unimix -id3 -cnt0 -val44 -cnt1 -val44
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Setting Adapter: 0, ID:3, cnt:0, val:44...Success
Setting Adapter: 0, ID:3, cnt:1, val:44...Success
--- End code ---
Everything works to the "87" value, if I go 88 or higher I get a different error.
--- Code: ---[C:\]unimix -id3 -cnt0 -val88 -cnt1 -val88
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter
Setting Adapter: 0, ID:3, cnt:0, val:88...Failed
Setting Adapter: 0, ID:3, cnt:1, val:88...Failed
--- End code ---
It is a good progress, but I will keep trying the other options.
Regards
I will keep testing.
Martin Iturbide:
Hi
I used:
--- Quote ---DEVICE=C:\MMOS2\UNIAUD32.SYS /A:1
--- End quote ---
Rebooted and produced no sound to me.
I change it to:
--- Quote ---DEVICE=C:\MMOS2\UNIAUD32.SYS /A:0
--- End quote ---
Rebooted and source got back again.
The rexx script "volumecontrol 44" also works and no longer gave me the "Error: invalid number of PCM instances for adapter 1"
I guess it is good. I will try Paul's latest driver next.
Thanks for the feedback.
Regards
Martin Iturbide:
--- Quote from: Pete on June 15, 2020, 03:17:36 am ---Try Pauls later versions of uniaud to see if more controls become available - these show more controls on my system http://smedley.id.au/tmp/uniaud32-linux-3.5.zip
--- End quote ---
I just tried this Uniaud version using the same "DEVICE=C:\MMOS2\UNIAUD32.SYS /A:0"
Sound works, but I had lost volume control with unimix.
Regards
Tom:
--- Quote from: Martin Iturbide on July 09, 2020, 06:41:54 pm ---Everything works to the "87" value, if I go 88 or higher I get a different error.
--- Code: ---[C:\]unimix -id3 -cnt0 -val88 -cnt1 -val88
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter
Setting Adapter: 0, ID:3, cnt:0, val:88...Failed
Setting Adapter: 0, ID:3, cnt:1, val:88...Failed
--- End code ---
--- End quote ---
The maximum value to be used is 87, hence trying to set the volume to 88 fails.
(that maximum is listed in your earlier post that showed the output of unimix -list)
Tom:
--- Quote from: Martin Iturbide on July 09, 2020, 07:19:27 pm ---
--- Quote from: Pete on June 15, 2020, 03:17:36 am ---Try Pauls later versions of uniaud to see if more controls become available - these show more controls on my system http://smedley.id.au/tmp/uniaud32-linux-3.5.zip
--- End quote ---
I just tried this Uniaud version using the same "DEVICE=C:\MMOS2\UNIAUD32.SYS /A:0"
Sound works, but I had lost volume control with unimix.
Regards
--- End quote ---
Try again unimix -list and search the output for "Master Playback Volume". Which id does it have?
If it is (for example) id2, then in volumecontrol.cmd change id3 into id2 and see if volume control works again this way.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version