Changeset 190


Ignore:
Timestamp:
Jun 29, 2024, 11:49:45 PM (14 months ago)
Author:
gyoung
Message:

Add midiplayer ini key since ab.exe fails to play midi fles

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_audio/cwaudio.c

    r186 r190  
    30283028             provided one.
    30293029             */
    3030           PrfQueryProfileString(HINI_USERPROFILE, "CWMM", "audioplayer", chrPlayer, chrPlayer,sizeof(chrPlayer));
     3030          if(!_somIsA(somSelf, somGetSomClass("MMMIDI")))
     3031            PrfQueryProfileString(HINI_USERPROFILE, "CWMM", "audioplayer", chrPlayer, chrPlayer,sizeof(chrPlayer));
     3032          else
     3033             PrfQueryProfileString(HINI_USERPROFILE, "CWMM", "midiplayer", chrPlayer, chrPlayer,sizeof(chrPlayer));
    30313034          chrPtr++;
    30323035          ulSize=sizeof(chrParams)-2;
  • trunk/mediafolder/prog_tutorial/hiddenfeatures.inc

    r182 r190  
    1515the WPS doesn't crash anymore.
    1616
     17:h2 res=429
     18x=50% width=50%
     19group=2
     20.Replace midi player
     21:p.
     22The default audio/midi player coming with CWMM may be replaced by adding the
     23following key to OS2.INI:
     24:p.
     25:hp2.CWMM->midiplayer-><path to new player>:ehp2.
     26:nt.You don't have to provide the full path if the program is in your PATH. The program must be a PM program!
     27IBM's ab.exe fails with a 5051 error trying to play midi files. The default internal
     28player now works. The only extenal player I know works is FM2play.exe. This only
     29replaces the play for Midi files not other audio formats
     30:ent.
     31:p.
     32Even if a new program isn't specified in the INI file the classes improve the default
     33behavior by not starting the player as part of the WPS process. So if the player crashes
     34the WPS doesn't crash anymore.
     35
    1736:h2 res=425
    1837x=50% width=50%
     
    2544:hp2.CWMM->audioconverter-><path to new player>:ehp2.
    2645:nt.You don't have to provide the full path if the program is in your PATH. The program must be a PM program!
    27 The converter is not started as part of the WPS process.
     46The converter is not started as part of the WPS process. The is not used by Midi files.
    2847:ent.
    2948
     
    4362Even if a new program isn't specified in the INI file the classes improve the default
    4463behavior by not starting the editor as part of the WPS process. So if the editor crashes
    45 the WPS doesn't crash anymore.
     64the WPS doesn't crash anymore. The editor is not used by Midi files.
    4665
    4766
  • trunk/mediafolder/prog_tutorial/mediafldrprog.ipf

    r168 r190  
    504504:ul.
    505505:li.:link reftype=hd res=410.Replace audio player:elink.
     506:li.:link reftype=hd res=429.Replace midi player:elink.
    506507:li.:link reftype=hd res=425.Replace audio converter:elink.
    507508:li.:link reftype=hd res=411.Replace audio editor:elink.
Note: See TracChangeset for help on using the changeset viewer.