Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ian Manners

Pages: 1 2 [3] 4 5 ... 24
31
Applications / Re: VirtualBox 5.0.51 networking
« on: February 05, 2021, 08:02:50 am »
Hi Ivan,

In your x:\mptn\bin\setup.cmd file (you can do it from the TCP/IP setup panel but I havent used that for decades),
Add an alias for your other network, you will also have to add routing for the extra network.

Quote
ifconfig lan0 10.0.0.10 netmask 255.255.255.0  (any options you might be using go here)
ifconfig lan0 192.168.1.10 alias

route add default 10.0.0.1 -netmask 255.255.255.255
route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255

The extra lines are:-
   ifconfig lan0 192.168.1.10 alias
and
  route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255

Adjust 192.168.1.10 and the route 192.168.1.0 to 192.168.1.1 to your preference.

type route at a command prompt to show the help information.
Not sure if this will help going through the VBox interface but I see no reason for VBOX to clobber extra nets.

32
Applications / Re: Hpt path statement
« on: February 04, 2021, 04:13:27 pm »
Hi Rick,

Use the detach command.

   @detach example.exe 'parameters'

Be careful about where output may go. Some older programs do not like being detached.

33
Programming / Re: Compiling Tolower tool
« on: February 04, 2021, 04:08:37 pm »
This is the os2.h I use with watcom C

Code: [Select]
/*static char *SCCSID = "@(#)os2.h      6.6 92/03/15";*/
/****************************** Module Header ******************************\
*                                                                          *
* Copyright (c) 1987  - 1992 IBM Corporation                               *
*                                                                          *
* Module Name: OS2.H                                                       *
*                                                                          *
* This is the top level include file that includes all the files necessary *
* for writing an OS/2 application.                                         *
*                                                                          *
\***************************************************************************/

#ifndef __OS2_H__

/* NOINC */
#if __IBMC__ || __IBMCPP__
   #pragma info( none )
      #ifndef __CHKHDR__
         #pragma info( none )
      #endif
   #pragma info( restore )
#endif
#ifdef __cplusplus
      extern "C" {
#endif

#define __OS2_H__
/* INC */

#define OS2_INCLUDED

/* Common definitions */
#include <os2def.h>

/* OS/2 Base Include File */
#ifndef INCL_NOBASEAPI
   #include <bse.h>
#endif /* INCL_NOBASEAPI */

/* OS/2 Presentation Manager Include File */
#ifndef INCL_NOPMAPI
   #include <pm.h>
#endif /* INCL_NOPMAPI */

/* NOINC */
/* Open Scripting Architecture (OSA) Include File */
#ifdef INCL_OSAAPI
   #include <osa.h>
#endif /* INCL_OSAAPI */

#ifdef __cplusplus
        }
#endif
#if __IBMC__ || __IBMCPP__
   #pragma info( none )
      #ifndef __CHKHDR__
         #pragma info( restore )
      #endif
   #pragma info( restore )
#endif

/* OpenDoc for OS/2 Include File */
#ifdef __cplusplus
#ifdef INCL_ODAPI
   #include <od.h>
#endif /* INCL_ODAPI */
#endif
/* INC */

#endif /* __OS2__ */

As an example.

34
Multimedia / Re: Updated Uniaud32 build
« on: January 31, 2021, 11:45:28 am »
Hi Paul,

uniaud32-linux-5.10.11-20210131.zip
Installed, logs attached, one taken directly after a fresh boot, the other after the fault condition.

If I'm playing an MP3 file using pm123, then play a system sound (test was moving emails in pmmail folders) or via the Sound panel in System Setup, the mp3 will keep playing for x number of seconds before going silent. After this event there is no mp3 or other audio output. I can get the mp3 audio back by restarting play (without restarting pm123) but the system sounds are gone for good. Before playing the mp3, system sounds worked fine.

Bit like the pm123 buffer can no longer pull data because OS/2 has control of the queue after attempting to play a system sound.

PS, Apart from that, it works fine :)

35
Multimedia / Re: Updated Uniaud32 build
« on: January 29, 2021, 10:21:50 am »
Hi Paul,

I think I'm looking at it from an Audio path perspective, your looking at it from a programming perspective :)

Programming how multiple streams are used and allocated and/or selecting a shared mode for inputs could very easily get complex in programming. Might be why the code was commented out as I suspect it would be easier to understand using a mixing console as a representation, a bit like how its done under Linux with Jack, Pulse Audio, and the MIDI connection PATCH panel which is neat. In the end it comes down to audio inputs from different physical and/or virtual sources, and what to do with them.

As Paul says, streams are to do with the inputs from the hardware, shared mode is the software side of it which I assume simply throws it altogether into the one L or R audio 'stream' as a basic software mixer. From what you've said this means that the shared mode is what is not working, and I've made the assumption that its all in the same code location.

I was thinking of also remming out Timidity and seeing how it worked with the MIDI drivers but haven't gone that far yet, now I think about the software, not sure if that's even important.

36
Multimedia / Re: Updated Uniaud32 build
« on: January 28, 2021, 04:02:04 pm »
Hi Martin,

Speaking only for me, yes, I would say the issue is related if not the same. Though I'm not angry about it :)
I think the system sounds issue is also part of the same issue, ie, there is no input mixing happening.
As to a MM application resuming audio, or having to restart it I think would depend on the programming behind that application.

PS, same issue, installed Daniel's Mahjongg - also 100% CPU after pm123 audio stops about 5 seconds after starting Mahjongg. When I quit Mahjongg, take about another 5 seconds then pm123 audio starts again. Tried it a second time, pm123 is still playing ok start Mahjongg but there is no sound from Mahjongg.

37
Multimedia / Re: Updated Uniaud32 build
« on: January 28, 2021, 09:36:12 am »
I see what Alexander means about mutistream not working.
I normally only play multimedia one at a time :)
If I play an mp3, or a movie via mplayer, then try to play something via pm123 I get "MCI Error 5613: Insufficient buffer size specified."
If I stop mplayer then pm123 works fine.
If I start playing music via pm123, then start something in mplayer, mplayer doesnt complain it just doesnt make any sound.

Tried it with uniaud32-20210128-Alexander.zip and there is no difference.
Log attached.

PS, I'm using uniaud16.sys (dated 25th Jun 2017, revision 1.09.7) which I assumed is the latest 16 driver.
PPS, thought I would try system sounds again. They work fine until I use pm123 or another mm application, then they nolonger work - ever. If I warm boot then test the system sounds (works), then start pm123, click on the system sounds Test button, I get no system sound. If I click a second time on the Test button, the audio from pm123 stops. To get audio back for pm123 I need to restart pm123. <== with uniaud32-20210128-Alexander.zip

38
Multimedia / Re: Updated Uniaud32 build
« on: January 26, 2021, 08:24:59 am »
Hi Paul,

I have one report (and can confirm on a T60 locally) of sound not working after a warm boot (ie ctrl-alt-del or setboot /b). The T60 has Analog Devices HDA hardware. I'm wondering if anyone else is seeing similar behaviour. Sound works 100% of the time after a cold boot.

Both
  uniaud32-linux-5.10.10-20210124.zip and
  uniaud32-linux-5.10.10-20210126.zip
work fine here from cold and warm boots at least with SB Audigy 4 [SB0610].

39
Multimedia / Re: Updated Uniaud32 build
« on: January 23, 2021, 04:50:07 am »
one simple example is to mix in system notifications with a mp3 stream, rather than the annoying pause the mp3, play the system sound, resume the mp3 behaviour.

Interesting, I forgot all about system sounds, do not think I've had those turned on since the later 90's.
I clicked on the 'Enable system sounds', clicked on Play (for test sound) button and got a sound with an MP3 still playin in pm123 ok but the second time I did it there was no sound, and the MP3 though still playing was silent. I could stop, and restart playing the MP3 but nothing I could do from then on resulted in any sounds. I unticked 'Enable system sounds', exited, closed pm123, then restarted pm123 and had audio back again. I find it interesting that I was able to at least play a system sound once without affecting the mp3 stream so there appears to be some sort of mixing happening though broken. This is with the SB Audigy 4 [SB0610] card. Will find the time to do more experimenting later.

40
Multimedia / Re: Updated Uniaud32 build
« on: January 20, 2021, 11:28:32 am »
can someone tell me why we want to have 'mixing of channels'?

I'm wondering as well. I use two analog mixing consoles as I find real knobs easier to use and set, and if recent cards no longer have streams it means there is a limited audience for it.

In saying that :)

Paul, I'm happy to post you a SBLive PCI card at no cost to you. Not sure if that would help if your using a VPC.
alsa-sblive.log
 GetUniaudPcmCaps: cp1. pcm 0, phandle f5e0e4bc
  GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 32
  chan: from 1 to 2
 GetUniaudPcmCaps: cp1. pcm 0, phandle f5e0eee8
  GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 1
  chan: from 1 to 2

41
Applications / Re: OpenSource WishList
« on: January 19, 2021, 04:24:09 pm »
The GIMP
Inkscape
Audacity
R (Statistics, 3-D and dynamic graphics)

I'm still happy with ImageJ under OS/2 which I also use under Linux (Java based)

42
Multimedia / Re: Updated Uniaud32 build
« on: January 19, 2021, 03:39:06 pm »
Sorry, needs a debug driver....

Yep, I also figured that out on the 2nd card swap when I realised the logs didn't have much :o)
Lots of streams for you after I also swapped to the debug version :)
One Audigy card (Audigy SE [SB0570]) not checked as its in another computer at present.

43
Applications / Re: OpenOffice Spreadsheet charts
« on: January 18, 2021, 11:26:49 am »
Have not used the spreadsheets since upgrading AOO to v4.1.8, just opened up my spam stats, no changes made to the charts or the chart data but I did add a note to a separate column, saved the spreadsheet, exited, then opened that spreadsheet again and the charts are gone, just a blank space on each page.
So.. the problem is easy to verify.

Glad everything is backed up!

44
Multimedia / Re: Updated Uniaud32 build
« on: January 17, 2021, 01:28:27 pm »
uniaud32-linux-5.10.7-20210117.zip      Audio and mixer work well.

45
Multimedia / Re: Updated Uniaud32 build
« on: January 16, 2021, 11:20:07 am »
uniaud32-linux-5.10.7-20210116.zip

Works well here thanks
Mixer also still works well, as long as I remember to delete PMUniMix.ini after swapping cards..

Pages: 1 2 [3] 4 5 ... 24